|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
openSUSE 11
My mail from an external pop3 account disappears somewhere and isn`t delivered to the correct user`s post folder.(user1, user2 and root). Internal mail is working correctly. I use openSUSE 11 MTA an I guess postfix on a single linux client. I think everything worked correctly before I added the second user. Does anybody know a solution? |
|
|||
|
What are you using to fetch the external mail? fetchmail? Have you checked its configuration?
|
|
|||
|
I use fetchmail for polling.
I think it works correctly. |
|
|||
|
There is no need to have any doubts. It's easy to verify. Fetchmail leaves a log in /var/log/fetchmail. You should see that fetchmail is handing it over to postfix at localhost:25. Next look at /var/log/mail. Postfix should log that mail is coming from fetchmail and tell you where it has delivered it. It should go to a local mailbox.
|
|
|||
|
Well, that`s what fetchmail logs:
fetchmail: awakened at Thu May 7 20:37:57 2009 fetchmail: 1 message for linux@mhammerbacher.de at pop.1und1.de (1896 octets). fetchmail: reading message linux@mhammerbacher.de@pop.1und1.de:1 of 1 (1896 octets) flushed fetchmail: sleeping at Thu May 7 20:38:05 2009 for 120 seconds I think flushed is not good, is it? Now my postfix log: May 7 21:00:23 mphlinux postfix/smtpd[20896]: connect from localhost[127.0.0.1] May 7 21:00:23 mphlinux postfix/smtpd[20896]: 877AAA4768: client=localhost[127.0.0.1] May 7 21:00:23 mphlinux postfix/cleanup[20899]: 877AAA4768: message-id=<385499953AB44B5F935BC9E6078D5DCF@mphsp> May 7 21:00:23 mphlinux postfix/qmgr[3034]: 877AAA4768: from=<mail@mhammerbacher.de>, size=2244, nrcpt=1 (queue active) May 7 21:00:23 mphlinux postfix/smtp[20900]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused May 7 21:00:23 mphlinux postfix/smtpd[20896]: disconnect from localhost[127.0.0.1] May 7 21:00:23 mphlinux postfix/smtp[20900]: 877AAA4768: to=<postfix@localhost.site>, orig_to=<postfix@localhost>, relay=none, delay=0.18, delays=0.16/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) May 7 21:05:42 mphlinux postfix/qmgr[3034]: 877AAA4768: from=<mail@mhammerbacher.de>, size=2244, nrcpt=1 (queue active) May 7 21:05:42 mphlinux postfix/smtp[21023]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused May 7 21:05:42 mphlinux postfix/smtp[21023]: 877AAA4768: to=<postfix@localhost.site>, orig_to=<postfix@localhost>, relay=none, delay=319, delays=319/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) May 7 21:15:42 mphlinux postfix/qmgr[3034]: 18BF0A4604: from=<mail@mhammerbacher.de>, size=2205, nrcpt=1 (queue active) May 7 21:15:42 mphlinux postfix/qmgr[3034]: 877AAA4768: from=<mail@mhammerbacher.de>, size=2244, nrcpt=1 (queue active) May 7 21:15:42 mphlinux postfix/smtp[21051]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused May 7 21:15:42 mphlinux postfix/smtp[21052]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused May 7 21:15:43 mphlinux postfix/smtp[21051]: 877AAA4768: to=<postfix@localhost.site>, orig_to=<postfix@localhost>, relay=none, delay=919, delays=919/0.04/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) May 7 21:15:43 mphlinux postfix/smtp[21052]: 18BF0A4604: to=<postfix@localhost.site>, orig_to=<postfix@localhost>, relay=none, delay=2258, delays=2258/0.04/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) May 7 21:22:24 mphlinux postfix/postalias[21088]: warning: /etc/aliases, line 86: name must be local Maybe this is important too: mphlinux:~ # newaliases postalias: warning: /etc/aliases, line 86: name must be local mphlinux:~ # There is no line 86 in the aliases file??? Thank you once more for your help. |
|
|||
I finally found the Problem.The virus scanner wasn´t running because of a missing database. Although I turned avamis off in the MTA, Postfix still tried to hand over the mail to avamis. I restarted avamis and installed the database and finally it works. Thank you for your help! Now my next challenge is to direct each user´s external mail into its mail folder. Does anybody know a good How To? |
|
|||
|
By default any user that has a login account will find their mailbox in /var/spool/mail/<user>. This should be created automatically when mail arrives.
In your /etc/fetchmailrc recipe it should look like: ... user "somebody@some.domain" ... is "user" here ... This will deliver to /var/spool/mail/user, and this is where your POP server should look for it. PS: "flushed" is just a term meaning fetchmail passed all the contents of the mail to the mail server. It was put there to scare non-technical users.
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|