On Thu, Aug 09, 2001 at 02:34:06PM -0230, Martin Marconcini wrote:
> 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...

Try talking proper SMTP instead:

220 megadeth.dnsalias.com ESMTP
helo megadeth.dnsalias.com
250 megadeth.dnsalias.com
mail from:<[EMAIL PROTECTED]>
250 ok
rcpt to:<[EMAIL PROTECTED]>
250 ok
data
354 go ahead
Subject: Whatever

Whatever
.
250 ok 997364882 qp 23545

> /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.

See all that stuff that says "sendmail"? qmail doesn't seem to be involved
here.

Chris

Reply via email to