OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: SMTP to receive, SMTPS to send ?

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Fri Mar 17 2006 - 08:07:08 CST


On Fri, Mar 17, 2006 at 10:00:40AM +0100, Frank Bonnet wrote:

> Is it possible to have on the _same_ machine (same IP address)
> one SMTP Postfix instance to receive emails (and not to send)
> one SMTPS Postfix instance to send emails ?

Yes. Each Postfix instance needs its own configuration directory and its
own spool directory. Setting "syslog_name" to an instance specific value
is also highly recommended. Naturally no two instances can listen on the
same IP address and port. On many operating systems wildcard bindings
(*:25) are mutually incompatible with more specific bindings (IP:25).

To start a secondary Postfix, use "postfix -c /second/config start".
To enable setgid (postdrop/postqueue) access to the secondary queue
list the secondary configuration directory in the primary (/etc/postfix)
main.cf under the alternate_config_directories parameter.

Decide which instance handes locally submitted mail (cron, logged-in
users, ...) and make sure that is is the one that resides in /etc/postfix
(i.e. the compiled-in defaulf configuration directory as reported by
postconf -dh config_directory).

--
        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:majordomopostfix.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.