achal tomar:
> On Mon, Jun 11, 2012 at 4:27 PM, Wietse Venema <wie...@porcupine.org> wrote:
> 
> > achal tomar:
> > > So wietse can how can i send mail with PHP script to my mail server which
> > > has postfix on it so that the return path of mails send has the
> > following:-
> > >
> > > Assume there is a user called ac...@example.net and that an individual,
> > > b...@example.org has has to be send mai.
> > >
> > >    - return path: achal+bob=example....@example.net
> > >    - recipient: b...@example.org
> >
> > As documented in VERP_README, it is POSTFIX that will transform
> > the sender address
> >
> >    initial sender: ac...@example.net
> >
> > transformed sender: achal+bob=example....@example.net

In VERP_README, this is described as:

    For example, when VERP style delivery is requested, Postfix
    delivers mail from "owner-listname@origin" for a recipient
    "user@domain", with a sender address that encodes the recipient
    as follows:

    owner-listname+user=domain@origin

> how can postfix change address of users who are sending mails by a php
> script to my postfix server and my postfix server is sending their mails to
> their destination addresses.In the VERP_README i cannot find a way to do
> this.

To request VERP style delivery, read the following sections in
VERP_README:

* VERP support in the Postfix SMTP server

* VERP support in the Postfix sendmail command

> As i have thousands of users who send mail through the php script to
> my postfix server.

VERP is meant primarily for mailing lists. VERP requires some
configuration as described in VERP_README. This may not be practical
for thousands of individual users accounts.

        Wietse

Reply via email to