Fetchmail delivers mail to /var/mail/fetchmail
Hi,
New here so I hope I am at the right place. Using opensuse 11.4 and configuring that as a replacement for my old suse 9.x server. I have fetchmail running as user. I have a .fetchmailrc with the ordinairy stuff like poll pop3 as 'user' As mta I have postfix. My issue is that mail gets stored in /var/mail/fetchmail and also to 'user' (as far as I know and have checked and verified) so /var/mail/'user' is size 0 and /var/mail/fetchmail is growing and growing and if I 'cat fetchmail' I see that most or all were delivered to my procmail. I just do not get why it keeps it in fetchmail. I searched the net, found one example someone had the same, he was told to add to the .fetchmailrc "poll pop3 ... "as 'user'" statement, I already have that.. Thanks for help. |
Quote:
|
Well, ok, .fetchmailrc
postmaster user set no bouncemail set no spambounce set no syslog set daemon 300 set logfile ./fetchmaillog poll "mail.isp" protocol POP3 user "user" there with password "password" is user here and some more accounts.. also tried poll "server.isp" protocol POP3 envelope x-originally-to localdomains mydomain.tld localhost user "remoteuser" there with password "password" is user here here is the log file example Aug 9 15:53:19 linux postfix/smtpd[1941]: 637542A3A93: client=localhost[::1] Aug 9 15:53:19 linux postfix/cleanup[1945]: 637542A3A93: message-id=<201108091353.p79DrN6J003441@server.isp> Aug 9 15:53:19 linux postfix/qmgr[31802]: 637542A3A93: from=<remoteuser@server>, size=2366, nrcpt=1 (queue active) Aug 9 15:53:19 linux postfix/smtpd[1941]: disconnect from localhost[::1] Aug 9 15:53:19 linux postfix/local[1946]: 637542A3A93: to=<fetchmail@localhost.mydomain>, orig_to=<fetchmail@localhost>, relay=local, delay=1.8, delays=1.7/0.01/0/0.08, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -Y -a $DOMAIN) Aug 9 15:53:19 linux postfix/qmgr[31802]: 637542A3A93: removed Aug 9 15:56:09 linux postfix/smtpd[2016]: connect from localhost[::1] Aug 9 15:56:10 linux postfix/smtpd[2016]: AB89C2A3A93: client=localhost[::1] Aug 9 15:56:10 linux postfix/cleanup[2018]: AB89C2A3A93: message-id=<201108091353.p79DrN6J003441@server.isp> Aug 9 15:56:10 linux postfix/qmgr[31802]: AB89C2A3A93: from=<remoteuser@server.isp>, size=2356, nrcpt=1 (queue active) Aug 9 15:56:10 linux postfix/smtpd[2016]: disconnect from localhost[::1] Aug 9 15:56:20 linux postfix/local[2019]: AB89C2A3A93: to=<user@localhost.mydomain>, orig_to=<user@localhost>, relay=local, delay=11, delays=1/0.01/0/9.8, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -Y -a $DOMAIN) Aug 9 15:56:20 linux postfix/qmgr[31802]: AB89C2A3A93: removed Seems like mail first goes to fetchmail, then postfix reroutes, but mail stays in /var/mail/fetchmail too.. I can't track right now what route I followed to install the combo of fetchmail and postfix, but most is pretty well standard, just the result is not :) |
Quote:
|
All times are GMT -5. The time now is 09:14 AM. |