Re: Postfix does not authenticate to relayhost

2018-05-17 Thread Matus UHLAR - fantomas
Am 15.05.2018 um 22:29 schrieb Benny Pedersen: its a dns problem to solve, not postfix # /etc/hosts 127.0.0.1 horus.localdomain horus Matus UHLAR - fantomas skrev den 2018-05-16 15:24: Benny, 127.0.0.1 should always resolve to "localhost" (surprises can happen otherwise). That's why

Re: Postfix does not authenticate to relayhost

2018-05-17 Thread Florian Lindner
Ok, I think I got it. Problem was probably a mismatch in the port between the setting in relay_host and the password map. Sorry, for bothering you with what was my fault. Best, Florian

Re: Postfix does not authenticate to relayhost

2018-05-16 Thread Benny Pedersen
Matus UHLAR - fantomas skrev den 2018-05-16 15:24: Am 15.05.2018 um 22:29 schrieb Benny Pedersen: its a dns problem to solve, not postfix # /etc/hosts 127.0.0.1 horus.localdomain horus Benny, 127.0.0.1 should always resolve to "localhost" (surprises can happen otherwise). That's why

Re: Postfix does not authenticate to relayhost

2018-05-16 Thread Christian Kivalo
On 2018-05-16 20:41, Florian Lindner wrote: Am 16.05.2018 um 15:24 schrieb Matus UHLAR - fantomas: On 15.05.18 22:17, Florian Lindner wrote: May 15 22:10:04 venus postfix/smtpd[20438]: NOQUEUE: reject: RCPT from host[x.x.x]: 450 4.1.8 : Sender address rejected:

Re: Postfix does not authenticate to relayhost

2018-05-16 Thread Florian Lindner
Am 16.05.2018 um 15:24 schrieb Matus UHLAR - fantomas: > On 15.05.18 22:17, Florian Lindner wrote: >> May 15 22:10:04 venus postfix/smtpd[20438]: NOQUEUE: reject: RCPT from >> host[x.x.x]: 450 4.1.8 >> : Sender address rejected: Domain not found; >>

Re: Postfix does not authenticate to relayhost

2018-05-16 Thread Matus UHLAR - fantomas
On 15.05.18 22:17, Florian Lindner wrote: May 15 22:10:04 venus postfix/smtpd[20438]: NOQUEUE: reject: RCPT from host[x.x.x]: 450 4.1.8 : Sender address rejected: Domain not found; from= to= proto=ESMTP helo=

Re: Postfix does not authenticate to relayhost

2018-05-15 Thread Viktor Dukhovni
> On May 15, 2018, at 5:30 PM, Benny Pedersen wrote: > > ort 25 should not provide auth senders > > add a transportmap to relay host and do not use port 25 in the transport map There's no need for transport entries. Just setting "relayhost' is enough. The relayhost setting can

Re: Postfix does not authenticate to relayhost

2018-05-15 Thread Viktor Dukhovni
> On May 15, 2018, at 4:17 PM, Florian Lindner wrote: > > % postconf -n > [...] > mynetworks_style = host > relayhost = [venus.centershock.net] > smtp_sasl_password_maps = hash:/etc/postfix/relay > smtp_sasl_security_options = noanonymous > smtpd_tls_security_level =

Re: Postfix does not authenticate to relayhost

2018-05-15 Thread Benny Pedersen
Viktor Dukhovni skrev den 2018-05-15 23:15: On May 15, 2018, at 4:17 PM, Florian Lindner wrote: relayhost = [venus.centershock.net] smtp_sasl_password_maps = hash:/etc/postfix/relay smtp_sasl_security_options = noanonymous smtpd_tls_security_level = encrypt # cat relay

Re: Postfix does not authenticate to relayhost

2018-05-15 Thread Viktor Dukhovni
> On May 15, 2018, at 4:17 PM, Florian Lindner wrote: > > relayhost = [venus.centershock.net] > smtp_sasl_password_maps = hash:/etc/postfix/relay > smtp_sasl_security_options = noanonymous > smtpd_tls_security_level = encrypt > > # cat relay > venus.centershock.net

Re: Postfix does not authenticate to relayhost

2018-05-15 Thread Florian Lindner
Am 15.05.2018 um 22:29 schrieb Benny Pedersen: > Florian Lindner skrev den 2018-05-15 22:17: > >> May 15 22:10:04 venus postfix/smtpd[20438]: connect from host[x.x.x] >> May 15 22:10:04 venus postfix/smtpd[20438]: NOQUEUE: reject: RCPT from >> host[x.x.x]: 450 4.1.8 :

Re: Postfix does not authenticate to relayhost

2018-05-15 Thread Florian Lindner
Am 15.05.2018 um 22:26 schrieb Bastian Blank: > On Tue, May 15, 2018 at 10:17:40PM +0200, Florian Lindner wrote: >> relayhost = [venus.centershock.net] >> venus.centershock.net relayu...@xgm.de:passwd > > '[venus.centershock.net]' != 'venus.centershock.net'. The name needs to > match in full.

Re: Postfix does not authenticate to relayhost

2018-05-15 Thread Benny Pedersen
Florian Lindner skrev den 2018-05-15 22:17: May 15 22:10:04 venus postfix/smtpd[20438]: connect from host[x.x.x] May 15 22:10:04 venus postfix/smtpd[20438]: NOQUEUE: reject: RCPT from host[x.x.x]: 450 4.1.8 : Sender address rejected: Domain not found;

Re: Postfix does not authenticate to relayhost

2018-05-15 Thread Bastian Blank
On Tue, May 15, 2018 at 10:17:40PM +0200, Florian Lindner wrote: > relayhost = [venus.centershock.net] > venus.centershock.net relayu...@xgm.de:passwd '[venus.centershock.net]' != 'venus.centershock.net'. The name needs to match in full. Bastian -- A Vulcan can no sooner be disloyal than he

Postfix does not authenticate to relayhost

2018-05-15 Thread Florian Lindner
Hello, I run two postfix servers. One on my server, which just runs fine and is used to sent mail directly. The other one on my local machine which should relay mail to other one. Problem is that the desktop MTA does not seem to authenticate to its relayhost: The server says: May 15 22:10:04