Use ident_switch SMTP config also when no switch selected but associated identity is used in the from field of the mail

Issue #44 closed
Daniel Haag created an issue

I do have a central IMAP account where all Mails are fetched from different Mailboxes (this is the default one without a ident_switch config). For composed Messages I want to use the ident_switch configured SMTP server depending on the from mail header.

Currently this is not possible, so I wrote a small patch to enable this (attached). The logging is maybe a little verbose.

Comments (4)

  1. adam

    im trying to use the patch file but it is erroring saying it cant apply it. does it need to be updated?

  2. Mickael

    To solve the current issue on the DEV version of roundcube :

    sed -i "s,smtp_server,smtp_host,g" ident_switch.php
    

    The current variable name of the host smtp is “smtp_host” and no more “smtp_server”.

  3. Log in to comment