annoying fetchmail issue

2003-01-17 Thread Scott R.
[please cc: me in replies as I am not currently subscribed to this list. 
 Thank you.]

I'm trying to configure fetchmail and procmail to work together and I'm 
running into a snag.  In the man page for fetchmail, it is stated that 
fetchmail attempts to deliver fetched mail to the local mailhost at port 
25 and if there is no listener there, it's supposed to look for 
procmail.  I have procmail installed (sendmail is disabled entirely with 
sendmail_enable=NONE), but fetchmail doesn't seem to know it's alive. 
 I get the following error in my maillog:

fetchmail[54779]: SMTP connect to localhost failed
fetchmail[54779]: SMTP transaction error while fetching from xxx.xxx.xxx
fetchmail[54779]: Query status=10 (SMTP)

I've been poring over the manpages and googling like crazy and I haven't 
found anything to tell me what I'm doing wrong.  This is incredibly 
frustrating and I would appreciate any enlightenment you have to offer.

Thanks in advance,
Scott


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: annoying fetchmail issue

2003-01-17 Thread Scott Robbins
On Fri, Jan 17, 2003 at 04:32:39PM -0800, Scott R. wrote:
 [please cc: me in replies as I am not currently subscribed to this list. 
  Thank you.]

 
  I get the following error in my maillog:
 
 fetchmail[54779]: SMTP connect to localhost failed
 fetchmail[54779]: SMTP transaction error while fetching from xxx.xxx.xxx
 fetchmail[54779]: Query status=10 (SMTP)
 
 I've been poring over the manpages and googling like crazy and I haven't 
 found anything to tell me what I'm doing wrong.  This is incredibly 
 frustrating and I would appreciate any enlightenment you have to offer.


I used to have a web page explaining how to use fetchmail with mutt, but 
changed it to use getmail.  Getmail seems to be preferred by people more 
knowledgeable than myself, and I've found that it seems to work better.

So, I'll send you to the page anyway, in case you feel like making the change.

http://home.nyc.rr.com/computertaijutsu/mutt.html

However, to answer your immediate questions--it'll work despite the error 
messages but you have to add to your .fetchmailrc


mda /usr/local/bin/procmail -d %T 

I've found you usually have to add that to each address which is being 
checked. That is if you have [EMAIL PROTECTED] and [EMAIL PROTECTED] each fetchmail
entry should have the mda entry afterwards.

Also, you might also need a .forward file in your home directory.  That will
just say  (including the double quotes)

|/usr/local/bin/procmail

With Fetchmail, you will get those errors, though it will deliver the mail,
with Getmail you won't.  


HTH

-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Xander: This is just too much. I mean, yesterday's my life like, 
uh oh, pop quiz. Today, it's rain of toads. 




msg15874/pgp0.pgp
Description: PGP signature