I agree with Hector - the less detail the better when communicating back to spammers.
How about: 250 Requested mail action OK and log the details as Hector suggested. If you are required to notify the sender of the failure due to corporate guidelines, make the msg even more generic: 550 Your mail was rejected due to local policy n8 2009/11/26 Дилян Палаузов <[email protected]>: > > Hello, > > When an email is evaluated as spam and in turn is rejected during the SMTP > dialog, is it reasonable to show in the SMTP response the result of the spam > evaluation or not? > > E.g. Using SpamAssassin to filter the messages, what response is better and > why? > > 550 5.7.1 Your mail was evaluated as spam. > > or > > 550-5.7.1 Your mail was evaluated as spam (see below for details). > 550-5.7.1 > 550-5.7.1 -0.0 SPF_PASS SPF: sender matches SPF record > 550-5.7.1 -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% > 550-5.7.1 [score: 0.0000] > 550 5.7.1 1.0 DKIM_VALID DKIM_VALID > > > Thanks in advance for your opinion, > Дилян > >
