Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2002 17:00:08 -0700 (PDT)
From:      Bill Schoolcraft <bill@wiliweld.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: fetchmail
Message-ID:  <Pine.LNX.4.21.0205031654390.801-100000@corten8>
In-Reply-To: <20020503172229.A15598@bsag.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
At Fri, 3 May 2002 it looks like Hanspeter Roth composed:

>   On May 03 at 10:08, Henning, Brian spoke:
> 
> > Hello,
> > 
> > I am trying to get fetchmail to work on my BSD box but i am having some
> > problems.  I get a error message of 
> > 'SMTP connect to localhost failed' as shown below. I am pretty sure I have
> > it configured properly on the fetchmail side. Do i need to have sendmail
> > installed and configured to use fetchmail? If so can you direct me to some
> 
> Afaik fetchmail needs an MTA such as sendmail listening on port 25
> or 587.
> Have you tried sendmail_enable="YES" in /etc/rc.conf?
> What does `netstat -an|grep \\\*` tell?
> 

Hmm, for general users machines I just bypass Sendmail and use
procmail as my MDA with this .fetchmailrc file:

(example of .fetchmailrc)
#########################
set daemon 300

poll ruby.he.net with protocol POP3: user steve there with
password sy67Gbe is stephan here mda "/usr/bin/procmail -f - " 
#########################

That's the whole file period. I just start fetchmail with:

fetchmail -a

and it starts.

If you want to set that file up and just "check" and see if the file
works, use the following command.

fetchmail -c

Fetchmail may complain about some perms but it'll tell you what
permissions it wants in it's error.

-- 
Bill Schoolcraft            
PO Box 210076                 -o)
San Francisco CA 94121         /\
"UNIX, A Way Of Life."        _\_v
http://forwardslashunix.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0205031654390.801-100000>