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:24:52 +0200 (CEST)
  • Message-id: <59883.192.168.0.50.1246299892.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??

postconf -n:

alias_maps = hash:/etc/aliases
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
defer_transports =
delay_warning_time = 1h
disable_dns_lookups = no
disable_mime_output_conversion = no
home_mailbox = Maildir/
html_directory = /usr/share/doc/packages/postfix-doc/html
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
max_use = 10
message_size_limit = 20480000
message_strip_characters = \0
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
vanhijfte.com
myhostname = mail.xxxxx.com
mynetworks = 192.168.1.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
relayhost = mailrelay.direct-adsl.nl
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix-doc/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual

xxxxx.com is not the actual domainname, of course.




-Matt
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx




--
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 >
Follow Ups