Re: [exim] Exim relaying but shouldn't

Góra strony
Delete this message
Reply to this message
Autor: Lena
Data:  
Dla: exim-users
Temat: Re: [exim] Exim relaying but shouldn't
> From: Eric Grammatico

> 2022-09-26 16:15:24 [10] 1ocotI-00000A-0g <=
> #xxxyyyy'uuss+zzz@??? H=(localhost) [45.123.190.53] P=esmtpsa
> X=TLS1.2:AES256-GCM-SHA384:256 CV=no A=login_server:#xxxyyyy'uuss+zzz S=736
> 2022-09-26 16:15:31 [12] 1ocotI-00000A-0g => xxx.xxxx@???
> <xxxx.xxxxxx@???> R=dnslookup T=remote_smtp H=xxxxxxx.xxxxxxx.xx
> [195.141.89.98] X=TLS1.3:TLS_AES_256_GCM_SHA384:25
> 6 CV=yes K C="250 2.0.0 Ok: 1599 bytes queued as 4MblCR37H1zlq0LZ"
> 2022-09-26 16:15:31 [12] 1ocotI-00000A-0g Completed
>
> I don't understand why is it relayed, here are extracts from my config:


> deny??? message?????? = Restricted characters in address
> ????????? domains?????? = +local_domains
> ????????? local_parts?? = ^[#] : ^[.] : ^.*[@%!/|#+]


This checks local_part of recipient address, not sender address.
The <= log line shows sender address.

> plain_server:
> ? driver???????????????????? = plaintext
> ? public_name??????????????? = PLAIN
> ? server_condition = ${run{/bin/sh -c "echo -e '$auth2\n$auth3' | /usr/sbin/pwauth"}{1}{0}}


Perhaps this `pwauth` perceives the # in the beginning as a comment line.