[Rspamd-Users] Filtering outgoing emails

Philippe Paget phil at tatm.com
Sat May 11 18:51:56 UTC 2019


Le 11/05/2019 20:40, P.V.Anthony a écrit :
> On 12/5/19 1:01 AM, Philippe Paget wrote:
> 
>> To call Rspamd from Postfix I've added the following :
>> 
>> #antispam rdspam
>> smtpd_milters=inet:127.0.0.1:11333
>> non_smtpd_milters=inet:127.0.0.1:11333
>> milter_protocol=6
>> milter_mail_macros="i {mail_addr} {client_addr} {client_name} 
>> {auth_authen}"
>> 
>> And the mistake was here, the correct one is:
>> 
>> #antispam rdspam
>> smtpd_milters=inet:127.0.0.1:11333
>> non_smtpd_milters=inet:127.0.0.1:11333
>> milter_protocol=6
>> milter_mail_macros=i {mail_addr} {client_addr} {client_name} 
>> {auth_authen}
> 
> If you do not mind sharing, what is the change?
> 
> I ask because I cannot see the change between the two.

I must say it was a sort of joke to copy paste without point the fix :).
Even after all those years of sys-admin, at 2am o'clock you always do 
such invisible error ...

Again, First is not OK, second is OK:
milter_mail_macros="i {mail_addr} {client_addr} {client_name} 
{auth_authen}"
milter_mail_macros=i {mail_addr} {client_addr} {client_name} 
{auth_authen}

Those damn -> " <- just broke the attended milter's format.


Now everything is working, and the default configuration of Rspamd is 
just fine for beginning. Even fighting against SPAM with foreign 
language, French in my case.


Phil


More information about the Users mailing list