Martín Marqués a écrit :
> I'm looking to put a smtp server to deliver mails from a non-smtp
> server (database, web server, etc.). I started looking at ssmtp and
> masqmail, but neither convinced me.
>
> So, as I'm using postfix in my mail servers, and I really like it, and
> know how to use it, I thought I would give it a try.
>
> The thing is, which would be the the smallest possible configuration
> to get postfix, with aliases enabled, just to output mail that comes
> from cron, execution of sendmail from command line and the use of the
> mail command (my thoughts start with which lines to comment out of
> master.cf)?
>
>   

Why comment out anything? just configure it to not accept mail from
other machines:

mynetworks = 127.0.0.1
smtpd_client_restrictions = permit_mynetworks, reject

This way, web apps can use either sendmail or smtp.

Reply via email to