Can't resolve & clearopensmtp
Hi, As I posted before I was having trouble with qmail ,that was not recognizing my own localhost name (babel) in a message sent by crontab to: [EMAIL PROTECTED] The message, I finally found out, was sent by: I don't understand where this takes to send the mail to [EMAIL PROTECTED], but I can do it from smtp or webmail without problems...so it recognizes the domain (dns: OK, smtp:OK, webmail: OK) but when the crontab fails (also I would like to know why) it sends this message, I don't know how, and it gives me the following error: Aug 26 15:02:22 babel qmail: 935690542.638603 starting delivery 822: msg 143528 to remote [EMAIL PROTECTED] Aug 26 15:02:22 babel qmail: 935690542.640141 status: local 0/10 remote 1/20 Aug 26 15:02:22 babel qmail: 935690542.642189 delivery 822: deferral: Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/ Thinking that babel.sintesoft.net is remote...but when I use babel.sintesoft.net or webmail it takes the mail as local...my locals file contents are: localhost .sintesoft.net And the message I'm receiving from the Crontab is: Return-Path: <> Delivered-To: [EMAIL PROTECTED] Received: (qmail 23779 invoked by alias); 26 Aug 1999 16:50:45 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 23776 invoked for bounce); 26 Aug 1999 16:50:45 - Date: 26 Aug 1999 16:50:45 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at babel.sintesoft.net. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <[EMAIL PROTECTED]>: Sorry, I couldn't find any host named babel.sintesoft.net. (#5.1.2) --- Below this line is a copy of the message. Return-Path: <[EMAIL PROTECTED]> Received: (qmail 7793 invoked by uid 0); 24 Aug 1999 17:55:00 - Date: 24 Aug 1999 17:55:00 - Message-ID: <[EMAIL PROTECTED]> From: [EMAIL PROTECTED] MBOX-Line: From root Tue Aug 24 14:55 GMT 1999 To: [EMAIL PROTECTED] Subject: Output from "cron" command Content-Type: text Your "cron" job on babel /mail/vpopmail/bin/clearopensmtp 2>&1 > /dev/null produced the following output: Broken Pipe - Any idea how to fix both things?. I think the cron is doing something wrong Many thanks!, Martin
Re: Can't resolve & clearopensmtp
On Thu, 26 Aug 1999 at 15:30:00 -0300, Martin Paulucci wrote: > As I posted before I was having trouble with qmail ,that was not > recognizing my own localhost name (babel) in a message sent by crontab > to: [EMAIL PROTECTED] The message, I finally found out, was sent > [...] > This is a permanent error; I've given up. Sorry it didn't work out. > > <[EMAIL PROTECTED]>: > Sorry, I couldn't find any host named babel.sintesoft.net. (#5.1.2) Seems true: moko:~$ host babel.sintesoft.net babel.sintesoft.net does not exist (Authoritative answer) -- Tomasz Papszun SysAdm @ TP S.A. Lodz, Poland | And it's only [EMAIL PROTECTED] http://www.lodz.tpsa.pl/ | ones and zeros.
Re: Can't resolve & clearopensmtp
[EMAIL PROTECTED] wrote: > >As I posted before I was having trouble with qmail ,that was not >recognizing my own localhost name (babel) in a message sent by crontab >to: [EMAIL PROTECTED] What does qmail-showctl say? >/mail/vpopmail/bin/clearopensmtp 2>&1 > /dev/null I think you need to make that: /mail/vpopmail/bin/clearopensmtp > /dev/null 2>&1 -Dave
Re: Can't resolve & clearopensmtp
Martin Paulucci writes: > Thinking that babel.sintesoft.net is remote...but when I use > babel.sintesoft.net or webmail it takes the mail > as local...my locals file contents are: > localhost > .sintesoft.net The locals control file doesn't support wildcards. So ``.sintesoft.net'' will be taken literally. (Don't forget to send a HUP signal to qmail-send after you change locals.) -- Tetsu Ushijima
Re: Can't resolve & clearopensmtp
Hi Dave, All > [EMAIL PROTECTED] wrote: > > > >As I posted before I was having trouble with qmail ,that was not > >recognizing my own localhost name (babel) in a message sent by crontab > >to: [EMAIL PROTECTED] > What does qmail-showctl say? - About the qmail-showctl it says: envnoathost: (Default.) Presumed domain name is babel.sintesoft.net. helohost: (Default.) SMTP client HELO host name is babel.sintesoft.net. idhost: (Default.) Message-ID host name is babel.sintesoft.net. localiphost: (Default.) Local IP address becomes babel.sintesoft.net. locals: Messages for localhost are delivered locally. Messages for .sintesoft.net are delivered locally. me: My name is babel.sintesoft.net. -- This is a part of it, the most important I see that is not correct is envnoathost it says presumed domain: babel.sintesoft.net and I think it should say only sintesoft.net because babel is the name of the server. How can I change it?. Any other line of showctl should I check for this problem?. > >/mail/vpopmail/bin/clearopensmtp 2>&1 > /dev/null > /mail/vpopmail/bin/clearopensmtp > /dev/null 2>&1 I've changed to the 2nd line, so I hope it works fine.
Re: Can't resolve & clearopensmtp
On Fri, Aug 27, 1999 at 12:07:36PM -0300, Martin Paulucci wrote: > This is a part of it, the most important I see that is not correct is > envnoathost it says presumed > domain: babel.sintesoft.net and I think it should say only sintesoft.net > because babel is the name of the server. How can I change it?. Hello Martin, man qmail-control: envnoathost defaults to me, so putting sintesoft.net into envnoathost and giving qmaila HUP should be it. Regards Mirko