LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-13-2005, 04:08 AM   #1
thw
LQ Newbie
 
Registered: Mar 2004
Location: Dresden, Germany
Distribution: SuSE 9.1 Pro
Posts: 21

Rep: Reputation: 15
exim4: fetchmail and local delivery


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
 
Old 07-14-2005, 05:39 PM   #2
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
The problem is not the domain part of the address but the local part: exim tries to deliver to the user Thomas_aus_Dresden and cannot find him. Either you set up a catchall address or you instruct exim to rewrite the address to whatever system user is supposed to get the mail.
 
Old 07-16-2005, 03:32 PM   #3
thw
LQ Newbie
 
Registered: Mar 2004
Location: Dresden, Germany
Distribution: SuSE 9.1 Pro
Posts: 21

Original Poster
Rep: Reputation: 15
The user "Thomas_aus_Dresden" exists as a regular system user.
:-(
 
Old 07-16-2005, 04:54 PM   #4
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
Then you need to check your exim configuration. Can you send local mail to root? Post the relevant transport and router from exim.conf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading remote mail to the local router with fetchmail ?? How? sys7em Linux - Software 6 08-30-2005 10:24 AM
Home Mail Server: Debian+Exim4+Fetchmail subnewbie Linux - Newbie 1 08-08-2005 12:43 AM
Sendmail local delivery watchamaka Linux - Networking 6 12-13-2003 01:32 PM
sendmail local delivery problems jhildebrand Linux - Networking 0 04-24-2003 03:56 PM
exim/fetchmail no mail from POP3 server --->> local user ! help required! realos Linux - Networking 0 04-03-2003 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration