Here is an updated diff integrating different suggestions I received.
- use -T (for TLS) instead of -O
- use getsubopt(3) which I didn't know
- manpage tweaks
Eric.
Index: smtp.1
===
RCS file: /cvs/src/usr.sbin/smtpd/smtp.1,v
retrie
On Fri, May 14, 2021 at 03:38:12PM +0200, Eric Faurot wrote:
> Hello.
>
> This diff allows to specify protcols and ciphers in smtp(1).
> I thought it was cleaner to added a generic -O option flag for this.
I'm ok with this.
Two small points to consider:
Perhaps using -T as in nc(1) might make s
Hello.
This diff allows to specify protcols and ciphers in smtp(1).
I thought it was cleaner to added a generic -O option flag for this.
Eric.
Index: smtp.1
===
RCS file: /cvs/src/usr.sbin/smtpd/smtp.1,v
retrieving revision 1.9
diff