Conversation
Notices
-
Embed this notice
verita84 (verita84@poster.place)'s status on Sunday, 13-Jul-2025 14:36:58 JST
verita84
@Humpleupagus
Best cli for email? I can't figure out multiple accounts with newmutt/alpine-
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Sunday, 13-Jul-2025 14:36:57 JST
?? Humpleupagus ??
I use alpine. You have to think of every box, not just email, as a separate folder. You need to add the folders in the folder list incoming mail folders. So for example, your inbox would be one folder and sent mail another. So on and so forth for however many addresses you have.
Be careful though.... if you want to remove a folder. I don't remember exactly how the issue works, but if you remove a folder in the wrong way, it'll remove the actual remote folder too.
You can also use a custom editor too. I use vim. nvim doesn't wrap properly for some reason even with wrap set. -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Sunday, 13-Jul-2025 14:44:28 JST
?? Humpleupagus ??
It's a bit counter-intuituve compared to gui clients like thunderbird, because alpine doesn't automatically import folders from an account.
You have to specifically point it at each folder and it treats each as if it was a separate account. -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Sunday, 13-Jul-2025 14:48:31 JST
?? Humpleupagus ??
Let me know if you have any issues with the setting. I can dig deeper into mine. It's been a while since I set it up, so I'd have to refresh my own memory. But alpine does work, and it's fairly customizable. -
Embed this notice
verita84 (verita84@poster.place)'s status on Sunday, 13-Jul-2025 14:48:32 JST
verita84
@Humpleupagus
ty will try -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Sunday, 13-Jul-2025 14:50:11 JST
?? Humpleupagus ??
I'm actually using mine with 365 mail. It works. Kinda impressive. It had the functionality before thunderbird. -
Embed this notice
Quentel (quentel@nicecrew.digital)'s status on Sunday, 13-Jul-2025 14:50:12 JST
Quentel
Might be worth looking into mbsync to pull copies down into their own directories.
?? Humpleupagus ?? likes this. -
Embed this notice
Quentel (quentel@nicecrew.digital)'s status on Sunday, 13-Jul-2025 14:55:40 JST
Quentel
mbsync seems to work reasonably well if a person needs to access multiple types of email accounts. It also allows for use of different authentication methods for different accounts.
In conversation permalink ?? Humpleupagus ?? likes this. -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Sunday, 13-Jul-2025 14:58:51 JST
?? Humpleupagus ??
It looks like isync is a similar option In conversation permalink -
Embed this notice
Quentel (quentel@nicecrew.digital)'s status on Sunday, 13-Jul-2025 15:04:35 JST
Quentel
I believe isync is the name of the project and mbsync is the program. Not sure why the project name differs from the program name.
In conversation permalink ?? Humpleupagus ?? likes this. -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Sunday, 13-Jul-2025 15:07:16 JST
?? Humpleupagus ??
It doesn't read mail though. Interesting. Reminds me of plan9. 🤔 In conversation permalink -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Sunday, 13-Jul-2025 15:57:11 JST
?? Humpleupagus ??
It looks like it's in setup/config In conversation permalink -
Embed this notice
verita84 (verita84@poster.place)'s status on Sunday, 13-Jul-2025 15:57:13 JST
verita84
@Humpleupagus
I got mail to show now, ty.
HOw to you configure smtp for each account?In conversation permalink -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Sunday, 13-Jul-2025 15:58:28 JST
?? Humpleupagus ??
But I'm only using one account with mine 365 with xoauth2 In conversation permalink -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Sunday, 13-Jul-2025 16:03:31 JST
?? Humpleupagus ??
That's that I found. May require a wrapper script. In conversation permalink -
Embed this notice
verita84 (verita84@poster.place)'s status on Sunday, 13-Jul-2025 16:03:32 JST
verita84
@Humpleupagus
looks like you need to create a role with the 2nd smtp server but when I choose create new message, it don't chooseIn conversation permalink -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Sunday, 13-Jul-2025 16:06:04 JST
?? Humpleupagus ??
1. Define Roles in Alpine
Say you have folders:
=Work
=Personal
Go to:
Alpine > Setup > Rules > Roles > Add
For Work:
Current Folder: =Work
Set From: you@work.com
Signature File: .sig-work
For Personal:
Current Folder: =Personal
Set From: you@gmail.com
Signature File: .sig-personal
This way, when you compose a message from =Work, the From is you@work.com, and similarly for Personal.
2. Create sendmail-wrapper.sh
This script determines which SMTP account to use based on the From header.
#!/bin/bash
MSGFILE="$1"
FROM=$(grep -i "^From:" "$MSGFILE" | awk '{print $2}')
if [[ "$FROM" == *"work.com" ]]; then
/usr/bin/msmtp -a work "$@"
elif [[ "$FROM" == *"gmail.com" ]]; then
/usr/bin/msmtp -a personal "$@"
else
/usr/bin/msmtp -a default "$@"
fi
Make it executable:
chmod +x ~/sendmail-wrapper.sh
3. Configure Alpine to use the wrapper
In Alpine:
Setup > Config > sendmail-path
Set it to:
/home/youruser/sendmail-wrapper.shIn conversation permalink Attachments
-
Embed this notice
verita84 (verita84@poster.place)'s status on Sunday, 13-Jul-2025 16:06:05 JST
verita84
@Humpleupagus
I don't remember it being this gay back in 2012In conversation permalink -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Sunday, 13-Jul-2025 16:07:01 JST
?? Humpleupagus ??
I don't know if it'll work, but it's probably close. In conversation permalink -
Embed this notice
verita84 (verita84@poster.place)'s status on Sunday, 13-Jul-2025 16:07:56 JST
verita84
@Humpleupagus
Thank youIn conversation permalink Attachments
?? Humpleupagus ?? likes this.
-
Embed this notice