ScottPeterJohnson / purelymail-issues

Issues repository for the Purelymail email service.
34 stars 0 forks source link

Custom SMTP server for identities in webmail #159

Open msrn opened 1 year ago

msrn commented 1 year ago

I have alias email that uses it's own SMTP for sending emails. I would like to use the Roundcube webmail to setup custom SMTP host for different identities. There is already a plugin for this: identity_smtp Roundcube Plugin, that I have used with other RoundCube instances and it works nicely.

Would it be possible to have this for Purelymail Roundcube?

ScottPeterJohnson commented 1 year ago

Sure, I briefly tested it and it seems to work.

alexandergeiler commented 1 year ago

@ScottPeterJohnson the feature sounds cool. I was also looking for that. What does " seems to work" mean. You will install the plugin soon?

flibustenet commented 1 year ago

I cannot make it works with SES smtp (tls://email-smtp.eu-west-1.amazonaws.com:587) it answer SMTP Error (): Authentication failed. even after verifying many times that i put the right credentials. Is it currently active ?

ScottPeterJohnson commented 1 year ago

I haven't tested it personally. If it does get to an Authentication failed stage though, it presumably works up to rejecting authentication. Probably you already have, but doublecheck that you're using the right region, and the right AWS SMTP credentials for that region: https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html

flibustenet commented 1 year ago

I tested again, also with an other smtp and also with https://github.com/mailhog/MailHog I can see that it call the server but it still says authentication failed even if MailHog does not care of authentication. I tried with the purelymail smtp like an alternate smtp of an other user as identity, it works.

2023/06/19 13:46:43 [SMTP 3.94.53.107:44888] Sent 35 bytes: '220 mailhog.example ESMTP MailHog\r\n'
2023/06/19 13:46:44 [SMTP 3.94.53.107:44888] Received 4 bytes: 'ûýñ'
2023/06/19 13:46:44 [SMTP 3.94.53.107:44888] Received 40 bytes: '
                                                                 82.66.173.99EHLO inbox.purelymail.com\r\n'
2023/06/19 13:46:44 [SMTP 3.94.53.107:44888] [PROTO: ESTABLISH] Processing line: ûýñ
                                                                                    82.66.173.99EHLO inbox.purelymail.com
2023/06/19 13:46:44 [SMTP 3.94.53.107:44888] [PROTO: ESTABLISH] In state 1, got command '���
                                                                                            82.66.173.99EHLO', args 'inbox.purelymail.com'
2023/06/19 13:46:44 [SMTP 3.94.53.107:44888] [PROTO: ESTABLISH] In ESTABLISH state
2023/06/19 13:46:44 [SMTP 3.94.53.107:44888] [PROTO: ESTABLISH] Got unknown command for ESTABLISH state: '���
                                                                                                             82.66.173.99EHLO'
2023/06/19 13:46:44 [SMTP 3.94.53.107:44888] Sent 26 bytes: '500 Unrecognised command\r\n'