Hi Roger,

On Mon, 08 Aug 2016 at 01:20:48 +0900, Roger Shimizu wrote:
> ====
> $ENV{'PERL_MAILERS'} = 'sendmail:/usr/bin/msmtp';
> $CONFIG{'mailer-send'} = [ 'sendmail' ];
> ====

You don't need to set ‘$CONFIG{'mailer-send'}’ on debian, as the method
already defaults to 'sendmail'.  An alternative is to set ‘mailer-send’
to a custom command, as follows:

    $CONFIG{'mailer-send'} = [ '/usr/bin/msmtp' ];

(This didn't work in Ryan's case due to the missing quotes: caff's
configuration file is Perl code.)

> In this way, we may add MUA support if we write an MTA wrapper.

However this requires a MUA that is able to work in batch mode, taking a
raw RFC822 body on the standard input and parsing the header to find the
recipients.  (In particular, it shouldn't mess up with the header or
with the MIME parts).  In other words, a sendmail-like MTA :-P

Cheers,
-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to