Re: custom reject message in smtp-dialog

2023-02-25 Thread Damian
$smtp_reason_by_ccat{&CC_SPAM} = 'id=%n - spam'; $smtp_reason_by_ccat{&CC_SPAM} = '[~[:TESTS]|SPF_FAIL|id=%n - SPF Failure ; Please contact your administrator|spam]'; $smtp_reason_by_ccat{&CC_SPAM} = '[~[:TESTS]|MYTEST|Triggered MYTEST-Spamassassin Rule|spam]'; I tried the following but it does

Re: custom reject message in smtp-dialog

2023-02-25 Thread Ralf Hansen
Thank you, this seems to work, but... on SPF_FAIL the message is now correct. on all other Spam-Reasons, the id= is missing. and i would also like to additionally set custom messages for other reject-reasons (spamassassin rules) I tried the following but it doesn't work. Maybe the previous get

Re: custom reject message in smtp-dialog

2023-02-25 Thread Damian
usually when amavisd-new rejects mail as pre-queue filter, the smtp-dialog-message is like "554 5.7.0 Reject, id=13158-01 - spam" I would like to customize the message, if the Spamain-Rule SPF_FAIL triggers, e.g. "554 5.7.0 Reject, id=13158-01 - SPF Failure ; Please contact your administra

custom reject message in smtp-dialog

2023-02-24 Thread Ralf Hansen
Hi, usually when amavisd-new rejects mail as pre-queue filter, the smtp-dialog-message is like "554 5.7.0 Reject, id=13158-01 - spam" I would like to customize the message, if the Spamain-Rule SPF_FAIL triggers, e.g. "554 5.7.0 Reject, id=13158-01 - SPF Failure ; Please contact your admi