Hi all

logwatch is sending the mail to "root". This is the default.
But the mail is send to "r...@server6.server6="
As I edited all files in "/var/qmail/alias/" to "postmas...@mydomain.nl", I get the mail:

   Hi. This is the qmail-send program at server6.
   I tried to deliver a bounce message to this address, but the bounce
   bounced!

   <r...@server6.server6>:
   Sorry, I couldn't find any host named server6.server6. (#5.1.2)

   --- Below this line is the original bounce.

   Return-Path: <r...@server6.server6>
   Received: (qmail 4901 invoked by uid 0); 25 Feb 2009 15:12:36 -0000
   Date: 25 Feb 2009 15:12:32 -0000
   Message-ID: <20090225151232.4632.qm...@server6>
   To: r...@server6.server6
   Subject2: To: root
   From: logwa...@server6.server6
   Subject: Logwatch for server6 (Linux)
   MIME-Version: 1.0
   Content-Transfer-Encoding: 7bit
   Content-Type: text/plain; charset="iso-8859-1"


    ################### Logwatch 7.3.6 (05/19/07) ####################

It mentions twice the hostname of my server (server6).

If I change the logwatch.conf MailTo line to =MailTo = postmas...@mydomain.nl=, the mail is send correctly to my account.

In the logwatch script the "To:" is filled in correctly (I added a second line to echo the variable). The line is "To: root". No additons of "@server6.server6".

Where is the double servername coming from?


begin:vcard
fn:Richard Vinke
n:Vinke;Richard
email;internet:rich...@vogelnestje.nl
x-mozilla-html:TRUE
version:2.1
end:vcard


---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Reply via email to