.forward is evaluated twice ...

Top Page
Delete this message
Reply to this message
Author: Sven Paulus
Date:  
To: exim-users
Subject: .forward is evaluated twice ...

If a host accepts mail for multiple hostnames, for example using a
setup like this:

| primary_hostname = akasha.oops.sub.de
| local_domains = *.oops.sub.de:oops.sub.de


and a user on this host has a .forward, which sends the mail to a pipe as
well as to the real mailbox:

| "|/home/sven/doit"
| \sven


then every time a mail is sent to user@not_primary_hostname, the pipe
command is executed twice:

| sven@akasha ~$ exim -bt sven@???
| sven@??? -> |/home/sven/doit
| sven@??? -> |/home/sven/doit
| sven@???
|     <-- sven@???
|     <-- sven@???
|   local delivery to sven in domain akasha.oops.sub.de
|   director = localuser, transport = local_delivery


Is there any possibility to avoid this behaviour? As far as I see, smail for
example only pipes once in a setup like this.

Sven
--
--Sven-Paulus----------28-48-32--3-----ub6v@???------
--Karlstr.-55----------30--2-50-29-----sven@???--------------
--D-76133-Karlsruhe----44-49-10--8-----T#-49-721-9375094---------irc-
--PGP-ID-3C9A6091-------9-12-19-71-----F#-49-721-9375095-----svennie-

--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/