[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [msmtp-users] Email with multiple recipients



On Wed, Oct 18, 2017 at 10:13 AM, Ole Martin Svanekil
<o.m.svanekil@...452...> wrote:
> I'm using msmtp to send mail with multiple recipients.I have noticed that msmtp aborts when receiving a 550 from the mail server In this example the email address  test2@...453...  does not exist
>
> My preferred behavior would be to send the email to the existing recipients.
> Is this behavior possible to adjust with configuration settings?

Maybe, I'm not aware of any such.
You could postprocess it out to msmtp calls, but that's work.
Or just disable or add logic around what is probably one line
in the code. You'll definitely also want to log and/or bounce it.
Seems to me this should be fixed.

> --> MAIL FROM:<test@...453...>
> <-- 250 OK
> --> RCPT TO:<test1@...453...>
> <-- 250 Accepted
> --> RCPT TO:<test2@...453...>
> <-- 550 < test2@...453... >: Gone away, no forwarding address known
> msmtp: recipient address test2@...453... not accepted by the server
> msmtp: server message: 550 < test2@...453... >: Gone away, no forwarding address known
> msmtp: could not send mail