|
From: James K. <jke...@gm...> - 2010-02-04 22:08:32
|
Hello, I am currently using Devil Linux that boots from CD. I want to use 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. Any help would be welcome. Thanks. -- James E. Kessler |
|
From: Gordon R. <ru...@cl...> - 2010-02-05 08:08:28
|
A firewall rule that blocks inbound traffic on port 25 might be the most expedient way to achieve what you want Gordon ----- Original Message ----- From: "James Kessler" <jke...@gm...> To: dev...@li... Sent: Thursday, February 4, 2010 5:08:25 PM Subject: [Devil-Linux-discuss] Postfix Hello, I am currently using Devil Linux that boots from CD. I want to use 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. Any help would be welcome. Thanks. -- James E. Kessler ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Devil-linux-discuss mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss |
|
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 |
|
From: James K. <jke...@gm...> - 2010-02-08 22:58:10
|
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...> 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): > > - 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 > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss > -- James E. Kessler 6185 Lake Waldon Drive Clarkston, MI, 48346 |
|
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 > |
|
From: Markus W. <ml...@ir...> - 2010-02-09 10:42:43
|
James, On Mon, 08 Feb 2010 at 05:58:03PM -0500, James Kessler wrote: > Thank you very much. This all seems clear, however I am receiving errors > when attempting to SEND email now using postfix. which errors exactly? Do you have an example from the logfile? And: from where do you want to send? From the Postfix server itself and/or from other clients in your network which want to use the Postfix server as an outgoing relay? Are they allowed to send (mynetworks)? Maybe you also could provide the output of postconf -n? Regards, Markus |