OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: "SMTP Greeting failure 421 connection went away"?
From: Chris Lattner (sabrenondot.org)
Date: Tue Sep 19 2000 - 14:15:54 CDT


Okay.... here you go:

$ postconf -n
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
default_privs = nobody
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail -a $DOMAIN -d $LOGNAME
mydestination = $myhostname localhost.$mydomain www.$mydomain
myorigin = $mydomain
queue_directory = /var/spool/postfix
smtpd_banner = $myhostname ESMTP $mail_name

And some info on my setup...

Basically the box is meant to be the sole mail server for a very small
network. All of the mail for my domain (nondot.org) is supposed to go
there... and mail is supposed to come from xxxnondot.org.

Any more info I can help with? I really appreciate the help... I wish I
knew more about mail systems in general, because I never appreciated the
complexity and available options before!

-Chris

On Tue, 19 Sep 2000, Lars Hecking wrote:

> Chris Lattner writes:
> >
> > Okay, I have postfix set up and have all my looping back upon myself
> > problems fixed, but now I'm having another problem. When I try to send
> > mail anywhere from pine on the machine, I get:
> >
> > SMTP Greeting failure 421 connection went away
> >
> > (after a long time, the timeout duration I assume)... looking the the
> > maillog file, I see:
> >
> > <postfix reload>
> > postfix/sendmail[32733]: warning: sendmail is set-uid root, or is run from a set-uid root process
>
> Postfix' sendmail must not be suid root. Does Mandrake use linuxconf?
>
> > postfix/smtpd[32733]: connect from localhost[127.0.0.1]
> > postfix/smtpd[32733]: warning: smtp_timeout_event: shutdown: Socket operation on non-socket
> > postfix/smtpd[32733]: timeout after CONNECT from localhost[127.0.0.1]
> > postfix/smtpd[32733]: disconnect from localhost[127.0.0.1]
> >
> > Which is not very helpful to me! Does anyone have any idea what's going
> > on here? I attached my main.cf file... but it's pretty much a Mandrake
>
> This is not really helpful, because nobody is actually going to read
> that file and figure out what changes you've made. Instead, send the
> output of postconf -n, this prints just the non-default settings.
>
>