Hi,

try adding localhost to both rcpthost and locals

: -----Original Message-----
: From: Martin Marconcini [mailto:[EMAIL PROTECTED]]
: Sent: Monday, August 06, 2001 4:36 PM
: To: [EMAIL PROTECTED]
: Subject: Local Deliveries not working anymore.
: 
: 
: Hi: Here's a brief description of my problem.
: 
: I had Qmail running smooth with tcpserver, qmail-pop3d, 
: daemontools, and
: all the stuff explained in Life W/Qmail.
: The box is OpenBSD 2.9-Stable.
: I use obviously $HOME/Maildir
: 
: The mail domain is: megadeth.dnsalias.com
: But I have a rcpthost:
: -------------------------------
: cat /var/qmail/control/rcpthosts
: megadeth.dnsalias.com
: marconcini.com.ar
: -------------------------------
: cat me
: megadeth.dnsalias.com
: -------------------------------
: cat defaultdomain 
: dnsalias.com
: -------------------------------
: cat defaultdelivery 
: ./Maildir/
: 
: Etc... Everything WAS working... and lifewithqmail is excellent. 
: 
: It was working very very smooth. (so if you are reading this and don't
: know whether to switch from sendmail, don't hesitate! Qmail is by far,
: much better).
: 
: However, I had a web based form (using php mail() function) 
: that sent an
: email for me at my Qmail. (The webserver is on the same box 
: w/Qmail, so
: its localhost)
: 
: Yesterday I found out that emails are not reaching my Maildir and I
: though it was a PHP Problem. But let me expose some tests and logs.
: 
: A) If I send and email to [EMAIL PROTECTED] from 
: internet (that is
: any mail server) it works. I got the email in seconds. (I am 
: subscribed
: to 4 mailing lists and while I type this, emails from those are coming
: and coming)
: 
: B) If I send an email to [EMAIL PROTECTED] from 
: localhost (that is,
: using either the PHP form or telnet localhost) it won't work. 
: Check this:
: 
: bash-2.05$ telnet localhost 25
: Trying 127.0.0.1...
: Connected to localhost.
: Escape character is '^]'.
: 220 megadeth.dnsalias.com ESMTP
: helo marconcini.com.ar
: 250 megadeth.dnsalias.com
: mail from [EMAIL PROTECTED]
: 250 ok
: rcpt to [EMAIL PROTECTED]
: 250 ok
: data
: 354 go ahead
: hello.
: .
: 250 ok 997103556 qp 27448
: quit
: 221 megadeth.dnsalias.com
: 
: The mail never arrives. (If I do the same for
: [EMAIL PROTECTED] , which is the master domain, the same
: happens)
: 
: The log: /var/mail/qmail/current for the above was
: @400000003b6e97ae02acce8c starting delivery 68: msg 165132 to local
: [EMAIL PROTECTED]
: @400000003b6e97ae02b62cfc status: local 1/10 remote 0/20
: @400000003b6e97ae0890600c delivery 68: success: did_1+0+0/
: @400000003b6e97ae09840324 status: local 0/10 remote 0/20
: @400000003b6e97ae099bbd5c end msg 165132
: 
: But the mail isn't there. There are 0 msg in the queue according to
: qmail tools. 
: 
: Even this user (martin) received mail from root and none is coming
: through that alias. 
: 
: Qmail is started properly using tcpserver and supervise is running. 
: 
: One thing: IT WAS WORKING. I can assure that. It worked for the last
: three months.
: The question is what could have changed? Where can I look? More logs?
: Tests?
: I really don't remember changing anything...
: 
: Check this log:
: /var/mail/mailog (php was configured to use /usr/bin/sendmail 
: which is a
: link according to lifewithqmail so I suppose Qmail's sendmail 
: logs here)
: 
: Aug  5 22:26:53 jupiter sendmail[28146]: f761Pc013284: to=Martin
: Marconcini <[EMAIL PROTECTED]>, ctladdr=www (67/67),
: delay=00:01:15, xdelay=00:01:15, mailer=esmtp, pri=30219,
: relay=megadeth.dnsalias.com. [209.99.238.166], dsn=4.0.0, 
: stat=Deferred:
: Connection timed out with megadeth.dnsalias.com.
: 
: Aug  5 22:26:55 jupiter sendmail[11698]: gethostbyaddr(209.99.238.166)
: failed: 2 
: 
: Aug  5 22:26:55 jupiter sendmail[11698]: f761QtV11698: from=www,
: size=219, class=0, nrcpts=1,
: msgid=<[EMAIL PROTECTED]>,
: relay=www@localhost
: 
: 
: ????????? A hand will be appreciated. The archives showed no clear
: results, since trying Local Delivery Not Working brings up many
: results... 
: 
: Thanks in advance for reading this far. 
: 
: 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