OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: An "in between" server

From: Mark Maas (markmaas-martin.nl)
Date: Tue Mar 11 2008 - 15:40:49 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian Evans wrote:
> Mark Maas wrote:
>> Dear list,
>>
>> For the past few day's I have been trying to get a installation of
>> postfix to accept email for maas-martin.nl run it through postgrey
>> and then send to another server inside the network.
>>
>> mydestination = borg.maas-martin.nl, localhost.maas-martin.nl,
>> localhost, maas-martin.nl
>>
> mydestination means this is the end server and deliver mail locally.
> Define relay_domains and relay_recipient_maps (stops Backscatter) if all
> mail for a domain is to be routed to a remote machine.
> See http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup
> and http://www.postfix.org/BASIC_CONFIGURATION_README.html#relay_to
>

Got it working with the following:

#mydestination = borg.maas-martin.nl, localhost.maas-martin.nl,
localhost #, maas-martin.nl
relay_domains = maas-martin.nl
relay_recipient_maps = hash:/etc/postfix/relay_recipients

Thanks again for the help!

Oh and for the user reading this for help in the future, the contents
of the relay_recipients is:
markmaas-martin.nl mark

and then a "postmap -o /etc/postfix/relay_recipients" you need to do
this everytime you add/remove a user from this table.

- --
M. Maas GPG: 0x50C6776B
: markmaas-martin.nl
http://maas-martin.nl/downloads/Mark_Maas_0x50C6776B.pub.asc
Freedom of speech is not there for the things you love...
But for the things you hate the most. --Larry Flint
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH1u5RLw76slDGd2sRAh4NAJ468d3k099Byti1J8Aw2q2qhpxWlQCggyp5
uOwfojg0vypv9hV6yaRFai8=
=Itsm
-----END PGP SIGNATURE-----