fetchmail-friends
[Top] [All Lists]

Re: [fetchmail] fetchmail delivers all mail to postfix file

2003-08-28 11:52:19
Rob MacGregor wrote:

From: Peter Guthrie <peter(_at_)unixplanet(_dot_)co(_dot_)uk>

I've just moved from sendmail to postfix. My fetchmail configuration used to work fine, pulling emails via my ISP's pop3 server and delivering them to my user account.

Since the change to postfix however they are all delivered into /var/spool/mail/postfix

Here are the contents of my .fetchmailrc file:

poll mail.myisp.net protocol pop3 username "mylogin" password "mypass"

(specific information changed obviously)

Any ideas why this would change between sendmail and postfix? I copied the aliases file across and did all the other configuration needed, SMTP mail is delivered correctly.


Does sending an email on the system to your account work as expected?


Yes, but fetchmail doesn't handle that it's handled through postfix (the headers confirm this)
It's only mail to my ISP account that is pulled via fetchmail.



What version of postfix and fetchmail, what's the headers of one of these emails? What's the output of "fetchmail -v -v"?


Ok you asked for it :) This was send to me 
peter(_at_)quartz(_dot_)plus(_dot_)com(_dot_)(_dot_)(_dot_)(_dot_)(_dot_)(_dot_)(_dot_)

# fetchmail -v -v
fetchmail: 6.2.0 querying mail.plus.net (protocol POP3) at Thu 28 Aug 2003 07:39:41 PM BST: poll started
fetchmail: POP3< +OK <27528(_dot_)1062095650(_at_)pop3(_dot_)plus(_dot_)net>
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR authorization first
fetchmail: authorization first
fetchmail: Repoll immediately on quartz(_at_)mail(_dot_)plus(_dot_)net
fetchmail: POP3< +OK <19597(_dot_)1062095651(_at_)pop3(_dot_)plus(_dot_)net>
fetchmail: POP3> USER quartz
fetchmail: POP3< +OK
fetchmail: POP3> PASS
fetchmail: POP3< +OK
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 34624
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
1 message for quartz at mail.plus.net (34624 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK
fetchmail: POP3< 1 34624
fetchmail: POP3< .
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK
reading message quartz(_at_)mail(_dot_)plus(_dot_)net:1 of 1 (34624 octets)
About to rewrite Return-Path: <OcQ3sQIBAQAEek8ACQAAZm8CNaUMIQ(_at_)developerworks(_dot_)b(_dot_)tclk(_dot_)net> Rewritten version is Return-Path: <OcQ3sQIBAQAEek8ACQAAZm8CNaUMIQ(_at_)developerworks(_dot_)b(_dot_)tclk(_dot_)net>

About to rewrite To: peter(_at_)quartz(_dot_)plus(_dot_)com
Rewritten version is To: peter(_at_)quartz(_dot_)plus(_dot_)com

About to rewrite From: IBM developerWorks <dwnews2(_at_)us(_dot_)ibm(_dot_)com>
Rewritten version is From: IBM developerWorks 
<dwnews2(_at_)us(_dot_)ibm(_dot_)com>

About to rewrite Reply-To: 
<customersupport(_at_)ibmdw(_dot_)email-publisher(_dot_)com>
Rewritten version is Reply-To: 
<customersupport(_at_)ibmdw(_dot_)email-publisher(_dot_)com>

fetchmail: SMTP< 220 quartz.unixplanet.co.uk ESMTP Postfix
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-quartz.unixplanet.co.uk
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 10240000
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XVERP
fetchmail: SMTP< 250 8BITMIME
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<OcQ3sQIBAQAEek8ACQAAZm8CNaUMIQ(_at_)developerworks(_dot_)b(_dot_)tclk(_dot_)net> SIZE=34624
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> RCPT TO:<root(_at_)localhost>
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#****************.***.***.***********.*****.**********************.***.**.******************.********************.******.********.*************************.********.*******.*******.*******.*******.********.**********.**********.************.*********.*********.******************.*************.***************.**************.************************.*************.************************.************.***************.**********fetchmail: message quartz(_at_)mail(_dot_)plus(_dot_)net:1 was not the expected length (35038 actual != 34624 expected)
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok: queued as AD364B03FD
flushed
fetchmail: POP3> DELE 1
fetchmail: POP3< +OK
fetchmail: POP3> QUIT
fetchmail: POP3< +OK
fetchmail: 6.2.0 querying mail.plus.net (protocol POP3) at Thu 28 Aug 2003 07:39:46 PM BST: poll completed
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 Bye
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 0
fetchmail: Deleting fetchids file.


The line "not swapping UID lists, no UIDs seen this query" seems pertinent but what does it mean?

Peter



<Prev in Thread] Current Thread [Next in Thread>