Hi all, i have one question about qmail-smtpd.

When i boot my machine and fetch my mail, qmail-smtpd is spawned by xinetd
and everything works ok. But the second time xinetd tries to execute
qmail-smtpd, it gives the next error:

Apr  7 19:08:01 roku xinetd[1092]: execv( /var/qmail/bin/qmail-smtpd 
) failed: Bad address (errno = 14)

I guess it's not a matter of permissions, anyway i changed the owner of
qmail-smtpd from root to qmaild. If it was about permissions, execv would
had shown a bad access error. 
But, when the script which launches xinetd is restarted, then every time
qmail-smtpd is spawned all work as it was expected to. No error in the
logs.

The xinetd conf i think is totally correct:

service smtp
{
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = qmaild
        server                  = /var/qmail/bin/qmail-smtpd
        server_args             = ""
        log_on_failure          += RECORD
        disable                 = no
}


So i have no idea why this problem appears. Somebody have any idea about
this? I hate when those strange things happens, probably something is
mistaked in my config, but i don't have a clue about what it is.

Thank you all



David Gómez

"The question of whether computers can think is just like the question of
 whether submarines can swim." -- Edsger W. Dijkstra


Reply via email to