Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2007 12:01:02 +0300
From:      "Reko Turja" <reko.turja@liukuma.net>
To:        "Peter Pluta" <peter@placidpublishing.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Spamassassin RBL's
Message-ID:  <004201c7acd0$3465f2a0$0a0aa8c0@rivendell>
References:  <11046174.post@talk.nabble.com> <466C2D0F.3040708@webanoide.org><11050907.post@talk.nabble.com> <466C5069.1000903@vindaloo.com><11051531.post@talk.nabble.com> <20070612163811.75d813d5@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004201c7acd0$3465f2a0$0a0aa8c0>