[CentOS] mutt execution by daemon
tdbtdb+centos at gmail.com
Sun Jan 3 21:48:26 UTC 2010
On Fri, Jan 1, 2010 at 9:03 PM, Joseph L. Casale
<jcasale at activenetwerx.com> wrote:
> I am calling mutt like so:
> mutt -F /path/muttrc -a /path/file -s "text here" dest at example.com < /dev/null
> But as the user does not have a mailbox, it fails
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 at gmail.com> 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.
More information about the CentOS