Autor: Kelley Reynolds Data: Para: Adam D. Barratt Assunto: Re: [Exim] Multiple rcpt to commands
--- Original Message ---
From: "Adam D. Barratt" <exim-users@???>
Sent: Fri, 14 Nov 2003 09:40:08 -0000
To: exim-users@???
Subject: Re: [Exim] Multiple rcpt to commands
> Mike Wayburne wrote, Friday, November 14, 2003 6:26 AM:
>
> > Doing it manually:
> > telnet localhost 25
> > mail from: mike.wayburne@???
> > rcpt to: userunknown@???
> > rcpt to: mikew@???
> > data
> > test
> [...]
> > The one where I am having the problem is "To: <userunknown@???>"
> > and the "Cc: <mikew@???>" (the rest of the
> > headers I'm not worried about - I can generate those) which doesn't show
> up
> > in the first set of headers and I want it to. Is this a
> > bug or is exim supposed to do this?
Another thing that might be helpful is an excerpt from 11.8 of the manual.
...
When more than one address is being delivered at once (for example, several RCPT commands in one SMTP delivery), $domain is set only if they all have the same domain. Transports can be restricted to handling only one domain at a time if the value of $domain is required at transport time - this is the default for local transports. For further details of the environment in which local transports are run, see chapter 22.
...
Now, if you are using a local transport, then the second recipient (userunknown@???) will never see the message... it simply vanishes into the ether. Generally, you never really see multiple domains in the same envelope, so I personally use it as a spam check in rcpt acl (note, this has never actually occurred in practice either legitimately or via spammer in several years in my experience, so it's probably unlikely)