D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] fetchmail woes



Here was the plan ...

POP the email from the ISP using fetchmail.
Deliver the mail locally using courier-mta.
Serve the mail to the masses using courier-imap.

That was fine, except for fetchmail

Using the following config:

set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
set daemon 60

poll pop.server envelope Delivered-To: proto POP3 
       localdomains domain1.tld domain2.tld:
       username 'username' password 'password' to * here 
       smtpaddress applegate.co.uk


I get (under a debug-run):

/etc/init.d/fetchmail: RUNUSER is fetchmail
/etc/init.d/fetchmail: OPTIONS would be --daemon 300 --syslog -f /etc/fetchmailrc -i 
/var/mail/.fetchmail-UIDL-cache
fetchmail: starting fetchmail 5.9.11 daemon 
fetchmail: 5.9.11 querying mail.eclipse.co.uk (protocol POP3) at Tue Sep 17 11:22:17 
2002: poll started
fetchmail: POP3< +OK POP3 Ready serpens.eclipse.net.uk
fetchmail: POP3> USER su7943
fetchmail: POP3< +OK USER su7943 set
fetchmail: POP3> PASS 
fetchmail: POP3< +OK You are so in
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 3 8048
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
3 messages for su7943 at mail.eclipse.co.uk (8048 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK 
fetchmail: POP3< 1 1558
fetchmail: POP3< 2 1556
fetchmail: POP3< 3 4934
fetchmail: POP3< .
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK 1558 octets 
reading message su7943@xxxxxxxxxxxxxxxxxx:1 of 3 (1558 octets)
About to rewrite Return-Path: <steve@xxxxxxxx>
Rewritten version is Return-Path: <steve@xxxxxxxx>

About to rewrite To: steve@xxxxxxxxxxxxxxx
Rewritten version is To: steve@xxxxxxxxxxxxxxx

About to rewrite From: Steve Marvell <steve@xxxxxxxx>
Rewritten version is From: Steve Marvell <steve@xxxxxxxx>

fetchmail: passed through steve@xxxxxxxxxxxxxxx matching applegate.co.uk
fetchmail: SMTP< 220 debian ESMTP
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-debian Ok.
fetchmail: SMTP< 250-XVERP=Courier
fetchmail: SMTP< 250-XEXDATA
fetchmail: SMTP< 250-XSECURITY=NONE,STARTTLS
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250 DSN
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<steve@xxxxxxxx> SIZE=1558
fetchmail: SMTP< 250 Ok.
fetchmail: SMTP> RCPT TO:<steve@xxxxxxxxxxxxxxx>
fetchmail: SMTP< 250 Ok.
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Ok.
fetchmail: message su7943@xxxxxxxxxxxxxxxxxx:1 was not the expected length (1592 
actual != 1558 expected)
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok. 3D87025E.000008BF
flushed
fetchmail: POP3> DELE 1
fetchmail: POP3< +OK 
fetchmail: POP3> TOP 2 99999999
fetchmail: POP3< +OK 1556 octets 
reading message su7943@xxxxxxxxxxxxxxxxxx:2 of 3 (1556 octets)
About to rewrite Return-Path: <steve@xxxxxxxx>
Rewritten version is Return-Path: <steve@xxxxxxxx>

About to rewrite To: steve@xxxxxxxxxxxxxxx
Rewritten version is To: steve@xxxxxxxxxxxxxxx

About to rewrite From: Steve Marvell <steve@xxxxxxxx>
Rewritten version is From: Steve Marvell <steve@xxxxxxxx>

fetchmail: passed through akb@xxxxxxxxxxxxxxx matching applegate.co.uk
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<steve@xxxxxxxx> SIZE=1556
fetchmail: SMTP< 250 Ok.
fetchmail: SMTP> RCPT TO:<akb@xxxxxxxxxxxxxxx>
fetchmail: SMTP< 250 Ok.
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Ok.
fetchmail: message su7943@xxxxxxxxxxxxxxxxxx:2 was not the expected length (1590 
actual != 1556 expected)
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok. 3D870264.000008C4
flushed
fetchmail: POP3> DELE 2
fetchmail: POP3< +OK 
fetchmail: POP3> TOP 3 99999999
fetchmail: POP3< +OK 4934 octets 
reading message su7943@xxxxxxxxxxxxxxxxxx:3 of 3 (4934 octets)
About to rewrite Return-Path: <dentalplans@xxxxxxxxxxxxxx>
Rewritten version is Return-Path: <dentalplans@xxxxxxxxxxxxxx>

About to rewrite To: estions@xxxxxxxxxx
Rewritten version is To: estions@xxxxxxxxxx

About to rewrite From: DentalPlans@xxxxxxxxxxxxxx
Rewritten version is From: DentalPlans@xxxxxxxxxxxxxx

About to rewrite Sender: DentalPlans@xxxxxxxxxxxxxx
Rewritten version is Sender: DentalPlans@xxxxxxxxxxxxxx

About to rewrite Reply-To: <DentalPlans@xxxxxxxxxxxxxx>
Rewritten version is Reply-To: <DentalPlans@xxxxxxxxxxxxxx>

fetchmail: no local matches, forwarding to postmaster
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<dentalplans@xxxxxxxxxxxxxx> BODY=7BIT SIZE=4934
fetchmail: SMTP< 250 Ok.
fetchmail: SMTP> RCPT TO:<postmaster@xxxxxxxxxxxxxxx>
fetchmail: SMTP< 250 Ok.
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Ok.
fetchmail: message su7943@xxxxxxxxxxxxxxxxxx:3 was not the expected length (5051 
actual != 4934 expected)
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok. 3D870264.000008D4
flushed
fetchmail: POP3> DELE 3
fetchmail: POP3< +OK 
fetchmail: POP3> QUIT
fetchmail: POP3< +OK 
fetchmail: 5.9.11 querying mail.eclipse.co.uk (protocol POP3) at Tue Sep 17 11:22:29 
2002: poll completed
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 Bye.
fetchmail: Deleting fetchids file.
fetchmail: sleeping at Tue Sep 17 11:22:29 2002
fetchmail: terminated with signal 2
fetchmail: Deleting fetchids file.
/etc/init.d/fetchmail: End of service run. Exit status was: 0


WTF is up with that?

Steve

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly