You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to use dma to send mail to different mail servers. Ideally it would choose the server based on the sender address header. I've done some reading but can't find a way to do this. Is it currently possible?
On 01/11/2022 10:07, Edd Salkield wrote:
I'm looking to use |dma| to send mail to different mail servers.
Ideally it would choose the server based on the sender address header.
I've done some reading but can't find a way to do this. Is it
currently possible?
—
Reply to this email directly, view it on GitHub
<#113>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABLOOYDMYKJ3OXQUTI65DDWGEW35ANCNFSM6AAAAAARUEWE7Q>.
You are receiving this because you are subscribed to this
thread.Message ID: ***@***.***>
dma is a simple MTA intended to get locally generated mails off the
machine. It's not intended to be a MUA that deals with multiple
accounts and multiple relaying servers.
What's your use case?
On 01/11/2022 10:53, Edd Salkield wrote:
Fair enough - would you mind explaining why? Having multiple mail
accounts is a fairly common use case, I would imagine.
Is there a way in which one could do this with multiple |dma.conf|
files? I can't seem to find a way to point |dma| to a particular
config file.
—
Reply to this email directly, view it on GitHub
<#113 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABLOO3HNGQTTNQQZIADGYDWGE4JNANCNFSM6AAAAAARUEWE7Q>.
You are receiving this because you commented.Message ID:
***@***.***>
My use case is to buffer outgoing mail from my mail client while offline, and to send the mail when back online. I have multiple accounts in the client.
You could probably set aerc's outgoing setting for the account to point to a per-account wrapper script that enqueues the email in a per-account directory to be sent later by msmtp. Have a look at Using msmtp offline and Using Mutt offline for possible clues how to do this.
Activity
corecode commentedon Nov 1, 2022
eddsalkield commentedon Nov 1, 2022
Fair enough - would you mind explaining why? Having multiple mail accounts is a fairly common use case, I would imagine.
Is there a way in which one could do this with multiple
dma.conffiles? I can't seem to find a way to pointdmato a particular config file.corecode commentedon Nov 1, 2022
eddsalkield commentedon Nov 1, 2022
My use case is to buffer outgoing mail from my mail client while offline, and to send the mail when back online. I have multiple accounts in the client.
ian-abbott commentedon Jan 6, 2023
Does your client have an offline mode (like Thunderbird)?
eddsalkield commentedon Jan 6, 2023
No - I'm using aerc which doesn't have an offline mode. I'm trying to use a tool like dma to buffer mail to send when back online. Any ideas?
ian-abbott commentedon Jan 6, 2023
You could probably set aerc's
outgoingsetting for the account to point to a per-account wrapper script that enqueues the email in a per-account directory to be sent later by msmtp. Have a look at Using msmtp offline and Using Mutt offline for possible clues how to do this.