qmail Digest 15 Jul 2001 10:00:00 -0000 Issue 1426

Topics (messages 65995 through 66002):

qmail-smtpd error?
        65995 by: Martin Bangieff
        65996 by: Uwe Ohse
        66000 by: Kenneth

selective relaying
        65997 by: Johannes Huettemeister
        66001 by: Henning Brauer

error in mail delivery - after connection established nothing hap pens for 30 sec & 
connection  resets
        65998 by: Avi Rozner
        66002 by: Henning Brauer

Alias Error
        65999 by: Bob Ross

Administrivia:

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To bug my human owner, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


hi all

I'm quite new in the qmail mta and my question may be stupid or something
for what I excuse, but here my problem is:

I've just installed the qmail package on my linux (2.2.16) slackware 7.1
exactly following the instructions in the INSTALL file but the qmail-smtpd
daemon is not executing correctly. Here are the details:

#############################
that's my inetd.conf file ->

smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env \
            tcp-env /var/qmail/bin/qmail-smtpd

#############################
that's the test command ->

HomePC-bangieff@Bangieff:~$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

#############################
thet message appears in the syslog file

Jul 15 00:54:24 Bangieff in.identd[1038]: reply to 127.0.0.1: 1061 , 25 :
USERID : UNIX :bangieff
Jul 15 00:54:24 Bangieff inetd[84]: pid 1037: exit status 111

anyone can tell me what's wrong?
thans in advance





On Sun, Jul 15, 2001 at 01:15:06AM -0700, Martin Bangieff wrote:
> 
> smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env \
>             tcp-env /var/qmail/bin/qmail-smtpd

leave out the (second) "tcp-env" argument.

You might also want to consider using tcpserver instead of inetd.
tcpserver is far more reliable.

Regards, Uwe




Martin,

You are probably going to need xinetd or tcpserver in the near future 
(qmail expects it's port to be protected against relaying by something 
else and inetd won't do that) since I use xinet.d here's a working set 
of config files for xinetd and tcpwrappers.  The qmail file goes in 
/etc/xinet.d (which should be available for slackware) and allow is 
/etc/hosts.allow for tcpwrappers.

Kenneth

>
>
>I'm quite new in the qmail mta and my question may be stupid or something
>for what I excuse, but here my problem is:
>
>I've just installed the qmail package on my linux (2.2.16) slackware 7.1
>exactly following the instructions in the INSTALL file but the qmail-smtpd
>daemon is not executing correctly. Here are the details:
>
>#############################
>that's my inetd.conf file ->
>
>smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env \
>            tcp-env /var/qmail/bin/qmail-smtpd
>
>#############################
>that's the test command ->
>
>HomePC-bangieff@Bangieff:~$ telnet localhost 25
>Trying 127.0.0.1...
>Connected to localhost.
>Escape character is '^]'.
>Connection closed by foreign host.
>
>#############################
>thet message appears in the syslog file
>
>Jul 15 00:54:24 Bangieff in.identd[1038]: reply to 127.0.0.1: 1061 , 25 :
>USERID : UNIX :bangieff
>Jul 15 00:54:24 Bangieff inetd[84]: pid 1037: exit status 111
>
>anyone can tell me what's wrong?
>thans in advance
>
>


# default: off
# description: The qmail service provide MTA
service smtp
{
        flags                   = NAMEINARGS            
        socket_type             = stream
        wait                    = no
        user                    = qmaild
        server                  = /usr/sbin/tcpd
        server_args             = /var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd
        disable                 = no
}
#
# hosts.allow   This file describes the names of the hosts which are
#               allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
in.telnetd: LOCAL, dsl.sfnc21.pacbell.net
in.ftpd: LOCAL, dsl.sfnc21.pacbell.net
tcp-env: LOCAL,64.169.67.232/255.255.255.248: setenv = RELAYCLIENT




hi,

as it seems I don`t really understand selective relaying. I
configured qmail the way that I thought it only would relay for my
localhost, but it also relays for the pcs on the local net.
Here my config files:
I use tcpserver to listen for smtp:

tcp.smtp (before hashing it): 
-----
127.0.0.1:allow,RELAYCLIENT=""
192.168.0.6:allow,RELAYCLIENT=""         #the local IP
:allow
------

rcpthosts:
------
hugenay         #which is my local pc name
localhost
------

smtproutes:
------
:192.168.0.6
:mailto.btx.dtag.de     #which is the smtpserver of my provider,
                        #that I user for relaying.

So I thought, when a host connects to the smtp port, tcpserver will
allow all, but only set RELAYCLIENT for the mentioned IPs, so
rcpthosts will take effect. Is it the smtproutes files ?
Any Ideas?
johannes







On Sun, Jul 15, 2001 at 09:07:39AM +0200, Johannes Huettemeister wrote:
> hi,
> 
> as it seems I don`t really understand selective relaying. I
> configured qmail the way that I thought it only would relay for my
> localhost, but it also relays for the pcs on the local net.

You forgot to mention (and describe precise) your problem.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany               *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)




hi all

I've installed qmail package on my Linux Red Hat Linux release 6.1 (Cartman)
2.2.12-20 on an i586 - a year ago.

Everything works fine - I get mail from outside - except of 2 known
addresses.
When they try to send a message to me they get an error from their SMTP
server :

from the first sender :

##############################
--- Session Transcript ---
MX-record resolution of [praxell.com] in progress (DNS Server:
192.116.202.99)...
P=010 D=praxell.com TTL=(1387) MX=[relay.praxell.com] {194.90.98.14}
Attempting MX: P=010 D=praxell.com TTL=(1387) MX=[relay.praxell.com]
{194.90.98.14}
Attempting SMTP connection to [194.90.98.14 : 25]
Waiting for socket connection...
Socket connection established
Waiting for protocol initiation...
30 second wait for protocol timeout exceeded.
This message is 60 minutes old; it has 0 minutes left in this queue
Primary queue lifetime exceeded; message placed in retry queue
--- End Transcript ---
###############################


from the second sender:

########################
   ----- Transcript of session follows -----
451 <[EMAIL PROTECTED]>... reply: read error from relay.praxell.com.
<[EMAIL PROTECTED]>... Deferred: Connection reset by relay.praxell.com.
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old
   
##########################


I used the tcpdump and saw that a connection did established but no data was
received:

15:19:10.740037 eth0 > relay.praxell.com.smtp > 62.90.58.229.45046: P
4275379217:4275379268(51) ack 1575305908 win 31740 (DF)
15:20:04.988847 eth0 < 62.90.58.229.45046 > relay.praxell.com.smtp: F 1:1(0)
ack 0 win 24840 (DF)
15:20:04.988935 eth0 > relay.praxell.com.smtp > 62.90.58.229.45046: .
51:51(0) ack 2 win 31740 (DF)
15:21:10.740044 eth0 > relay.praxell.com.smtp > 62.90.58.229.45046: P
0:51(51) ack 2 win 31740 (DF)
15:21:11.093894 eth0 < 62.90.58.229.45046 > relay.praxell.com.smtp: R
1575305909:1575305909(0) win 24840 (DF)

anyone can tell me what's wrong?
thanks in advance.




On Sun, Jul 15, 2001 at 10:10:44AM +0200, Avi Rozner wrote:
> --- Session Transcript ---
> MX-record resolution of [praxell.com] in progress (DNS Server:
> 192.116.202.99)...
> P=010 D=praxell.com TTL=(1387) MX=[relay.praxell.com] {194.90.98.14}
> Attempting MX: P=010 D=praxell.com TTL=(1387) MX=[relay.praxell.com]
> {194.90.98.14}
> Attempting SMTP connection to [194.90.98.14 : 25]
> Waiting for socket connection...
> Socket connection established
> Waiting for protocol initiation...
> 30 second wait for protocol timeout exceeded.
> This message is 60 minutes old; it has 0 minutes left in this queue
> Primary queue lifetime exceeded; message placed in retry queue
> --- End Transcript ---

These are no qmail messages.

Anyway, even if it were qmail: it really looks like network errors. 

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany               *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)




With every email I'm getting this error in my logs. I have never seen this
before so I'm sure I missed something.

delivery 10: deferral: Unable_to_find_alias_user!/

Can someone help me with this?

Thanks
Bob Ross



Reply via email to