Re: mutt execution by daemon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Jan 1, 2010 at 9:03 PM, Joseph L. Casale
<jcasale@xxxxxxxxxxxxxxxxx> wrote:
> I am calling mutt like so:
> mutt -F /path/muttrc -a /path/file -s "text here" dest@xxxxxxxxxxx < /dev/null
>
> But as the user does not have a mailbox, it fails

Silently?

I am confused by the '< /dev/null'. This means send no email body just
headers and attachment/MIME?


On Sat, Jan 2, 2010 at 6:39 AM, Les Mikesell <lesmikesell@xxxxxxxxx> wrote:
> A quick-fix might be to touch /var/spool/mail/user if it
> wants a mailbox there, or export HOME=/some/readable/path if it is looking for
> $HOME/.muttrc or a maildir mailbox.

That sounds like a good idea.

Dave
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux