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

[msmtp-users] double-quotes in local part



Dear All,

It seems there is a bug is msmtp. I'm using it with "-t" to read recipients from the message header. But if an address field has only the pure email address without any personal name, it is not enclosed in angle brackets, and the local part is double-quoted, then msmtp parses the address incorrectly. It completely omits the local part.

Local part is double-quoted for example when its last character is a dot. As far as I know, having dot at the end of the local part is allowed if it is double-quoted.

For example:
To: "localpart."@domain
in message header will result in smtp communication:
RCPT TO:<@domain>

It works fine when the address field has a personal name, ex:
To: Personal Name <"localpart."@domain>

Thanks,
Istvan