<<< Date Index >>>     <<< Thread Index >>>

Mutt doesn't let me run automatically



I have been trying to automate a process where I receive emails with an RTF attachment and I want to extract the RTF attachment from the email.

I looked at the Mutt email client and it appears to support an automated way to do the saving of the attachment, except that when I run the .muttrc, the Mutt application stops and prompts me to enter the attachment file name.

I am using the standard Mac OS X Mail application to retrieve the emails from the mail server, so I invoke mutt as follows:


mutt -f ~/Library/Mail/Mailboxes/Minutes.mbox/mbox



The .muttrc looks like this:

#             ~/.muttrc

#set hostname=mail.firstchurchtosa.org
#set hostname=""

#set folder="~/Mail"

#set pop_auth_try_all="yes"

set spoolfile="~/Library/Mail/Mailboxes/Minutes.mbox/mbox"

#default_hook "~A"

save-hook "~t maint" minutes.rtf

#push view-attachments
#push v
#exec view-attachments

#push save-entry
#push s
#exec save-message
push vs

#push xyz

set record="xyz"

set folder="~/inqueue"

The commented out stuff are my earlier attempts...

I have tried every combination of options to tell it ahead of time what I want but to no avail. Am I expecting Mutt to do something it was never intended to do or have I missed configuring something....

Thanks in advance.

Jim VerDuin