tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Please consider replace src/dist/nvi with nvi2

On Tue, Oct 09, 2012 at 05:46:02AM -0500, Zhihao Yuan wrote:
> On Tue, Oct 9, 2012 at 5:39 AM, Manuel Bouyer 
> <> wrote:
> > On Tue, Oct 09, 2012 at 05:31:14AM -0500, Zhihao Yuan wrote:
> >> How? I use getaddrinfo(3) to find a "smtp" service, and I think such
> >> an assumption is already standard and reasonable enough.
> >
> > No, you can't expect to have something listening on the smtp port on
> > the local machine. In the default setup, NetBSD doesn't have anything
> > listening on port 25. You don't have to have the port 25 open to be
> > able to send mail.
> FreeBSD always requires a outgoing delivery service

So does NetBSD

> periodic, cron... too many things sends email to users. Could you tell
> me how NetBSD deal with these?

/usr/sbin/sendmail (for the sendmail or postfix MTA), when invoqued to
send mail, place the message to be sent in the local queue
(if it is considered local) or connects to the remote smtp port (if it is
consided non-local). When placed in the local queue, the local daemon will
pick it up there and procees it. But nothing there requires a daemon
listening on the smtp port on the local system.

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index