postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Source code change for verp always

Re: Source code change for verp always

From: Wietse Venema <wietse_at_nospam>
Date: Thu Oct 21 2010 - 15:39:36 GMT
To: Postfix users <>

> On one of my servers (postfix 2.7) I need to do verp in such a way that
> I need to add recipient-id to envelope sender
> so if sender is ram@senderdomain.tld -->ram-1111@senderdomain.tld
> 1111 is the numeric id of the recipient.

Postfix VERP works in a different way. It puts the complete recipient
name and domain into the sender address, instead of a short code that
identifies the recipient.

Is there a problem with sending VERP as implemented:

    originalsender = sender@senderdomain
    recipient = recipient@recipientdomain
    verpsender = sender+recipient=recipientdomain@senderdomain

> Also I need to do VERP always , irrespective of whether the client sends
> an XVERP command or not.

You could use an SMTP proxy that always sends XVERP, as suggested
by Victor. There are lots of examples if SMTP proxies in PERL.