On Mon, Nov 30, 2015 at 10:54:02AM +0100, [email protected] wrote: > How to send email with subject and sender name and sender address set ? > > > man sendmail.opensmtpd > - "The sendmail enqueuer is not intended to be used directly to send mail, > but rather via a frontend known as a mail user agent." > > mailx has option -s (add subject). > But sendmail has not: > sendmail -v -s "111" [email protected] > sendmail: illegal option -- s > usage: sendmail [-tv] [-f from] [-F name] to ... > > sendmail.opensmtpd has options -f -F > But mailx has not: > mailx -v -s "111" -f [email protected] -F myself [email protected] > More than one file given with -f > Usage: mailx -eiIUdEFntBDNHRVv~ -T FILE -u USER -h hops -r address -s SUBJECT > -a FILE -q FILE -f FILE -A ACCOUNT -b USERS -c USERS -S OPTION users >
Our sendmail interface still needs work. In fact I'm very unhappy with the enqueuer code which originally came by duplicating the code of a properly licensed MUA and tweaking it until it could be used as an enqueuer. We need a proper enqueuer, maybe I can find time to do it in 2016 :-) -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
