OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Reject unknown Sender address

From: Eray Aslan (eray.aslancaf.com.tr)
Date: Fri Jun 01 2007 - 05:30:23 CDT


On 01.06.2007 12:38, Martin Hochreiter wrote:
> I get plenty of spam with the From address from my domain ... but the users
> don't exists in the virtual-table.
>
> Can I somehow reject only From addresses from my domain with unknown
> users of the virtual table?

http://www.postfix.org/postconf.5.html#smtpd_reject_unlisted_sender

Here is how we use it:

/etc/postfix/main.cf:
        smtpd_recipient_restrictions = reject_non_fqdn_sender
                reject_non_fqdn_recipient
                reject_unlisted_recipient
                reject_unlisted_sender
                permit_sasl_authenticated
                permit_mynetworks
                reject_unauth_destination
                [...]

--
Eray