Joseph L. Casale wrote:
>> You could specify the muttrc file using the -F switch, maybe that will
>> solve yer problem? Or are you saying that is what you're doing but it
>> bombs? How about telling us the command/script and the error output?
>> luck,
>> Dave
>
> Hi,
> I am calling mutt like so:
> mutt -F /path/muttrc -a /path/file -s "text here" [email protected] < /dev/null
>
> But as the user does not have a mailbox, it fails. I can't actually see what's
> going on obviously but as I tail the maillog and nothing even wakes it I am
> just
> making a WASG that I am pretty sure is right:) As there is and never was
> local mail
> delivery, root doesn't even have a mailbox so if I run it, I see it prompts
> for the
> mb...
>
You could probably strace the mutt run and wade through the output to see what
it is looking for. 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.
--
Les Mikesell
[email protected]
_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos