On Fri, Jan 1, 2010 at 9:03 PM, Joseph L. Casale jcasale@activenetwerx.com wrote:
I am calling mutt like so: mutt -F /path/muttrc -a /path/file -s "text here" dest@example.com < /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@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.
Dave