Re: [exim] problem(?) - SpamAssassin checks outgoing mail

Top Page
Delete this message
Reply to this message
Author: Robert Cates
Date:  
To: Exim, Users
CC: Giuliano Gavazzi
Subject: Re: [exim] problem(?) - SpamAssassin checks outgoing mail
Giuliano Gavazzi wrote:

>
> On 4 Jan 2006, at 08:18, Robert Cates wrote:
>
>> Hi,
>>
>> I'm using SpamAssassin 3.0.4 with my Exim 4.54 server, but
>> SpamAssassin is
>> checking and adding it's headers even with outgoing mail. My logic
>> tells me
>> that's not correct, but I don't know how to change this behaviour.
>> Below is
>> the relevant exim.conf setup. Can anybody help me with this, please?
>>
>> begin acl
>>
>> acl_check_data:
>>
>>   warn   spam    = nobody
>>          message = X-is-spam: over spam threshold\n\
>>                    X-Spam-Status: Yes
>>   warn   message = X-Spam_score: $spam_score\n\
>>                    X-Spam_score_int: $spam_score_int\n\
>>                    X-Spam_bar: $spam_bar\n\
>>                    X-Spam_report: $spam_report
>>   accept

>
>
> does outgoing mail come only from authenticated sources?
> If so, the answer is there.
>
> Giuliano
>
>

OK, how can I know this for sure? I would like most, if not all,
connections through TLS/SSL, and I have the following set in my config file:

[Global section]
auth_advertise_hosts = ${if eq{$tls_cipher}{}{}{*}}
#auth_advertise_hosts = *
tls_advertise_hosts = *
tls_verify_certificates = /etc/exim/
tls_certificate = /etc/exim/exim.cert
tls_privatekey = /etc/exim/exim.key

[AUTHENTICATION section]
plain:
  driver = plaintext
  public_name = PLAIN
  server_advertise_condition = ${if eq{$tls_cipher}{}{no}{yes}}
  server_condition = "\
    # $2 = Username | $3 = password
    ${if and {{!eq{$2}{}}{!eq{$3}{}} \
    {crypteq{$3}{${extract{1}{:} \
    {${lookup{$2}lsearch{/etc/exim/.passwd}{$value}{*:*}}}}}}}{1}{0}}"
  server_set_id = $2


login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = "Username:: : Password::"
  server_advertise_condition = ${if eq{$tls_cipher}{}{no}{yes}}
  server_condition = "\
    # $1 = Username | $2 = password
    ${if and {{!eq{$1}{}}{!eq{$2}{}} \
    {crypteq{$2}{${extract{1}{:} \
    {${lookup{$1}lsearch{/etc/exim/.passwd}{$value}{*:*}}}}}}}{1}{0}}"
  server_set_id = $1



Please tell me if you see anything else set wrong as well. Or if you
know a better way to set it (Authentication) up.

Thanks much!
Robert