|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: "send-only" mode - any other option?
From: mouss (usebsd
free.fr)
Date: Tue Aug 29 2006 - 13:51:07 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
sutha kar wrote:
> is there any other way of disabling smtpd other than
> editing master.cf file? i would like to run postfix in
> mixed mode (send-only mode for a while and then in
> normal mode) i can comment/uncomment the line in
> master.cf using a script but i would like to know if
> ther is a better reliable approach for doing this?
>
> _
If your smtpd is on one line (no -o options), then grep -v should do.
Otherwise:
if you don't mind having it listen on loopback, then
# postconf -e inet_interfaces=127.0.0.1; postfix stop; postfix start
to "disable" reception, and
# postconf -e inet_interfaces=all; postfix stop; postfix start
to enable it.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]