Hello,
I'm just trying to set up a small mailserver for the local network. I'm using exim4 as MTA, and sending out eMail via smarthost already works good. User also have POP3 boxes at the server (Cyrus pop3) and can also access them. The problem is that fetchmail isn't able to put new mail into the mailboxes.
It can recieve eMail from the ISP (by POP3), but cannot deliver them to exim4:
[POP3 snipped]
1 message for Thomas_aus_Dresden at pop3.web.de (17268 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 17268
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK Nachricht folgt/message follows
reading message Thomas_aus_Dresden@pop3.web.de:1 of 1 (17268 octets)
fetchmail: SMTP< 220 jana.zuhause.xx ESMTP Exim 4.50 Wed, 13 Jul 2005 11:04:55 +0200
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-jana.zuhause.xx Hello localhost [127.0.0.1]
fetchmail: SMTP< 250-SIZE 52428800
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 HELP
fetchmail: SMTP> MAIL FROM:<keineantwortadresse@web.de> SIZE=17268
fetchmail: SMTP< 250 OK
fetchmail: SMTP> RCPT TO:<Thomas_aus_Dresden@localhost>
fetchmail: SMTP< 550 unknown user
fetchmail: SMTP error: 550 unknown user
fetchmail: SMTP listener doesn't like recipient address `Thomas_aus_Dresden@localhost'
fetchmail: SMTP< 220 jana.zuhause.xx ESMTP Exim 4.50 Wed, 13 Jul 2005 11:04:55 +0200
fetchmail: SMTP> HELO localhost
fetchmail: SMTP< 250 jana.zuhause.xx Hello localhost [127.0.0.1]
fetchmail: SMTP> MAIL FROM:<FETCHMAIL-DAEMON@jana.zuhause.xx>
fetchmail: SMTP< 250 OK
fetchmail: SMTP> RCPT TO:<keineantwortadresse@web.de>
fetchmail: SMTP< 250 Accepted
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter message, ending with "." on a line by itself
fetchmail: SMTP: (bounce-message body)
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 OK id=1DsdAl-0000MY-Rg
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 jana.zuhause.xx closing connection
fetchmail: SMTP> RCPT TO:<Thomas_aus_Dresden@localhost>
fetchmail: SMTP< 550 unknown user
fetchmail: can't even send to Thomas_aus_Dresden!
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 Reset OK
................ not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK
fetchmail: 6.2.5 querying pop3.web.de (protocol POP3) at Wed Jul 13 11:04:56 2005: poll completed
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 jana.zuhause.xx closing connection
fetchmail: normal termination, status 0
jana.zuhause.xx is the name of my local mailserver, pop3.web.de is the ISP.
As you can see, jana doesn't like Thomas_aus_Dresden@localhost. I think that exim4 isn't ocnfigured to allow local mail. But how can I enable it?
I found no place to change "local_domains" in some config file. The only one is
domainlist local_domains = DEBCONFlocal_domainsDEBCONF in exim4.conf.template, but changing it to
domainlist local_domains = @ : localhost
doesn't has any effect.
How can I configure exim4 to deliver local eMail?
Thanks,
thw