fetchmail and cyrus lmtp

belgabor at gmx.de belgabor at gmx.de
Tue Jun 3 22:07:34 EDT 2003


the following worked for me:
   smtphost "localhost/2003" smtpaddress "" lmtp;
I'm running lmtpd via TCP since I never got it to work with sockets.
Probably just 'smtphost ""' should be enogh to make it work.

Cheers
Tobias

> I had a great deal of trouble with fetchmail forwarding into cyrus until
> I added the "smtpname" clause to each line in fetchmailrc, eg you might
> use:
> 	smtpname "raphael at localhost"
> or some similar variant. I don't know if that will help you, but was I
> was getting was lmtp syntax errors on the FIRST message retrieved with
> each fetchmail run to do a problemin the way fetchmail was creating the
> RCPT TO line in the forwarded email; adding the smtpname clause fixed it
> although I was unable to pin down exactly where in the source code the
> problem was arising.
> 
> Good luck.
> nl
> 
> On Tue, 2003-06-03 at 19:42, Raphaël "SurcouF" Bordet wrote:
> > Hi,
> > 
> > 	I've got some troubles with fetchmail I have configured like this
> > following, under Debian sid as daemon:
> > 
> > /etc/fetchmailrc:
> > ---
> > poll pop3.orange.fr proto pop3 
> > 	user "06********" is raphael here
> > 	password "********"
> > 	smtphost "/var/run/cyrus/socket/lmtp"
> > 	fetchdomains	choranche.grotte.org
> > ---
> > I don't want use local smtp server because it redondant: postfix already
> > send mail to cyrus via lmtp... But, when fetchmail retreive a remote
> > mail, I've got this following in /var/log/mail.info:
> > 
> > /var/log/mail.info:
> > ---
> > Jun  4 01:15:39 mabelrode fetchmail[511]: 1 message for 0672889480 at
> > pop3.orange.fr (2803 octets). 
> > Jun  4 01:15:39 mabelrode fetchmail[511]: reading message
> > 0672889480 at pop3.orange.fr:1 of 1 (2803 octets) 
> > Jun  4 01:15:39 mabelrode fetchmail[511]: LMTP error: 501 5.5.4 Syntax
> > error in parameters 
> > ---
> > 
> > But, I've set cyrus to bind lmtp TCP port... Any idea ?
> > 
> > Best regards,
> > 
> > -- 
> > Raphaël "SurcouF" Bordet
> > surcouf at grotte.org
> > 
> 
> 
> 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!





More information about the Info-cyrus mailing list