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

Socket error on STMP

0 views
Skip to first unread message

Robert Fitzpatrick

unread,
Jan 23, 2004, 11:03:23 AM1/23/04
to
I am watching a Postfix server for someone else while they are out of
town and have very little experience with it. It is Postfix 1.1.7 on
FreeBSD 4.4. This afternoon all of sudden, users cannot send via the
server SMTP, getting a socket error. I restart Postfix and all starts
working again for several minutes, but then stops again. I can't seem
to find any problems in the /var/log/messages or /var/log/maillog that
show a problem. Can someone give me some guidance on tracking down the
problem.

--
Robert

Victor....@morganstanley.com

unread,
Jan 23, 2004, 11:37:19 AM1/23/04
to

This report is useless. Please provide concrete data.

- Is telnet to port 25 successful

- Is the 220 greeting banner returned quickly?

- egrep ': (warning|error|fatal|panic): ' /var/log/maillog

Replace /var/log/maillog with whatever file contains your mail logs.

- "postconf -n" output.

- netstat -an | perl -lne 'print if (/(\d+\.){3}\d+.25\b.*ESTABLISHED/)'

output

- mailq | tail -1

- qshape | head -20

Get qshape from Ralf Hildebrandt's website.

--
Viktor.

Robert Fitzpatrick

unread,
Jan 23, 2004, 1:09:37 PM1/23/04
to
On Fri, 2004-01-23 at 11:37, Victor....@morganstanley.com wrote:
> This report is useless. Please provide concrete data.
>
> - Is telnet to port 25 successful
>
> - Is the 220 greeting banner returned quickly?
>
> - egrep ': (warning|error|fatal|panic): ' /var/log/maillog
>
> Replace /var/log/maillog with whatever file contains your mail logs.
>
> - "postconf -n" output.
>
> - netstat -an | perl -lne 'print if (/(\d+\.){3}\d+.25\b.*ESTABLISHED/)'
>
> output
>
> - mailq | tail -1
>
> - qshape | head -20
>
> Get qshape from Ralf Hildebrandt's website.

Thanks, exactly what I needed. It was down this morning and I restarted as yesterday and all started working, and luckily it has not done it again today. If the problems crop up again, I'll be sure to post some more information.

--
Robert

0 new messages