OSEC

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

From: Curtis Maurand (curtismaurand.com)
Date: Wed Jun 02 2010 - 15:15:18 CDT


On 6/2/2010 1:20 PM, Victor Duchovni wrote:
> On Wed, Jun 02, 2010 at 08:21:03AM -0400, curtismaurand.com wrote:
>
>
>>>> defer_code = 550
>>>>
>>> Why?
>>>
>> Why not? I'll look more at the docs.
>>
> Because it is an incredibly bad idea. Transient errors need to
> generate *transient* (4XX) error response codes. Setting the
> defer_code to 5XX is about as misguided as it gets.
>
>
Point taken and its fixed.

I have things working the way they should be now. amavisd-new is not
working hard, but spamhaus is. I have to look at harvesting addresses
and setting up my own rbl, but thats a discussion for the pdns list. :-)

relay_domains = cdb:/etc/postfix/transport
relay_domains_reject_code = 554
relay_recipient_maps =
smtpd_client_restrictions = permit_mynetworks, reject_rbl_client
zen.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client \
ix.dnsbl.manitu.net, permit
smtpd_recipient_restrictions = reject_unauth_destination,
reject_unlisted_recipient
smtpd_sasl_auth_enable = yes
transport_maps = cdb:/etc/postfix/transport, mysql:/etc/postfix/transport.cf
unknown_local_recipient_reject_code = 550
unverified_recipient_reject_code = 550
unverified_sender_reject_code = 550
virtual_mailbox_domains = mysql:/etc/postfix/virtual.cf
virtual_mailbox_maps = mysql:/etc/postfix/sql-recipients.cf
virtual_transport = mysql:/etc/postfix/transport.cf

as of this minute

42930 messages blocked by rbl zen.spamhaus.org

416 messages quarantined by amavis

666 messages blocked by amavis

Thanks for all of your help,
Curtis