On Tue, 25 Jun 2013 11:44:17 -0400, Paul Donohue wrote:
> On Mon, Jun 24, 2013 at 10:16:39AM +0200, Matus UHLAR - fantomas
> wrote:
> > >On Sun, 23 Jun 2013 14:29:04 -0400, Paul Donohue wrote:
> > >> `man 5 crontab` says:
> > >> MAILTO may also be used to direct mail to multiple recipients by
> > >> separating recipient users with a comma.
> > 
> > >> It looks like cron effectively just runs `sendmail "$MAILTO"`,
> > >> which produces the following error: $ sendmail
> > >> "us...@example.com,us...@example.com" sendmail: recipient address
> > >> us...@example.com,us...@example.com not accepted by the server
> > >> sendmail: server message: 501 5.1.3 Invalid address sendmail:
> > >> could not send mail (account default from /etc/msmtprc)
> > 
> > Should be tested with other programs installed as sendmail.
> 
> I tested with nullmailer, and it seemed to work properly using that.

I pushed a patch. Now msmtp parses command line recipient addresses as
if they appeared in mail headers. So you can comma-separate them, and
you can also use quoting and comments and other weird stuff.

Can you try this?

(Please note that SourceForge has moved the git repository; see
http://sourceforge.net/p/msmtp/code/)

Best regards,
Martin

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
msmtp-users mailing list
msmtp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msmtp-users

Reply via email to