OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Accept mail for postmaseter, abuse while denying else

From: Benny Pedersen (mejunc.org)
Date: Thu Nov 01 2007 - 08:26:10 CDT


On Thu, November 1, 2007 13:01, mouss wrote:
> reject_unauth_destination
> check_recipient_access hash:/etc/postfix/roleaccount
>
> # cat roleaccount
> postmasterexample.com OK
> abuseexample.com OK
> # postmap roleaccount

sed -i -e s:OK:PERMIT_AUTH_DESTINATION:g /etc/postfix/roleaccount

i personly just add them to aliases, will work for multiple hosted domains
then aswell, just in case one forget to add them as virtual_alias

sendmail -bv postmasterlocalhost

--