DIsregard. It was a client problem. The server is working 100%.
Black Rider wrote:
> I have an instance of OpenSMTPD running with the following configuration:
>
> /etc/mail/smtpd.conf
>
> pki cryptoforliberty.org key "/etc/mail/cryptoforliberty.org.key"
> pki cryptoforliberty.org certificate "/etc/mail/cryptoforliberty.org.crt"
>
> listen on lo0
> listen on msk0 port 25 auth tls pki cryptoforliberty.org
>
> accept for local deliver to mbox
> accept from any for domain cryptoforliberty.org deliver to mbox
> accept from local for any relay
>
> What I want to do and I cannot do:
>
> * Configure a remote desktop client for authing and using the smtp service
> provided by OpenSMTPD and send emails to arbitrary email accounts (provided
> by external agents), such as [email protected].
>
> The problem is that, under this configuration, the desktop clients I have
> been trying to use can't auth properly.
>
> Sample log from /var/log/maillog:
>
> Jun 1 23:18:49 cryptoforliberty smtpd[9604]: smtp-in: New session
> 4cd9259b152ec3cd from host XXX.XXX.XXX [XXX.XXX.XXX.XXX]
> Jun 1 23:18:49 cryptoforliberty smtpd[9604]: smtp-in: Failed command on
> session 4cd9259b152ec3cd: "MAIL FROM:<[email protected]>
> SIZE=468" => 530 5.5.1 Invalid command: Must issue an AUTH command first
> Jun 1 23:18:53 cryptoforliberty smtpd[9604]: smtp-in: Closing session
> 4cd9259b152ec3cd
>
> I have found no solution in the manpages. Do you know how could I achieve
> my goal here?