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.

root@vps44713:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
mailbox_command = /usr/lib/dovecot/deliver -c
/etc/dovecot/conf.d/01-mail-stack-delivery.conf -m "${EXTENSION}"
mailbox_size_limit = 0
mime_header_checks = regexp:/etc/postfix/header_checks
mydestination = mail.legendnation-mc.tk, localhost
myhostname = mail.legendnation-mc.tk
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost = [mail.riseup.net]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_policy_maps = hash:/etc/postfix/tls_policy
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_recipient_restrictions = reject_unknown_sender_domain,
reject_unknown_recipient_domain, reject_unauth_pipelining,
permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = reject_unknown_sender_domain
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/ssl-mail.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-mail.key
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom

OS: Ubuntu 12.04 LTS

I'll not show what packages I have installed as I see no reason to.

Reply via email to