LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How can I read local mail with seamonkey? (https://www.linuxquestions.org/questions/slackware-14/how-can-i-read-local-mail-with-seamonkey-4175445707/)

whizje 01-15-2013 10:51 AM

How can I read local mail with seamonkey?
 
I have set up mdadm to send a mail to root in case of a failure. I can read those mails with mailx. How can I read those mails with seamonkey.

bathory 01-15-2013 04:30 PM

Hi,

First of all you need to install an imap and/or pop3 server locally and then configure the "Server Settings" in the seamonkey mail client to use localhost with the appropriate protocol and credentials

Regards

ljb643 01-15-2013 07:16 PM

Actually, Seamonkey (as well as Thunderbird) do have the ability to directly read local mail files. This is called "Unix Mailspool (Movemail)." It is very poorly documented, if at all, and the Mozilla developers seem to pretty much disown the feature. Apparently there are many bugs. But I tried it, and it did seem to work, so you might want to give it a try.

In Seamonkey mail, you create a new account of type "Unix Mailspool (Movemail)". Supply your local Linux username, and you can use "localhost" for the host. (I don't think it uses this.) When it gets mail (via automatic timer or when you click Get Mail, just like for POP3 and other accounts), it will move the mail out of the /var/spool/mail/yourname file into your Seamonkey mail profile. (Note I said move the mail. That means the mail is deleted. Use at your own risk of losing mail.)

This won't help if you want to read 'root' local mail using your own non-root account.

Lufbery 01-15-2013 08:54 PM

ljb643,

That's great information!

I got that set up by going to Edit -> Mail and Newsgroup Account Settings

Select "Add Account" and "Unix Mailspool (Movemail)" is right there.

You said:
Quote:

Note I said move the mail. That means the mail is deleted. Use at your own risk of losing mail.
Thunderbird has a setting to leave messages on the server -- even with a Unix Mailspool account -- but Seamonkey doesn't.

I haven't tested it to see if it works.

Regards,

whizje 01-16-2013 12:56 PM

Thanks all, I had seamonkey set up with a Unix Mailspool account but it did not work. Then I tried thunderbird that worked and after that seamonkey worked also :scratch:.
Quote:

This won't help if you want to read 'root' local mail using your own non-root account.
I set up a alias in /etc/mail/aliases for sendmail so the mail is send to my normal user account.


All times are GMT -5. The time now is 10:15 AM.