|
From: Markus W. <ml...@ir...> - 2010-02-05 08:50:21
|
On 04.02.2010 23:08 James Kessler wrote: > > Postfix to send outgoing emailing messages, however I wish to disable > the ability to receive messages. So in essence I would like to enable > outgoing and disable incoming messaging. After reading the config file I > am a little confused with how to disable incoming messages. As Gordon wrote you can block incoming traffic to port 25 via netfilter or an external firewall. That's one possible solution. But also with Postfix itself this is no problem. Postfix only accepts incoming mail for domains which are listed in either (parameters in main.cf): - mydestination - relay_domains - virtual_alias_domains If there are no domains and/or hostnames listed, then Postfix will reject all incoming e-mails. You can verify the current effective settings via 'postconf -n'. It depends on your environment which is the better solution for you. Regards, Markus |