Re: [exim] Exim 4.6 Catchall Behaviour

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jimmy Phelan :: Blacknight Solutions
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Exim 4.6 Catchall Behaviour
Just FYI the transport method being used is virtual_localdelivery

Here is its entry in the exim.conf

virtual_localdelivery:
driver = appendfile
create_directory
delivery_date_add
directory_mode = 770
envelope_to_add
directory =
/home/${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}/imap/${d
omain}/${local_part}/Maildir
maildir_format
group = mail
mode = 660
return_path_add
user = "${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}"
quota = ${if
exists{/etc/virtual/${domain}/quota}{${lookup{$local_part}lsearch*{/etc/virt
ual/${domain}/quota}{$value}{0}}}{0}}

-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org] On
Behalf Of Philip Hazel
Sent: 02 August 2007 11:23
To: Jimmy Phelan :: Blacknight Solutions
Cc: exim-users@???
Subject: Re: [exim] Exim 4.6 Catchall Behaviour

On Thu, 2 Aug 2007, Jimmy Phelan :: Blacknight Solutions wrote:

> They have a single POP3 account setup as a catchall account. However there
> is an issue with this. If you send a single email to blah@??? and
> blah2@??? only a single message is delivered. This unfortunately
> breaks the getmail app, it sees the single email, but it is trying to
> deliver the message to the two valid users on its side (blah and blah2)


If Exim is doing the delivery using a local transport, it should do
multiple copies by default for an appendfile or pipe transport. This can
be changed using batch_max. Check if you have set that by mistake.

If using the smtp transport, check the max_rcpt option.

And note what the OP said about getting the address from To: and Cc:.
Make sure you use envelope_to_add on the transport and use the header
that it adds.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/