> > > As described in vacation.pl's INSTALL.TXT file set up a
> > virtual_alias_maps
> > > (NOT: virtual_alias_domains) entry such that e.g. mail to [email protected]
> > > will be delivered to
> > > [email protected] AND
> > > billy#[email protected]
> > >
> > > I.e. a virtual alias mapping
> > >
> > > [email protected] -> [email protected], billy#[email protected]
> > >
> > > and follow instructions to deliver billy#[email protected]
> > > to the vacation.pl script.
> > >
> > I'm having trouble getting mail delivered properly in a mail relay setup.
> > There are two issues here. The first issue is the way the addresses are
> > translated during an alias expansion when the vacation.pl is executed. The
> > second is that the helo checks are not waived for those within
> > 'mynetwork'.
> >
> > Here is an error message from the Exchange server receiving the original
> > message that is being forwarded by the vacation.pl script:
>
> Forward the message TO the vacation.pl script. Do not forward it FROM
> the vacation.pl script. The vacation.pl script is the final destination
> for billy#goat.comautoreply.goat.com.
I had thought that's what the /usr/local/etc/postfix/virtual file does. Allow
me to say what I think is the process out loud here.
The main.cf contains:
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual
It expands any matching entry to any specified address(es) as in the following
example, no?
[email protected] [email protected],
webmaster#[email protected]
The original message is then delivered to the first address
([email protected]) and an exact copy is sent to
webmaster#[email protected]. The inbound Postfix mechanism upon
receiving these two messages checks its transport table as follows:
example1.com 192.168.xx1.33
autoreply.example1.com vacation:
and delivers the first message to 192.168.xx1.33 and the second message to the
vacation script as defined in master.cf:
vacation unix - n n - - pipe
flags=Rq user=vacation argv=/var/spool/vacation/auto-reply.pl -f
${sender} -- ${recipient}
The vacation script then executes by sending an autoreply message back to the
original sender.
Is my understanding correct?
~Doug