Jake Vickers wrote:
Richard Vinke wrote:
Hello List,

I installed QMT on a server with hostname "server6". I created a domain 'mydomain.nl' and added some users. Now I want to direct alle the 'root' mail, 'postmaster' mail etc to 'postmas...@mydomain.nl'.

I tried several things, but still no luck.
How can I do this?

Under /var/qmail/alias you will have a couple files. They're hidden:
.qmail-postmaster
.qmail-root

Inside those files you will see what email address is defined for each (aptly named).
You can also define .qmail-anonymous and .qmail-mailer-daemon
Thanks!
I changed all the files in /var/qmail/alias and added your two other files.
If I run logwatch, the user postmas...@mydomain.nl gets the following 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.server
   <http://server6/webmail/src/compose.php?send_to=root%40server6.server>6>:
   Sorry, I couldn't find any host named server6.server6. (#5.1.2)

   --- Below this line is the original bounce.

   Return-Path: <>
   Received: (qmail 2760 invoked for bounce); 15 Jan 2009 18:17:58 -0000
   Date: 15 Jan 2009 18:17:58 -0000
   From: mailer-dae...@server6
   To: r...@server6.server
   <http://server6/webmail/src/compose.php?send_to=root%40server6.server>6
   Subject: failure notice

   Hi. This is the qmail-send program at server6.
   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.

   <r...@server6.server
   <http://server6/webmail/src/compose.php?send_to=root%40server6.server>6>:
   Sorry, I couldn't find any host named server6.server6. (#5.1.2)

   --- Below this line is a copy of the message.

   Return-Path: <r...@server6.server
   <http://server6/webmail/src/compose.php?send_to=root%40server6.server>6>
   Received: (qmail 2757 invoked by uid 0); 15 Jan 2009 18:17:58 -0000
   Date: 15 Jan 2009 18:17:57 -0000
   Message-ID: <20090115181757.2728.qm...@server6>
   To: r...@server6.server
   <http://server6/webmail/src/compose.php?send_to=root%40server6.server>6
   From: logwa...@server6.server
   <http://server6/webmail/src/compose.php?send_to=logwatch%40server6.server>6
   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) ####################
   Processing Initiated: Thu Jan 15 19:17:57 2009
   Date Range Processed: yesterday
   ( 2009-Jan-14 )
   Period is day.
   Detail Level of Output: 0
   Type of Output: unformatted
   Logfiles for Host: server6
   ##################################################################
   ........

So, no 'mydomain.nl' but a double 'server6'..... And this mail IS deliverd to 
postmas...@mydomain.nl.
Do I have to change some files in /var/qmail/control?






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


---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Reply via email to