On Mon, Jan 26, 2009 at 12:58 PM, Bjørn Ruberg <bj...@ruberg.no> wrote:

> Brian Evans - Postfix List wrote:
>
>> MountainX wrote:
>>
>>
>>> I only want my local machine to be able to send email out. I won't want
>>> to
>>> receive email.
>>>
>>>
>> [...]
>
>
>> Postfix listens for all connections on inet_interfaces.
>>
>> The easiest, and best, way is to block these in your Linux firewall
>>
>>
>
> An even easier alternative is to let Postfix listen to localhost only, by
> adding "127.0.0.1:" in front of the "smtp" configuration setting in
> master.cf, so that it says something like this:
>
> 127.0.0.1:smtp      inet  n       -       -       -       -       smtpd
>
> That way it will not be directly reachable from the outside.
>
> --
> Bjørn
>

OK, I did this too. (In addition to setting inet_interfaces = 127.0.0.1 in
main.cf.)

I'll do the firewall too if I can easily do it via webmin.

Reply via email to