VERP {excuse me}

How does one get VERP working with RT exactly? There’s a config
setting for a VERP
prefix, but what are you supposed to do with bounced messages coming
in to VERP’d
addresses? I see nothing in the wiki, book, list archives or codebase
about this…

Cambridge Energy Alliance: Save money. Save the planet.

Jerrard,

RT doesn’t do anything with bounces.

Actually VERP in RT is not about recipients as RT sends one mail per
many recipients, but about creator and it’s only for you to decide how
to use it.

Grep for VERP in code, it’s ~10 lines in one file. Pretty easy to understand.

True VERP can be useful as text of bounces is not standardized and
sometimes it’s hard to get recipient out of a bounce message, we even
don’t talk about reason of a bounce.

Handling bounces:
http://wiki.bestpractical.com/history/RtBounceHandlerOn Fri, Oct 23, 2009 at 2:23 AM, Jerrad Pierce jpierce@cambridgeenergyalliance.org wrote:

How does one get VERP working with RT exactly? There’s a config
setting for a VERP
prefix, but what are you supposed to do with bounced messages coming
in to VERP’d
addresses? I see nothing in the wiki, book, list archives or codebase
about this…


Cambridge Energy Alliance: Save money. Save the planet.


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.

(Neglected to reply-to all earlier, have added additional info about
current status)

Grep for VERP in code, it’s ~10 lines in one file. Pretty easy to understand.
Right, did that, which is why I was wondering where the other half was,
to which you’ve responded “roll your own.” Fair enough.

It seems a cheap system might be to do:
#RT_SiteConfig.pm
Set($VERPPrefix, ‘verp+’);

#/etc/aliases
verp: “|/opt/rt3/bin/rt-mailgate --queue General --action comment --url
https://rt.example.org/

…except that subject’s aren’t preserved in bounces

Handling bounces:
http://wiki.bestpractical.com/history/RtBounceHandler
Seen it. Never got it to work, and haven’t had a chance to get back
around to it, but it would be nice.

It did not work well with the SpamAssassin filter since it seems to pick an
odd sender from the original message (MAILER-DAEMON). I added a minor patch,
which I’ll post to the wiki, to use the VERP address if available. With this the
system allowed the comment to be logged.

I’ll probably end up creating a wrapper around this though, to set a
flag indicating the user’s address is bad; CF{Tags}.=‘bounce’