Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2002 10:38:50 -0500 (EST)
From:      Jason Hunt <leth@primus.ca>
To:        Nick Kraal <nick@arc.net.my>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: OTT: SMTP settings on FreeBSD
Message-ID:  <20021210095413.P6497-100000@lethargic.dyndns.org>
In-Reply-To: <018a01c2a046$76b4a3e0$53e173cb@arc.net.my>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 10 Dec 2002, Nick Kraal wrote:

> Perhaps slightly OTT. I would like to send mail out from my FreeBSD box via
> an external SMTP server and if possible retrieve mail via POP3. For whatever
> reason I don't want to use the local inbuilt sendmail.
>
> Any ideas or pointers?
>

Firstly, and sorrying for trolling, but unless you are running a mail
server, I personally think you might as well just use sendmail on a
workstation.  I'm not going to start yet another debate over MTAs, but
that is my opinion.  If you put 'sendmail_enable="NO"' in your
/etc/rc.conf, sendmail will not accept mail from anyone other than
localhost.  If you're really paranoid because you think sendmail is some
kind of big bad evil program and is a risk to your system just because of
a bad track record in the 1990's, even though it now runs as a
non-privileged user, install a different MTA :)  Chapter 20.4 of the
handbook can help you with this.  Better yet, block incoming port 25
connections.  However, most people will likely agree that simply setting
sendmail_enable="NO" should suffice.

Anyways, as for suggestions, I have my MUA (which is pine) configured to
send outgoing mail directly to my ISPs SMTP server, instead of giving it
to the local sendmail program.  It was easier to tell pine which SMTP
server to use, rather than giving all my mail to sendmail and configuring
it to forward all outgoing mail to the ISPs SMTP server.

I then configured fetchmail to download all my mail from my ISPs POP3
server.  I created a .fetchmailrc in my home directory, and then
configured a crontab to run fetchmail every 15 mins.  You can tell
fetchmail to either pass the messages to sendmail or to put them into your
mail spool directly.  I put them through sendmail so that I can use
procmail for sorting.

Hope this helps.


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




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