Tony Holmes:
> > > To force sendmail command-line submissions through the SMTP server,
> > > use this:
> > > 
> > > /etc/postfix/master.cf
> > >     pickup    fifo  n       -       n       60      1       pickup
> > >       -o content_filter=smtp:[127.0.0.1]:10025
> > >     [127.0.0.1]:10025
> > >         inet  n       -       n       -       -       smtpd
> > > 
> > > and remove 127.0.0.1 from mynetworks. Of course using some other
> > > interface than 127.0.0.1 will work too, but you'd have to firewall
> > > it.
> 
> Excellent, and easy! Suggestions from you both. I love the power and
> flexbilitt of postfix.

Of course it comes at a small performance price.

> > Removing the 127.0.0.1 (or whatever you use) from mynetworks of course
> > breaks mail relay access control, so you may have to keep it.
> 
> Actually I removed it and local submissions (which is all this box should
> allow) still worked. Hrm... :)

Postfix will accept mail, but the [127.0.0.1]:10025 SMTP server
would reject mail for remote recipients.

        Wietse

Reply via email to