fetchmail-friends
[Top] [All Lists]

[fetchmail] Fetchmail and Exchange SMTP

2003-09-09 04:28:34
I'm trying to fetch mail from a Cyrus IMAP-server and deliver it into a
MS Exchange server. This gives me certain problems.

Exchange sometimes claims to be able to speak ESMTP and then doesn't. Is
there some way to force fetchmail to speak SMTP even though the host we
are forwarding to answers with ESMTP?

Exchange sometimes dies with an internal error. Fetchmail doesn't seem
to catch this properly and gets a socket error on the next message. I tried
to set the batchlimit option to 1, but that doesn't seem to work.
Shouldn't it?

/Martin

fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-foo.bar.se Hello [asdf.qwerty.se]
fetchmail: SMTP< 250-XEXCH50
fetchmail: SMTP< 250-HELP
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-DSN
fetchmail: SMTP< 250-SIZE 0
fetchmail: SMTP< 250-AUTH LOGIN
fetchmail: SMTP< 250 AUTH=LOGIN
fetchmail: forwarding to foo.bar.se/25
fetchmail: SMTP> MAIL FROM:<john(_at_)smith(_dot_)com> SIZE=105149
fetchmail: SMTP< 250 OK - mail from <john(_at_)smith(_dot_)com>; can
accomodate 105149 bytes
fetchmail: SMTP> RCPT TO:<nisse(_at_)hult(_dot_)se>
fetchmail: SMTP< 250 OK - Recipient <nisse(_at_)hult(_dot_)se>
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Send data.  End with CRLF.CRLF
fetchmail: IMAP< )
fetchmail: IMAP< A0006 OK FETCH completed
fetchmail: IMAP> A0007 FETCH 1 BODY.PEEK[TEXT]
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {104504}
 (104504 body octets) fetchmail: IMAP< )
fetchmail: IMAP< A0007 OK FETCH completed
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 421 Internal error. Connection closing
fetchmail: SMTP error: 421 Internal error. Connection closing
fetchmail: SMTP> RSET
 not flushed
fetchmail: IMAP> A0008 FETCH 2 RFC822.HEADER
fetchmail: IMAP< * 2 FETCH (RFC822.HEADER {1989}
<..>
fetchmail: forwarding to foo.bar.se/25
fetchmail: SIGPIPE thrown from an MDA or a stream socket error

<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail] Fetchmail and Exchange SMTP, Martin Domeij <=