Package: opensmtpd
Version: 6.0.2p1-2
Severity: important

When sendmail package is installed and replaced by opensmtpd package,
sendmail-base package is not removed.
After that, sending e-mail with `mail` (available in bsd-mailx package)
works properly. However, when trying to send it via Python, there is an
error about an incorrect mta/user: sm-mta.

[python code]
#message is a email object
with smtplib.SMTP("localhost") as server:
    server.send_message(message)
[/code]


When the sendmail-base package is removed, sm-mta user is removed and
the python code sends e-mail properly.

Perhaps, opensmtp package should be in conflict with sendmail-base?

Stéphane

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to