Skip to content

Multiple accounts #113

Open
Open

Description

@eddsalkield

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?

Activity

  1. corecode commented on Nov 1, 2022

    @corecode
    Owner
  2. eddsalkield commented on Nov 1, 2022

    @eddsalkield
    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.

  3. corecode commented on Nov 1, 2022

    @corecode
    Owner
  4. eddsalkield commented on Nov 1, 2022

    @eddsalkield
    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.

  5. ian-abbott commented on Jan 6, 2023

    @ian-abbott
    Contributor

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

  6. eddsalkield commented on Jan 6, 2023

    @eddsalkield
    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?

  7. ian-abbott commented on Jan 6, 2023

    @ian-abbott
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions