Discussion:
[SLE] Postfix not listening on remote smtp
(too old to reply)
Morten Christensen
2002-07-18 21:08:55 UTC
Permalink
I have a new SuSE 8.0 install.

I cannot get postfix to accept smtp-connects and
telnet's to port 25 from other machines on my local net.

/etc/sysconfig/mail is changed to

SMTPD_LISTEN_REMOTE="yes"

but that did not seem to make any difference.


I have run out of ideas.


mvh...
Morten Christensen
--
To unsubscribe send e-mail to suse-linux-e-***@suse.com
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Christopher Mahmood
2002-07-18 21:10:38 UTC
Permalink
Post by Morten Christensen
/etc/sysconfig/mail is changed to
SMTPD_LISTEN_REMOTE="yes"
but that did not seem to make any difference.
rcpostfix start
--
-ckm
--
To unsubscribe send e-mail to suse-linux-e-***@suse.com
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Morten Christensen
2002-07-18 21:26:30 UTC
Permalink
----- Original Message -----
From: "Christopher Mahmood" Thursday, July 18, 2002 11:10 PM
Subject: Re: [SLE] Postfix not listening on remote smtp
Post by Christopher Mahmood
Post by Morten Christensen
/etc/sysconfig/mail is changed to
SMTPD_LISTEN_REMOTE="yes"
but that did not seem to make any difference.
rcpostfix start
Postfix is running all the time. I have made lot of
"postfix reload"'s and rebooted the box to be sure.


mvh...
Morten Christensen
--
To unsubscribe send e-mail to suse-linux-e-***@suse.com
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Christopher Mahmood
2002-07-18 21:53:59 UTC
Permalink
Post by Morten Christensen
Postfix is running all the time. I have made lot of
"postfix reload"'s and rebooted the box to be sure.
OK, so then what do the logs say when you start it?
--
-ckm
--
To unsubscribe send e-mail to suse-linux-e-***@suse.com
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Rick Green
2002-07-18 22:24:58 UTC
Permalink
Post by Christopher Mahmood
Post by Morten Christensen
Postfix is running all the time. I have made lot of
"postfix reload"'s and rebooted the box to be sure.
OK, so then what do the logs say when you start it?
Sorry for butting in on the thread, but I haven't seen anybody mention
SuSEconfig. I always run it after editing any of the files in
/etc/sysconfig/, and before restarting the affected service.

I don't know if my practice is necessary or superfluous. How is one to
know if the configuration for a particular service is built in SuSEconfig,
or within the 'rcxxxx start' process?

Rick Green
--
To unsubscribe send e-mail to suse-linux-e-***@suse.com
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Morten Christensen
2002-07-18 22:28:12 UTC
Permalink
----- Original Message -----
From: "Christopher Mahmood" Thursday, July 18, 2002 11:53 PM
Subject: Re: [SLE] Postfix not listening on remote smtp
Post by Christopher Mahmood
Post by Morten Christensen
Postfix is running all the time. I have made lot of
"postfix reload"'s and rebooted the box to be sure.
OK, so then what do the logs say when you start it?
I cannot find anything in /var/log/messages

/var/log/mail says

postfix/postfix-script: starting the Postfix mail system
postfix/master[1510]: daemon started

/var/log/mail tells about smtp connects from localhost,
but nothing about attempts to connect to smtp from
other machines.

I am quite sure, the firewall is not running. The
firewall-log says nothing.

mvh...
Morten Christensen
--
To unsubscribe send e-mail to suse-linux-e-***@suse.com
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Christopher Mahmood
2002-07-18 23:45:49 UTC
Permalink
Post by Morten Christensen
I am quite sure, the firewall is not running. The
firewall-log says nothing.
OK, then what's the output of /usr/sbin/postconf? Either you've
told smtpd to only listen on lo or you (or your ISP) are blocking
connections to port 25.
--
-ckm
--
To unsubscribe send e-mail to suse-linux-e-***@suse.com
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Morten Christensen
2002-07-19 05:31:49 UTC
Permalink
----- Original Message -----
From: "Christopher Mahmood" Friday, July 19, 2002 1:45 AM
Subject: Re: [SLE] Postfix not listening on remote smtp
Post by Christopher Mahmood
Post by Morten Christensen
I am quite sure, the firewall is not running. The
firewall-log says nothing.
OK, then what's the output of /usr/sbin/postconf? Either
you've
Post by Christopher Mahmood
told smtpd to only listen on lo or you (or your ISP) are
blocking
Post by Christopher Mahmood
connections to port 25.
The postfix-server is on ip 10.10.35.20. The local box , I
try to smtp-connect from, is a win98 on ip 10.10.35.11.

/etc/postfix/access is empty

/usr/sbin/postconf -n:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
inet_interfaces = 127.0.0.1
mail_name = Postfix on SuSE Linux 8.0 (i386)
mail_owner = postfix
mail_spool_directory = /var/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_domains =
masquerade_exceptions = root
mydestination = $myhostname, localhost.$mydomain $mydomain
myhostname = servMC.mc.cx
myorigin = $mydomain
newaliases_path = /usr/sbin/sendmail
queue_directory = /var/spool/postfix
readme_directory =
/usr/share/doc/packages/postfix/README_FILES
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /etc/postfix
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_sender_restrictions = hash:/etc/postfix/access
transport_maps = hash:/etc/postfix/transport
virtual_maps = hash:/etc/postfix/virtual


---
mvh...
Morten Christensen
--
To unsubscribe send e-mail to suse-linux-e-***@suse.com
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
suse_ground_zero
2002-07-19 08:18:38 UTC
Permalink
Post by Morten Christensen
----- Original Message -----
From: "Christopher Mahmood" Friday, July 19, 2002 1:45 AM
Subject: Re: [SLE] Postfix not listening on remote smtp
Post by Christopher Mahmood
Post by Morten Christensen
I am quite sure, the firewall is not running. The
firewall-log says nothing.
OK, then what's the output of /usr/sbin/postconf? Either
you've
Post by Christopher Mahmood
told smtpd to only listen on lo or you (or your ISP) are
blocking
Post by Christopher Mahmood
connections to port 25.
The postfix-server is on ip 10.10.35.20. The local box , I
try to smtp-connect from, is a win98 on ip 10.10.35.11.
/etc/postfix/access is empty
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
inet_interfaces = 127.0.0.1 look here !!!!!!!!!!!!!!!!!!!!!!!!! is
listening only on localhost ... put all instead of 127.0.0.1
Post by Morten Christensen
mail_name = Postfix on SuSE Linux 8.0 (i386)
mail_owner = postfix
mail_spool_directory = /var/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_domains =
masquerade_exceptions = root
mydestination = $myhostname, localhost.$mydomain $mydomain
myhostname = servMC.mc.cx
myorigin = $mydomain
newaliases_path = /usr/sbin/sendmail
queue_directory = /var/spool/postfix
readme_directory =
/usr/share/doc/packages/postfix/README_FILES
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /etc/postfix
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_sender_restrictions = hash:/etc/postfix/access
transport_maps = hash:/etc/postfix/transport
virtual_maps = hash:/etc/postfix/virtual
---
mvh...
Morten Christensen
--
To unsubscribe send e-mail to suse-linux-e-***@suse.com
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Morten Christensen
2002-07-19 16:05:23 UTC
Permalink
----- Original Message -----
From: "suse_ground_zero" Friday, July 19, 2002 10:18 AM
Subject: Re: [SLE] Postfix not listening on remote smtp
Post by suse_ground_zero
Post by Morten Christensen
inet_interfaces = 127.0.0.1 look here
!!!!!!!!!!!!!!!!!!!!!!!!! is
Post by suse_ground_zero
listening only on localhost ... put all instead of
127.0.0.1

That made the trick.

I was not paying attention on /etc/postfix/main.cf's
"resume" in the buttom, which overrides the settings
above it.

After the change, postfix reload was not enough.
I had to reboot.


mvh...
Morten Christensen
Post by suse_ground_zero
----- Original Message -----
From: "Christopher Mahmood" Friday, July 19, 2002 1:45 AM
Subject: Re: [SLE] Postfix not listening on remote smtp
Post by Morten Christensen
Post by Morten Christensen
I am quite sure, the firewall is not running. The
firewall-log says nothing.
OK, then what's the output of /usr/sbin/postconf?
Either
Post by suse_ground_zero
you've
Post by Morten Christensen
told smtpd to only listen on lo or you (or your ISP) are
blocking
Post by Morten Christensen
connections to port 25.
The postfix-server is on ip 10.10.35.20. The local box , I
try to smtp-connect from, is a win98 on ip 10.10.35.11.
/etc/postfix/access is empty
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
inet_interfaces = 127.0.0.1 look here
!!!!!!!!!!!!!!!!!!!!!!!!! is
listening only on localhost ... put all instead of 127.0.0.1
Post by suse_ground_zero
mail_name = Postfix on SuSE Linux 8.0 (i386)
mail_owner = postfix
mail_spool_directory = /var/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_domains =
masquerade_exceptions = root
mydestination = $myhostname, localhost.$mydomain $mydomain
myhostname = servMC.mc.cx
myorigin = $mydomain
newaliases_path = /usr/sbin/sendmail
queue_directory = /var/spool/postfix
readme_directory =
/usr/share/doc/packages/postfix/README_FILES
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /etc/postfix
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_sender_restrictions = hash:/etc/postfix/access
transport_maps = hash:/etc/postfix/transport
virtual_maps = hash:/etc/postfix/virtual
---
mvh...
Morten Christensen
--
To unsubscribe send e-mail to suse-linux-e-***@suse.com
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Ewan Leith
2002-07-18 22:01:40 UTC
Permalink
What do you get if you type "telnet localhost 25"

Does it time out or do you get an immediate rejection?

Ewan
Post by Morten Christensen
----- Original Message -----
From: "Christopher Mahmood" Thursday, July 18, 2002 11:10 PM
Subject: Re: [SLE] Postfix not listening on remote smtp
Post by Christopher Mahmood
Post by Morten Christensen
/etc/sysconfig/mail is changed to
SMTPD_LISTEN_REMOTE="yes"
but that did not seem to make any difference.
rcpostfix start
Postfix is running all the time. I have made lot of
"postfix reload"'s and rebooted the box to be sure.
mvh...
Morten Christensen
--
Also check the archives at http://lists.suse.com
--
To unsubscribe send e-mail to suse-linux-e-***@suse.com
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Morten Christensen
2002-07-18 22:14:06 UTC
Permalink
----- Original Message -----
From: "Ewan Leith" Friday, July 19, 2002 12:01 AM
Subject: Re: [SLE] Postfix not listening on remote smtp
Post by Ewan Leith
What do you get if you type "telnet localhost 25"
Does it time out or do you get an immediate rejection?
Ewan
Telnet connects on localhost.

It is from other machines on my local net, smtp is not
listening.

PuTTY says "Network error: Connection refused."


mvh...
Morten Christensen
Post by Ewan Leith
Post by Morten Christensen
----- Original Message -----
From: "Christopher Mahmood" Thursday, July 18, 2002
11:10 PM
Post by Ewan Leith
Post by Morten Christensen
Subject: Re: [SLE] Postfix not listening on remote smtp
Post by Morten Christensen
/etc/sysconfig/mail is changed to
SMTPD_LISTEN_REMOTE="yes"
but that did not seem to make any difference.
--
To unsubscribe send e-mail to suse-linux-e-***@suse.com
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
W. D. McKinney
2002-07-19 00:44:38 UTC
Permalink
Any problems with iptables, etc. ?
Post by Morten Christensen
Telnet connects on localhost.
It is from other machines on my local net, smtp is not
listening.
PuTTY says "Network error: Connection refused."
mvh...
Morten Christensen
--
W.D.McKinney (Dee)
http://3519098920
--
To unsubscribe send e-mail to suse-linux-e-***@suse.com
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Continue reading on narkive:
Loading...