[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: another exim question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 20 January 2002 1:05 am, Ken Weingold wrote:
> Please excuse this if it should be obvious, but I have been playing
> around so much that I can't find this.  Is there one simple setting in
> exim.conf that will allow me to receive mail for all my addresses from
> different domains?  I can only receive for one right now.  All the
> others get bounced back.  None of the settings that I have seen to have
> to do with this seem to do as I need.
>
> Thanks.  And thanks again for all the other help.
>
>

local_domains =
 localhost:*.home:home:chandlerfamily.org.uk:libdebate.org

is mine - you could - if there are lots put them in a file one per line and do
local_domains = /path/to/file

HOWEVER, if you are using fetchmail (which from your other posts you I think 
you are) it will translate all the domains to localhost unless you use 
smtpaddress, but you might need to use the localdomains key so that it finds 
local addresses within address lists.  Here is my fetchmailrc as an example 
(passwords changed).  It is picking up mail for domains @chandler.u-net.com, 
@tesco.net and @blueyonder.co.uk as well as domains @chandlerfamily.org.uk 
and @libdebate.org (at blueyonder)

# Created by AKC 14th July 2000
set syslog
set no bouncemail
poll mail.u-net.com no dns proto POP3 tracepolls
 aka chandler.u-net.com
 envelope "Envelope-to"
 user "chandler" password "xxxxx" forcecr is *
       smtpaddress fetchmail.home
 user "alan-chandler" password "xxxxx" forcecr is alan
       smptaddress  fetchmail.home
 user "emily-chandler" password "xxxxxxx" forcecr is emily
       smtpaddress fetchmail.home
poll mail.tesco.net no dns proto POP3 tracepolls
	aka tesco.net
 user "alan.chandler" password "xxxxxxx" forcecr is alan
        smtpaddress fetchmail.home
 user "Sarah.Chandler" password "xxxxxxxx" forcecr is sarah fetchall
        smtpaddress fetchmail.home
poll pop3.blueyonder.co.uk no dns proto POP3 tracepolls
	aka blueyonder.co.uk
	localdomains chandlerfamily.org.uk libdebate.org
 user "ac003a3222" password "xxxxxxx" forcecr is *
        smtpaddress fetchmail.home
 user "ac003a3222_2" password "xxxxxxx" forcecr is sarah
        smtpaddress fetchmail.home
 user "ac003a3222_3" password "xxxxxxx" forcecr is emily
         smtpaddress fetchmail.home
 user "ac003a3222_4" password "xxxxxxx" forcecr is carrie
         smtpaddress fetchmail.home
 user "ac003a3222_5" password "xxxxxxx" forcecr is alan
          smtpaddress fetchmail.home


- -- 

  Alan - alan@chandlerfamily.org.uk
http://www.chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8SlLh1mf3M5ZDr2kRAt1cAJ91jwVJGEt7D8rZLNEOhgCJGqsPywCaAkcX
hKk13l+Oa8qkTYlW2QNDCmM=
=6kif
-----END PGP SIGNATURE-----



Reply to: