sendmail && dhcp

Perry Hutchison perryh at pluto.rain.com
Fri Feb 27 03:48:50 UTC 2015


Lowell Gilbert <freebsd-questions-local at be-well.ilk.org> wrote:
> Matthias Apitz <guru at unixarea.de> writes:
> > I fetch my mails from my ISP with fetchmail and pipe them
> > through sendmail and procmail (for filtering); and I send
> > upstream with SMPT && SSL to my ISP using sendmail ... it is
> > so nice to connect a few seconds(!) to fetch all your mails,
> > shutdown the link, read and answer the mails offline, queue
> > answers with sendmail, and re-open the link for a few seconds
> > to send the mails out.
>
> You don't need a sendmail daemon for that.

There's no need to involve sendmail at all (on the receive side)
for that.  Depending on the MUA the OP might need one for sending --
some MUAs only support sending via SMTP, not by fork/exec sendmail.

> Tell fetchmail to invoke sendmail itself instead of delivering
> to a local TCP port

AFAIK there is no need for one MTA (fetchmail) to invoke another
MTA (sendmail) just to get to a third mail agent[*] (procmail).
Have fetchmail invoke procmail directly.

[*] I don't remember offhand whether procmail is considered an MTA
    or an LDA, and for this analysis it doesn't matter.


More information about the freebsd-questions mailing list