[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[suse-security] Postfix connect to localhost connection refused


I have installed posfix-2.0.19 on a Suse 9.1 and I have a problem when I try to send mails using this server as outgoing smtp server. If I send the mail from the server it works properly, but If I try to send the email from another machine I always get this message in /var/log/mail

Jun 22 19:03:06 adslinux2 postfix/qmgr[8285]: C95573125D: to=<javier@xxxxxxxxxx>, relay=none, delay=4454, status=deferred (connect to localhost[]: Connection refused)

If I do the same from the server I get this log

Jun 22 19:08:22 adslinux2 postfix/pickup[8284]: CF0C231381: uid=0 from=<root>

Jun 22 19:08:22 adslinux2 postfix/cleanup[8355]: CF0C231381: message-id=<40D86786.mail6G01346CY@xxxxxxxxxxxxxxxx>

Jun 22 19:08:22 adslinux2 postfix/qmgr[8285]: CF0C231381: from=<root@xxxxxxxxxx>, size=421, nrcpt=1 (queue active)

Jun 22 19:08:22 adslinux2 postfix/local[8357]: CF0C231381: to=<javier@xxxxxxxxxx>, orig_to=<javier>, relay=local, delay=0, status=sent (delivered to maildir)

Jun 22 19:08:22 adslinux2 postfix/qmgr[8285]: CF0C231381: removed

this is the output of the comand postconf -n

adslinux2:/etc/postfix # postconf -n

alias_maps = hash:/etc/aliases

canonical_maps = hash:/etc/postfix/canonical

command_directory = /usr/sbin

config_directory = /etc/postfix

daemon_directory = /usr/lib/postfix

debug_peer_level = 2

defer_transports =

disable_dns_lookups = no

home_mailbox = Maildir/

mail_spool_directory = /var/mail

mailbox_size_limit = 0

mailq_path = /usr/bin/mailq

manpage_directory = /usr/share/man

masquerade_classes = envelope_sender, header_sender, header_recipient

masquerade_domains =

masquerade_exceptions = root

message_size_limit = 10240000

mydestination = $myhostname, localhost.$mydomain, localhost

mydomain = iranon.com

myhostname = adslinux2.iranon.com

myorigin = $mydomain

newaliases_path = /usr/bin/newaliases

notify_classes = resource, software

readme_directory = /usr/share/doc/packages/postfix/README_FILES

relocated_maps = hash:/etc/postfix/relocated

sample_directory = /usr/share/doc/packages/postfix/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_banner = IRANON MAIL SERVER

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_rfc821_envelopes = no

transport_maps = hash:/etc/postfix/transport

unknown_local_recipient_reject_code = 450

What am I doing wrong? do you see anything strange?


Emiliano Sutil

Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here