Am 22.03.2014 18:01, schrieb Anonymous12: > 22.3.2014 18:57, Drizzt kirjoitti:>> 22.3.2014 18:17, li...@rhsoft.net > kirjoitti: >>>> >>>> >>>> Am 22.03.2014 17:04, schrieb Anonymous12: >>>>> 22.3.2014 18:02, li...@rhsoft.net kirjoitti: >>>>>> >>>>>> >>>>>> Am 22.03.2014 16:59, schrieb Anonymous12: >>>>>>> How can I relay mail via riseup.net? >>>>>>> You need to be using starttls before it allows you to login >>>>>> >>>>>> then just enable TLS, these days that should be done anyways >>>>>> >>>>>> http://www.postfix.org/TLS_README.html >>>>> >>>>> No, I need to enable TLS for connecting to riseup.net so how can I > do that? >>>> >>>> by just RTFM i linked (and don't reply off-list) >>>> >>>> http://www.postfix.org/TLS_README.html >>>> >>>> there are anchors on top >>>> http://www.postfix.org/TLS_README.html#client_tls >>>> >>> >>> Mar 22 17:45:08 vps44713 postfix/smtp[2593]: 917133E0314: SASL >>> authentication failed; cannot authenticate to server >>> mail.riseup.net[198.252.153.56]: no mechanism available >>> >>> That's the error what I'm getting now. >> >> You need to configure your credentials as well, including >> mechanisms to use or not use. >> >> http://www.postfix.org/SASL_README.html#client_sasl > > I know that much, but I don't know which ones the destination server > allows/accepts.
you do not need to know, the postfix clients knows because the server tells the client the supported mechs, you need only have at least one of them supported on your side and as said avoid NTLM because it is broken to a lot of severs but preferred if it is available look at the last line [harry@srv-rhsoft:~]$ telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 srv-rhsoft.rhsoft.net ESMTP EHLO harry 250-srv-rhsoft.rhsoft.net 250-PIPELINING 250-SIZE 36700160 250-STARTTLS 250-AUTH CRAM-MD5 DIGEST-MD5 LOGIN PLAIN SCRAM-SHA-1 show your "/etc/postfix/sasl_passwd" with passwords replaced and the rest untouched > OS: Ubuntu 12.04 LTS > I'll not show what packages I have installed as I see no reason to well then help yourself, nobody asked for all installed packages only the relevant sasl ones if i type "yum remove cyrus-sasl-md5 cyrus-sasl-plain" i get also "no mechanism available" for very clear reasons, thats all