fetchmail-friends
[Top] [All Lists]

[fetchmail] fetchmail + courier-mta

2003-10-02 17:28:11
hi,

I have spent some time searching archives of many lists etc and have not
yet found a solution to my problem.

I am running RH8 with fetchmail 5.9.0+IMAP-GSS+NTLM+SSL+INET6+NLS
and courier-mta. I am trying to set up my email such that fetchmail will
pop off the email from my ISP and hand it on to courier.

Trouble is, while I got fetchmail working by itself no problems, and
courier working no problems either, I just can't get them to talk to
each other. This is my .fetchmailrc:

set syslog
poll pop.<ISP server>
        protocol pop3
        username testuser here is testuser there
        password <password>
        smtphost rh-possum
        smtpname testuser(_at_)rh-possum(_dot_)localdomain
        fetchall
        flush
        pass8bits
        stripcr

I have generated an email from the command line using
echo test |/usr/lib/courier/bin/sendmail testuser(_at_)celentia(_dot_)com

and this is the error I am seeing with fetchmail -v -v -v when I try to
get it back from the ISP.

Oct  3 09:20:56 localhost fetchmail[4123]: 5.9.0 querying
pop.celentia.com (protocol POP3) at Fri 03 Oct 2003 09:20:56 EST
Oct  3 09:20:56 localhost fetchmail[4123]: POP3< +OK
<10750(_dot_)1065135863(_at_)bne001nfs>
Oct  3 09:20:56 localhost fetchmail[4123]: POP3> CAPA^M
Oct  3 09:20:56 localhost fetchmail[4123]: POP3< -ERR authorization
first
Oct  3 09:20:56 localhost fetchmail[4123]: authorization first
Oct  3 09:20:56 localhost fetchmail[4123]: POP3> USER testuser^M
Oct  3 09:20:56 localhost fetchmail[4123]: POP3< +OK
Oct  3 09:20:56 localhost fetchmail[4123]: POP3> PASS *^M
Oct  3 09:20:56 localhost fetchmail[4123]: POP3< +OK
Oct  3 09:20:59 localhost fetchmail[4123]: POP3> STAT
Oct  3 09:20:59 localhost fetchmail[4123]: POP3< +OK 1 679
Oct  3 09:20:59 localhost fetchmail[4123]: 1 message for testuser at
pop2.bne.server-mail.com (679 octets).
Oct  3 09:20:59 localhost fetchmail[4123]: POP3> LIST^M
Oct  3 09:20:59 localhost fetchmail[4123]: POP3< +OK
Oct  3 09:20:59 localhost fetchmail[4123]: POP3< 1 679
Oct  3 09:20:59 localhost fetchmail[4123]: POP3< .
Oct  3 09:20:59 localhost fetchmail[4123]: POP3> RETR 1
Oct  3 09:20:59 localhost fetchmail[4123]: POP3< +OK
Oct  3 09:20:59 localhost fetchmail[4123]: reading message 1 of 1 (679
octets)
Oct  3 09:20:59 localhost fetchmail[4123]: SMTP< 220 rh-possum ESMTP
Oct  3 09:20:59 localhost fetchmail[4123]: SMTP> EHLO localhost
Oct  3 09:20:59 localhost courieresmtpd: started,ip=[::ffff:127.0.0.1]
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP< 250-rh-possum Ok.
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP< 250-XVERP=Courier
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP< 250-XEXDATA
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP<
250-XSECURITY=NONE,STARTTLS
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP< 250-PIPELINING
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP< 250-8BITMIME
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP< 250-SIZE
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP< 250 DSN
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP> MAIL
FROM:<testuser(_at_)rh-possum>
BODY=8BITMIME SIZE=679
Oct  3 09:21:00 localhost courieresmtpd:
error,relay=::ffff:127.0.0.1,from=<testuser(_at_)rh-possum>: 517 Syntax
error.
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP< 517 Syntax error.
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP error: 517 Syntax error.
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP< 220 rh-possum ESMTP
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP> HELO localhost
Oct  3 09:21:00 localhost courieresmtpd: started,ip=[::ffff:127.0.0.1]
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP< 250 rh-possum Ok.
Oct  3 09:21:00 localhost fetchmail[4123]: SMTP> MAIL
FROM:<FETCHMAIL-DAEMON(_at_)localhost>
Oct  3 09:21:00 localhost courieresmtpd:
error,relay=::ffff:127.0.0.1,from=<FETCHMAIL-DAEMON(_at_)localhost>: 517
Syntax error.
Oct  3 09:21:01 localhost fetchmail[4123]: SMTP< 517 Syntax error.
Oct  3 09:21:01 localhost fetchmail[4123]: SMTP> RSET
Oct  3 09:21:08 localhost fetchmail[4123]: SMTP< 250 Ok
Oct  3 09:21:08 localhost fetchmail[4123]:  not flushed
Oct  3 09:21:08 localhost fetchmail[4123]: POP3> QUIT^M
Oct  3 09:21:08 localhost fetchmail[4123]: POP3< +OK
Oct  3 09:21:08 localhost fetchmail[4123]: SMTP> QUIT
Oct  3 09:21:08 localhost fetchmail[4123]: SMTP< 221 Bye.
Oct  3 09:21:08 localhost fetchmail[4123]: normal termination, status 0


Please could someone give me some ideas of what to try next. I have
tried all sorts of combinations of localhost.localdomain, localhost,
rh-possum, rh-possum.localdomain ...and they all give the same errors.

Thanks so much, gillian

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