Mailinglist Archive: opensuse (1473 mails)

< Previous Next >
Re: [opensuse] cannot find why postfix says 'relay denied' when mailingfrom localhost
  • From: "Leen de Braal" <ldb@xxxxxxxx>
  • Date: Mon, 29 Jun 2009 20:57:01 +0200 (CEST)
  • Message-id: <39599.192.168.0.50.1246301821.squirrel@xxxxxxxxxxxxx>


Leen de Braal wrote:
Hi all,

Strange thing:
- opensuse11.1
- postfix
- squirrelmail

Sending mail out from squirrelmail gives a "Relay access denied"
message.
Also mailing from the command line with telnet to port25 gives same
error.
I have mynetworks:

mynetworks = 192.168.1.0/24, 127.0.0.0/8

so what am I missing??

Incoming mail is fine, fetchmail is also working ok.



Logs from your mail server would probably help. Along with postconf -n
output

Yep:
maillog:

Jun 29 20:10:13 server postfix/smtpd[25652]: NOQUEUE: reject: RCPT from
localhost[::1]: 554 5.7.1 <info@b
raha.nl>: Relay access denied; from=<ldb@xxxxxxxx> to=<info@xxxxxxxx>
proto=SMTP
Jun 29 20:10:19 server postfix/smtpd[25652]: disconnect from
localhost[::1]

It sees a connect from [::1]. Is IPV6 the enemy here??


Answering my own post:
yes, this was the culprit.
After adding [::1]/128 to mynetworks it is ok.

Thanks for hinting me in the right direction.

postconf -n:





--
L. de Braal
BraHa Systems
NL - Terneuzen
T +31 115 649333
F +31 115 649444
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >