View previous topic :: View next topic |
Author |
Message |
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Wed Nov 17, 2021 12:26 pm Post subject: |
|
|
I do use postfix and mbox for local system account - same picture :-/
Do I have to install xbiff ? |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2964 Location: Edge of marsh USA
|
Posted: Thu Nov 18, 2021 5:11 am Post subject: |
|
|
May be time to convert. Thunderbird/postfix/fetchmail/maildir works as expected. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Thu Nov 18, 2021 7:53 pm Post subject: |
|
|
I have found a partial solution - a workaround. It's not perfect, but it works.
On my machine, local email is delivered to ~/.localmail. /var/spool/mail/<myname> is a link to ~/.localmail.
In Thunderbird 78, I had an account that fetched data from ~/.localmail. This doesn't work anymore in Thunderbird 91, since Thunderbird dropped support for movemail.
I followed the suggestion given in comment #35 of this thread: https://bugzilla.mozilla.org/show_bug.cgi?id=1625741. I added a Link to the data directory of my regular Thunderbird account to ~/.localmail:
Code: | cd ~/.thunderbird/8eda639c.default/Mail/<myaccount>
ln -s ~/.localdir LocalMail |
Result: in Thunderbird, there's a new folder "LocalMail" which allows me to read and manage incoming local emails. I cannot send local emails - but that's no problem, because I'm mostly interested in receiving system emails from cron, smartmontools, etc. |
|
Back to top |
|
|
nick_gentoo Tux's lil' helper
Joined: 07 Jan 2019 Posts: 140
|
Posted: Fri Dec 03, 2021 9:30 pm Post subject: |
|
|
I am also using the postfix + thunderbird combination, but did not upgrade yet to thunderbird 91.
Now, I don't even remember how exactly I set it up this way, probably with the help of some web page a long time ago. But today, most instructions I find are about using thunderbird with a movemail account.
So, I'm not sure, how does one usually read local email? (preferably with >=thunderbird-91.0)
I started looking at fetchmail mentioned by figueroa, but it's not yet clear how to use it
mike155, you say that workaround is only a partial solution, so is there something that does not work the same way as before, with the older thunderbird? |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2964 Location: Edge of marsh USA
|
Posted: Sat Dec 04, 2021 4:56 am Post subject: |
|
|
For nearly 20 years or so, I've been using the postfix aliases to send local system mail off the system, then use fetchmail on my server to retrieve that mail with pop3. On the same machine I run an IMAP server with courier-imap so I can read that local system mail from several machine along with my personal mail with ordinary IMAP mail clients like Thunderbird (anywhere) and Mutt (on the server). I use procmail to sort incoming mail into logical categories so all system mail, such as cron job output, goes into a directory (directories) for that purpose while ordinary personal mail goes into the normal Inbox, all using a modern /home/USER/.maildir mailbox on the server.
This server is also running spamassassin and clamav all invoked with procmail as mail arrives. User assembly required. It took quite a bit of time to get this right. About 15-16 years ago I followed a posting in these forums that had step-by-step directions. I think this may be it:
https://forums.gentoo.org/viewtopic.php?t=56633 _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
nick_gentoo Tux's lil' helper
Joined: 07 Jan 2019 Posts: 140
|
Posted: Sun Dec 05, 2021 7:10 pm Post subject: |
|
|
Thank you, figueroa, you sent me in the right direction.
I do not need (for now, at least) something that complex for sending email within a full network. But I found out that postfix can deliver itself the mail to any local mailbox. Then a small IMAP server is needed, that Thunderbird or any other mail client can talk to. |
|
Back to top |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Fri Dec 31, 2021 7:16 pm Post subject: |
|
|
Creating simlink does not work correctly.
Code: |
ln -s /var/mail/[user] /home/joseph/.thunderbird/bwesevlqn5.default/Mail/Local\ Folders/ |
When I restart Thunderbird, the local mail appears and I can delete it in Thunderbird
But the mail is not being removed from file: /var/mail/[user] even though permission is correct:
-rw------- 1 [user] mail 12K Dec 31 02:08 /var/mail/[user] |
|
Back to top |
|
|
|