smtpd_recipient_restrictions = reject
Thanks
> I would like to setup Postfix to receive mail only, not allowing any
> outgoing mail.
Define outgoing.
> I'm having difficulty figuring out how to do this. Do I just put:
> smtpd_recipient_restrictions = reject
No, that blocks all INCOMING mail
--
Ralf Hildebrandt (Ralf.Hil...@charite.de) spam...@charite.de
Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155
http://www.postfix-buch.com
I am your darkest, gibbering, omnipresent sweaty, shivering nightmare,
made real. There. Feel better? Now you know how evil I am, we can get
down to business.
On 1/17/06, Ralf Hildebrandt <Ralf.Hil...@charite.de> wrote:
> * Bryce Fischer <br...@berzerker-soft.com>:
>
> > I would like to setup Postfix to receive mail only, not allowing any
> > outgoing mail.
>
> Define outgoing.
>
> > I'm having difficulty figuring out how to do this. Do I just put:
> > smtpd_recipient_restrictions = reject
>
If its people that are on the same network (ie, mail that
is not generated locally via /usr/sbin/sendmail) then just
remove the hosts/networks out of your mynetworks.
Cami
Dan
On Tue, 2006-01-17 at 11:27 -0500, Bryce Fischer wrote:
> I want to use my postfix (for now) to receive emails but not be able to send.
>
>
> On 1/17/06, Ralf Hildebrandt <Ralf.Hil...@charite.de> wrote:
> > * Bryce Fischer <br...@berzerker-soft.com>:
> >
> > > I would like to setup Postfix to receive mail only, not allowing any
> > > outgoing mail.
> >
> > Define outgoing.
> >
> > > I'm having difficulty figuring out how to do this. Do I just put:
> > > smtpd_recipient_restrictions = reject
> >
Thanks Cami,
mynetworks is currently set to the default. Is it possible to set it
to an empty/null value?
Why not set it to 127.0.0.1/32?
--
Ralf Hildebrandt (Ralf.Hil...@charite.de) spam...@charite.de
Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155
http://www.postfix-buch.com
Due to a lack of imagination, this signature will remain under
construction indefinitely.
I'm trying to disable local emailing, or at least any email that
hasn't been authenticated using SASL.
Then you'd have to disable sendmail as well
--
Ralf Hildebrandt (Ralf.Hil...@charite.de) spam...@charite.de
Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155
http://www.postfix-buch.com
Of course it doesn't work, but look how fast it is!
-- fefe
That's fine, as long as mail can still be received for local recipients...
This is not possible, anyone who can submit mail to local users via
sendmail(1), can also submit mail to remote users. The best you can do
is make all remote destinations bounce back to the local sender.
default_transport = error:External deliveries disabled
This breaks bounces, so you need a separate Postfix instance for local
delivery and incoming mail. The default (/etc/postfix) instance should
be for local delivery and not run smtpd, while the inbound instance
(/etc/postfix-in) should accept only mail for local recipients.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majo...@postfix.org?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
Can't he do this:
- remove permit_mynetworks so that nobody can "relay"
- use an empty map for authorized_submit_mumble so that sendmail doesn't
alow anybody.
> Victor Duchovni a ?crit :
No, because he wants local users to be able to use sendmail(1) to send to
other local users. So all remote deliveries must bounce, but this breaks
bounces for local delivery failures, so two MTA instances are required,
one for local submission and another for remote to MX delivery.