Open eddsalkield opened 2 years ago
you mean multiple "smarthosts"? That is not possible and out of the scope for dma.
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 https://github.com/corecode/dma/issues/113, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABLOOYDMYKJ3OXQUTI65DDWGEW35ANCNFSM6AAAAAARUEWE7Q. You are receiving this because you are subscribed to this thread.Message ID: @.***>
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.
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 https://github.com/corecode/dma/issues/113#issuecomment-1298747998, 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.
Does your client have an offline mode (like Thunderbird)?
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?
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.
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?