Tim Pierce <[EMAIL PROTECTED]> writes:

> [ I sent this to qmail-help a month or so ago, but had no response. ]

I'm not sure where that address goes, off-hand, but this is probably a
better one.

> I'm using qmail as the outbound mail agent on a machine that runs
> sendmail for incoming mail.  I would like to modify qmail to use "+" in
> constructing per-recipient VERPs on outgoing mail.  That's necessary to
> make sendmail accept the bounces, and would permit me to hack SmartList
> to take advantage of VERPs for accurate bounce processing.

> I thought that changing conf-break would change the character used to
> construct VERPs.  However, it looks like conf-break only affects the
> delimiter that qmail-smtpd looks for on incoming messages.  No matter
> what's in conf-break, VERPs are still constructed with "-" as the
> delimiter.

Hm.  I'm not entirely sure what you're seeing here, since it isn't quite
the way that I believe VERPs work.  qmail-send translates a return address
of the form:

        list-bounces-@host-@[]

to:

        list-bounces-recipbox=reciphost@host

and it uses the presence of -@[] to decide whether to do that.  The -@[]
string is fixed (hard-coded in qmail-send.c), but the - there shouldn't
matter because it's stripped.  The VERP process doesn't appear to add any
other break characters; instead, it uses the characters already in the
address.

So if you just fix whatever it is that you're using to send mail so that
instead of generating return addresses of the form:

        list-bounces-@host-@[]

it generates them as:

        list+bounces+@host-@[]

I believe you'll immediately get what you want.

-- 
Russ Allbery ([EMAIL PROTECTED])         <URL:http://www.eyrie.org/~eagle/>

Reply via email to