MTA postfix

Kevin Miller kevin.miller at juneau.org
Mon May 16 20:12:49 UTC 2016


If MailScanner will just be the gateway, forwarding the inbound mail to internal servers/domains, you might want to look into LDAP.  In my setup, I accept mail for multiple domains, which are listed in /etc/postfix/transport. For example:
  Domain.org               smtp:[192.168.55.123]
  Domain.net              smtp:[192.168.55.123]
will forward mail for those domains to their respective internal servers.

In main.cf add the following:
  transport_maps = hash:/etc/postfix/transport

There are many ways to get LDAP info.  Use the tool that fits your environment and write the output to a text file.  Massage to suit (i.e., get rid of internal, non-public addresses, etc.) and write the list of valid users to /etc/postfix/relay_recipients then add the following to main.cf

  relay_recipient_maps = hash:/etc/postfix/relay_recipients

These are really more MTA (i.e. postfix) questions than MailScanner questions so it may be best to take additional questions to that mailing list.  Don’t mention that you’re running MailScanner over there – they will tell you that you’ll lose mail but there are many folks that are using MailScanner w/postfix w/o any issues.  Let your MTA filter out the invalid recipients, then only use MailScanner on those that are actual users.

Hope this helps.

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357

From: MailScanner [mailto:mailscanner-bounces+kevin.miller=juneau.org at lists.mailscanner.info] On Behalf Of Emre Keles
Sent: Monday, May 09, 2016 6:09 AM
To: MailScanner Discussion
Subject: Re: MTA postfix

postfix if you can handle the rest works as a proxy.

I want to run postfix transparent.

2016-05-09 16:51 GMT+03:00 John Wilcock <john at tradoc.fr<mailto:john at tradoc.fr>>:

It's hard to help with so little information.

And (no disrespect intended) the fact that you do not have good command of English does not help. Can you find a Turkish (?) postfix expert to help you? Or a colleague with better command of English who can help you express your questions more clearly?

Or [CALL TO OTHER READERS] is there somebody on this list who understands Turkish and who could advise you directly?

Best regards,
John
Le 09/05/2016 à 15:34, Emre Keleş a écrit :
I then briefly I would like to ask you the following .
I want to çalışitır postfix as a gateway .
MailScanner installed in machines that are gateways .

2016-05-09 15:48 GMT+03:00 John Wilcock <john at tradoc.fr<mailto:john at tradoc.fr>>:
Le 09/05/2016 à 14:28, Patrick Goupell a écrit :
If the current 100 domains are in a database, then export that table and import them into the mysql transport database.

Or, if the database is on the mailbox server and you don't want to run mysql on the MailScanner server at all, export the table and convert it into a postfix access table (simply appending ACCEPT to each domain name). And, of course, update this table whenever you add or remove domains.



--

John



--
MailScanner mailing list
mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>
http://lists.mailscanner.info/listinfo/mailscanner




--

Emre





--

John



--
MailScanner mailing list
mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>
http://lists.mailscanner.info/listinfo/mailscanner




--

Emre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20160516/f8c309cb/attachment.html>


More information about the MailScanner mailing list