On Wed, Nov 11, 2009 at 12:53:05PM -0800, Cameron Smith wrote:

> Hello,
> 
> When entering smtp and smtps in transport I am getting an error:
> postmap: warning: /etc/postfix/transport.db: duplicate entry: "example.com"
> 
> 
> example.com   smtp:[10.2.4.7]
> example.com   smtps:[10.2.4.7]
> 
> What is the correct syntax to have both?

There is no such syntax. Each recipient address resolves to exactly
one transport. What do you expect "smtps" to do anyway? If you want
"STARTTLS", the "smtp" transport will do that either opportunistically,
or on a per-destination basis:

    http://www.postfix.org/TLS_README.html#client_tls_levels
    http://www.postfix.org/TLS_README.html#client_tls_policy
    http://www.postfix.org/TLS_README.html#client_tls_may
    http://www.postfix.org/TLS_README.html#client_tls_encrypt
    http://www.postfix.org/TLS_README.html#client_tls_secure

-- 
        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:majord...@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.

Reply via email to