Re: Need Outbound Only
On Tirs, Juli 28, 2009 17:42, Serge Fonville wrote: To turn off incoming mail completely, comment out the smtp ... smtpd service in master.cf. Wouldn't that completely disable smtp then? smtpd_ != smtp_ with smtpd disabled postfix can still work as client to a mx or smarthost -- xpoint
Need Outbound Only
Hallo; I would like to configure postfix to send whatever is in its queue to whatever is setup as smarthost, but *NOT* listen for incoming mail; this particular server is not a mail relay and I do not want to allow it to be an open relay. Anything I must specifically perform? Thanks many, .vp
Re: Need Outbound Only
Hi, I would like to configure postfix to send whatever is in its queue to whatever is setup as smarthost, but *NOT* listen for incoming mail; this particular server is not a mail relay and I do not want to allow it to be an open relay. Start by looking here: http://groups.google.com/group/mailing.postfix.users/browse_thread/thread/7852b397d05ebb20/011bd8c4cfc7bc1b?lnk=raot HTH Regards, Serge Fonville
RE: Need Outbound Only
Thanks Serge, my needs are different. What I've done so far was the following: myhostname = nonrelayhost.example.com mynetworks = 127.0.0.0/8, 192.168.100.10/32 # Or, this? # mynetworks = 127.0.0.0/8, $myhostname The above might work, but would still require manually masagging the file, I am hoping for a more generic client config that needs no mods. Thanks all! .vp From: serge.fonvi...@gmail.com Hi, I would like to configure postfix to send whatever is in its queue to whatever is setup as smarthost, but *NOT* listen for incoming mail; this particular server is not a mail relay and I do not want to allow it to be an open relay. Start by looking here: http://groups.google.com/group/mailing.postfix.users/browse_thread/thread/7852b397d05ebb20/011bd8c4cfc7bc1b?lnk=raot HTH Regards, Serge Fonville
Need Outbound Only
Thanks Serge, my needs are different. What I've done so far was the following: myhostname = nonrelayhost.example.com mynetworks = 127.0.0.0/8, 192.168.100.10/32 # Or, this? # mynetworks = 127.0.0.0/8, $myhostname If you just want to block incoming mails from outside your network use a block or reject rule with iptables and either specify the wan interface or a subnet exclusion/inclusion HTH
Re: Need Outbound Only
wiskbr...@hotmail.com wrote: Thanks Serge, my needs are different. What I've done so far was the following: myhostname = nonrelayhost.example.com mynetworks = 127.0.0.0/8, 192.168.100.10/32 # Or, this? # mynetworks = 127.0.0.0/8, $myhostname The above might work, but would still require manually masagging the file, I am hoping for a more generic client config that needs no mods. Thanks all! .vp From: serge.fonvi...@gmail.com Hi, I would like to configure postfix to send whatever is in its queue to whatever is setup as smarthost, but *NOT* listen for incoming mail; this particular server is not a mail relay and I do not want to allow it to be an open relay. Start by looking here: http://groups.google.com/group/mailing.postfix.users/browse_thread/thread/7852b397d05ebb20/011bd8c4cfc7bc1b?lnk=raot HTH Regards, Serge Fonville To turn off incoming mail completely, comment out the smtp ... smtpd service in master.cf. -- Noel Jones
Re: Need Outbound Only
To turn off incoming mail completely, comment out the smtp ... smtpd service in master.cf. Wouldn't that completely disable smtp then?
Re: Need Outbound Only
* Serge Fonville serge.fonvi...@gmail.com: To turn off incoming mail completely, comment out the smtp ... smtpd service in master.cf. Wouldn't that completely disable smtp then? Incoming, yes. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de
Re: Need Outbound Only
* Serge Fonville serge.fonvi...@gmail.com: To turn off incoming mail completely, comment out the smtp ... smtpd service in master.cf. Wouldn't that completely disable smtp then? Incoming, yes. Perhaps I misunderstood then, but when would a mail be send then if it can't listen to SMTP requests? To me, sending a mail goes like this Client makes connection to smtp server Client talks smtp to server Server determines whom the mail is for Server sends (or stores) the mail to wherever it is supposed to When there is no SMTP server, how would a (local) client send a mail through it? Perhaps the OP can clarify a bit more, because an MTA without SMTP seems kinda useless to me...
Re: Need Outbound Only
* Serge Fonville serge.fonvi...@gmail.com: * Serge Fonville serge.fonvi...@gmail.com: To turn off incoming mail completely, comment out the smtp ... smtpd service in master.cf. Wouldn't that completely disable smtp then? Incoming, yes. Perhaps I misunderstood then, but when would a mail be send then if it can't listen to SMTP requests? Via sendmail maybe? To me, sending a mail goes like this Client makes connection to smtp server Client talks smtp to server Server determines whom the mail is for Server sends (or stores) the mail to wherever it is supposed to When there is no SMTP server, how would a (local) client send a mail through it? Perhaps the OP can clarify a bit more, because an MTA without SMTP seems kinda useless to me... People want strange things all the time :) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de
RE: Need Outbound Only
Thanks all; Instead of locking down access to smtpd for loopback and local IP address, I've simply commented out smtpd, but not smtp, it works! Thanks, .vp From: ralf.hildebra...@charite.de * Serge Fonville : * Serge Fonville : To turn off incoming mail completely, comment out the smtp ... smtpd service in master.cf. Wouldn't that completely disable smtp then? Incoming, yes. Perhaps I misunderstood then, but when would a mail be send then if it can't listen to SMTP requests? Via sendmail maybe? To me, sending a mail goes like this Client makes connection to smtp server Client talks smtp to server Server determines whom the mail is for Server sends (or stores) the mail to wherever it is supposed to When there is no SMTP server, how would a (local) client send a mail through it? Perhaps the OP can clarify a bit more, because an MTA without SMTP seems kinda useless to me... People want strange things all the time :) -- Ralf Hildebrandt