|
From: Dominic R. <dl...@ed...> - 2010-02-09 09:34:38
|
to get information from postfix about your settings, try: postfix check 2>&1| grep -v "not owned" and look at recent log messages (e.g. after trying to send an email): cat /dev/vcs10 | grep postfix or my DL page http://www.edendevelopments.co.uk/dlsetup#postfix might help Dominic James Kessler wrote: > Thank you very much. This all seems clear, however I am receiving errors > when attempting to SEND email now using postfix. I was wondering if > maybe you could give a quick overview of how so that I can check my > settings? I appreciate any help. > > On Fri, Feb 5, 2010 at 3:30 AM, Markus Winkler <ml...@ir... > <mailto:ml...@ir...>> wrote: > > 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 <http://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 > > > -- > James E. Kessler > 6185 Lake Waldon Drive > Clarkston, MI, 48346 > |