postfix - relay_recipient_maps
Hiya
To help reduce load on spamassasin/clamav i filtered off the recipents - pulling the emails from active directory and using;
relay_recipient_maps = hash:/etc/postfix/access
unknown_relay_recipient_reject_code = 554
smtpd_recipient_restriction =
permit_mynetworks,
check_relay_domains,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client sbl.spamhaus.org,
reject_rbl_client pbl.spamhaus.org
<--- example email --->
helo somen.com
250 mx1.XXXXX.com
mail from: <noone@ebay.com>
250 2.1.0 Ok
rcpt to: <nobody@XXXXXX.com>
550 5.1.1 <nobody@XXXXX.com>: Recipient address rejected: User unknown
I don't want the sender to be aware the email doesn't exist, I found 'show_user_unknown_table_name = no' - however this doesn't do as i wished. I'd like to drop the email but return a successful delivery.
Does anyone know how this can be accomplished in postfix?
|