smtp_reason length limits

Stef Simoens stef+au at bgs.org
Fri Mar 1 19:00:51 CET 2013


Hello,

I've been running with an amavisd pre-queue setup for some time now. Instead of D_DISCARD'ing incoming e-mail, I'm D_REJECTING this e-mail flow.

To be transparent, I'm adding a descriptive reason (via smtp_reason_by_ccat).

This works correctly, but however the reason text is limited to 103 chars (and I don't see why this is).

I've patched amavisd (see attached patch) and now my smtp_reason is complete.

Maybe somebody can explain me why the smtp_reason is limited to 103 chars and/or this patch can be included in a future version of amavisd? 

Kind regards,

Stef

-------------- next part --------------
A non-text attachment was scrubbed...
Name: amavisd-2.7.2-reason.patch
Type: application/octet-stream
Size: 1269 bytes
Desc: not available
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20130301/b9c7abca/attachment.obj>


More information about the amavis-users mailing list