Hi list: I am experiencing the same trouble a few days ago... 
My Qmail will accept inbound and deliver to Maildir but not from
LOCALHOST...
Box is openbsd 2.9.
Mails for accounts in my box arrive smooth. But if I try to send FROM
localhost to local ... will not.


Here is the log/long version:

bash-2.05# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 megadeth.dnsalias.com ESMTP
helo megadeth.dnsalias.com
250 megadeth.dnsalias.com
mail to [EMAIL PROTECTED]
250 ok
rcpt to [EMAIL PROTECTED]
250 ok
data
354 go ahead
.
250 ok 997364882 qp 23545
Mail will never arrive...


This time I will post every piece of log/control file... thanks.
/var/log/qmail/current
@400000003b72949c101d82dc new msg 165132
@400000003b72949c10372174 info msg 165132: bytes 182 from <> qp 23545
uid 2850
@400000003b72949c152f64ac starting delivery 42: msg 165132 to local
@megadeth.dnsalias.com
@400000003b72949c1538e25c status: local 1/10 remote 0/20
@400000003b72949c15965054 delivery 42: success: 
@400000003b72949c16d0c83c status: local 0/10 remote 0/20
@400000003b72949c16e67704 end msg 165132

/var/log/qmail/
@400000003b7292e524747754 tcpserver: ok 20928 0:209.99.238.152:25
pb1.pair.com:216.92.131.4::22410
@400000003b7292e825fd51a4 tcpserver: end 20928 status 0
@400000003b7292e826006e84 tcpserver: status: 0/20
@400000003b7294800544a3f4 tcpserver: status: 1/20
@400000003b729480058c72c4 tcpserver: pid 24758 from 127.0.0.1
@400000003b72948007491acc tcpserver: ok 24758 0:127.0.0.1:25
localhost:127.0.0.1::25094
@400000003b7295542e74e414 tcpserver: end 24758 status 0
@400000003b7295542e8f9bec tcpserver: status: 0/20

/var/log/qmail/qmail-pop3d/current
@400000003b72943c007cfa24 tcpserver: status: 0/40
@400000003b7295702fa1d70c tcpserver: status: 1/40
@400000003b7295702fc948b4 tcpserver: pid 25741 from 192.168.0.77
@400000003b7295702fd114cc tcpserver: ok 25741 0:192.168.0.1:110
:192.168.0.77::3791
@400000003b72957110903624 tcpserver: end 25741 status 256
@400000003b72957110934f1c tcpserver: status: 0/40

/var/log/maillog  (when using PHP function mail() points to
/var/qmail/bin/qmail-inject)

Aug  9 10:42:54 jupiter sendmail[6217]: gethostbyaddr(209.99.238.152)
failed: 2 
Aug  9 10:42:54 jupiter sendmail[6217]: f79Dgso06217: from=www,
size=276, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>,
relay=www@localhost
Aug  9 10:44:09 jupiter sendmail[20485]: f79Dgso06217: to=Martin
Marconcini <[EMAIL PROTECTED]>, ctladdr=www (67/67),
delay=00:01:15, xdelay=00:01:15, mailer=esmtp, pri=30276,
relay=megadeth.dnsalias.com. [209.99.238.152], dsn=4.0.0, stat=Deferred:
Connection timed out with megadeth.dnsalias.com.

Here is the key... however a ping to megadeth.dnsalias.com responds
almost instantly.
Also to Jupiter.marconcini.com.ar...

I don't know what's causing this delay. I have reversing for
192.168.x.x.
Obviously not to dnsalias.com...

Here are my control files:

bash-2.05# cat defaultdomain 
dnsalias.com

bash-2.05# cat me
megadeth.dnsalias.com

bash-2.05# cat rcpthosts 
megadeth.dnsalias.com
marconcini.com.ar
localhost
jupiter.megadeth.dnsalias.com
jupiter.marconcini.com.ar
(I added these two today)

bash-2.05# cat defaultdelivery 
./Maildir/

bash-2.05# cat locals 
megadeth.dnsalias.com
marconcini.com.ar
localhost
jupiter.megadeth.dnsalias.com
jupiter.marconcini.com.ar
(I also added these)

bash-2.05# cat plusdomain 
dnsalias.com

bash-2.05# ./qmailctl stat
/service/qmail-send: up (pid 31163) 24915 seconds
/service/qmail-send/log: up (pid 27572) 144445 seconds
/service/qmail-smtpd: up (pid 27476) 24915 seconds
/service/qmail-smtpd/log: up (pid 9291) 144445 seconds
/service/qmail-pop3d: up (pid 18246) 24915 seconds
/service/qmail-pop3d/log: up (pid 1581) 144444 seconds
messages in queue: 0
messages in queue but not yet preprocessed: 0


Well I guess that's all. One more thing. If you send a message to
[EMAIL PROTECTED] it will arrive perfectly. But the problem
is from localhost. (I added localhost to rcpthosts and locals, and it
worked for a few days/hours?).

Any ideas? Any other log I am missing? Mails are LOST forever... I don't
know where they go.

Any help will be appreciated. And by the way, this used to work before I
touch anything... 

Regards,

Martin Marconcini
www.marconcini.com.ar

"Life must be lived looking forward and can be understood only looking
backward." Soren Kierkegaard


Reply via email to