CVSROOT:        /cvs
Module name:    src
Changes by:     jac...@cvs.openbsd.org  2009/04/09 13:49:34

Modified files:
        usr.sbin/smtpd : lka.c mta.c parse.y smtp.c smtp_session.c 
                         smtpd.h ssl.c 

Log message:
change syntax of the "listen on" and "relay via" directives:
1) kill the ssmtp keyword in "ssmtp listen on ...";
2) kill the use keyword in "... use certificate foo";
3) tls no longer implicit, user must explicitely use the tls or smtps option.
4) for "relay via", move the tls/smtps options to right after the
port specification; makes it similar to "listen on".

These directives:

ssmtp listen on fxp0 use ceritifate "foo"
accept for all relay via tls "mx.bar.com"

now become:

listen on fxp0 smtps certificate "foo"
accept for all relay via "mx.bar.com" tls

ok gilles@

Reply via email to