Spamassassin RBL's

Reko Turja reko.turja at liukuma.net
Tue Jun 12 09:22:48 UTC 2007


>> I see, I disabled bayes and awl in spamassassin, and updated 
>> amavisd-new
>> from ports. I have a different problem. Mail I am sending out is 
>> being
>> thrown away because it's being flagged as spam. I'm stumped, it 
>> never did
>> this before.
>
>From memory, you can tell amavis which are your networks, so it 
>doesnt scan emails on the way out. (or maybe you tell postfix to 
> >only send the email via amavis on the way out, not in... i cant 
>remember nor check atm).

If you use SASL authentication and Postfix, you can use the following 
postfix directive:

smtpd_sasl_authenticated_header = yes

in main.cf in order to bypass the mail heading outside to be marked as 
spam. The directive above tells  postfix to add information into 
headers that tell Amavis the mail was sent by someone who was 
authenticated by the system and thus trusted. I needed the above as 
the system relays mail from authenticated users from outside the 
netblock the server resides.

In addition Amavis can read the relay_domains database created for 
Postfix in defining what domains are OK to send and receive mail, 
using for example something like:

read_hash(\%local_domains, '/usr/local/etc/postfix/relay_domains');

in amavisd.conf.

Hope these help you!

-Reko 



More information about the freebsd-questions mailing list