Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple accounts #113

Open
eddsalkield opened this issue Nov 1, 2022 · 7 comments
Open

Multiple accounts #113

eddsalkield opened this issue Nov 1, 2022 · 7 comments

Comments

@eddsalkield
Copy link

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?

@corecode
Copy link
Owner

corecode commented Nov 1, 2022 via email

@eddsalkield
Copy link
Author

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.

@corecode
Copy link
Owner

corecode commented Nov 1, 2022 via email

@eddsalkield
Copy link
Author

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
Copy link
Contributor

Does your client have an offline mode (like Thunderbird)?

@eddsalkield
Copy link
Author

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants