From: Mike Morris (no email)
Date: Mon May 16 2005 - 00:17:15 EDT
Gentian Hila wrote:
> As you can understand postfix is serving as a relay for incoming
> emails, protecting an exchange server. I tried to configure
> relay_recipient_maps so it would reject all mail for non-existing
> users immediately.
> I followed the instructions of two guides:
>
> http://www2.origogeneris.com:4000/relay_recipients.html
>
> and
> http://postfix.state-of-mind.de/patrick.koetter/mailrelay/
>
> each of them provides a script in perl and vbscript respectively of
> how to export email addresses to a file. I called the file
> exchange_recipients and put it in /etc/postfix directory and then run
> postmatp /etc/postfix/exchange_recipients to create db file.
>
> I created the transport file /etc/postfix/smtproute
> which has the following content:
>
> mydomain.com smtp:isssrv01
> adaptive-tech.com smtp:isssrv01
> issapp01.iss.mydomain.com local
> issapp01.mydomain.com local
>
> where isssrv01 is the exchange server and issapp01 is the postfix
> box."mydomain" is instead of the real domain name.
>
> Of course I created a smtproute.db file by running postmap.
>
> Here is the main.cf config:
Post output of postconf -n and relevant sections of logs, but read below
first.
[snip]
>
> and here is the version of Postfix I am using:
>
> [root at issapp01 root]# postconf mail_version
> mail_version = Postfix-20010228-pl08
That version of Postfix is very old. The parameter relay_recipient_maps
was introduced in version 2.0, as is stated in the documentation.
>
> Every idea is appreciated since I have no more ideas.
Upgrade. Read the documentation. Try again.
|
|
|