Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Postfix & netstat -a | grep smtp

469 views
Skip to first unread message

Roland Schmid

unread,
Mar 18, 2003, 2:46:35 AM3/18/03
to
Hello List,

I have a question refering to smtp listening.
When I successfully start postfix and type the netstat command below,
the output below will be returned.
Why are there 3 listeners?
I'd expected only 1 listener.

[root@dc4 root]# netstat -a | grep smtp
tcp 0 0 *:smtp *:* LISTE=
N
unix 2 [ ACC ] STREAM H=D6RT 2360 private/smtp
unix 2 [ ACC ] STREAM H=D6RT 2408 private/bsmtp

--=20
Best regards
Roland Schmid
pos...@net-service-24.de

Ralf Hildebrandt

unread,
Mar 18, 2003, 2:55:49 AM3/18/03
to
* Roland Schmid <pos...@net-service-24.de>:
> Hello List,
>=20

> I have a question refering to smtp listening.
> When I successfully start postfix and type the netstat command below,
> the output below will be returned.
> Why are there 3 listeners?
> I'd expected only 1 listener.
>=20

> [root@dc4 root]# netstat -a | grep smtp
> tcp 0 0 *:smtp *:* LIS=
TEN

There's ONE TCP listener


> unix 2 [ ACC ] STREAM H=D6RT 2360 private/smtp

> unix 2 [ ACC ] STREAM H=D6RT 2408 private/bsmt=
p

And two sockets.

Rather use:=20
netstat -an | grep 25 | grep -i tcp

--=20
Ralf Hildebrandt Ralf.Hildebrandt@charite=
.de
my current spamtrap partmap...@charite.de
http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-1=
55
The more I C, the less I see.

Devdas Bhagat

unread,
Mar 18, 2003, 3:07:11 AM3/18/03
to
On 18/03/03 08:55 +0100, Ralf Hildebrandt wrote:
> Rather use:
> netstat -an | grep 25 | grep -i tcp
netstat -lnt|grep 25

Devdas Bhagat

0 new messages