From owner-freebsd-questions Sun Jul 22 7:17:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nexusinternetsolutions.net (nx1.nexusinternetsolutions.net [204.50.158.10]) by hub.freebsd.org (Postfix) with SMTP id B1ABC37B401 for ; Sun, 22 Jul 2001 07:17:55 -0700 (PDT) (envelope-from dave@nexusinternetsolutions.net) Received: (qmail 17592 invoked from network); 22 Jul 2001 14:14:51 -0000 Received: from unknown (HELO WS1) (204.50.158.15) by nx1.nexusinternetsolutions.net with SMTP; 22 Jul 2001 14:14:51 -0000 From: "Dave" To: Subject: forward root mail with qmail install on FreeBSD 4.3 Date: Sun, 22 Jul 2001 10:22:54 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG normally to redirect root mail to another server account (centralized root mail account) would involve simply indicating the target account@domain.name in /etc/aliases, newaliases, and voila. With qmail and associated programs installed, newaliases now (understandably) points to /var/qmail/bin/newaliases which is nonexistant (on all 5 servers with same setup). on a server with the qmail solution functioning perfectly, cannot seem to redirect root mail (cron errors, daily system reports and so forth) from the server to the account on a sister server. Sendmail is disabled. qmail is the only mail transport. both machines are same netwoek, same domian name (read "me contains mydomain.com" on both) but the target machine is the primary mail handler for the domain the servers beloong to, and the machine in question hosts virtual domains for clients. /var/qmail/alias/.qmail-root et.al. files containing the emails of the accounts to receive mail for root are in place and correct. The system still generates root messages(daily security outputs and such) which are not being forwarded to the addresses indicated. Qmail is functioning correctly for all other mail processed through the server, for numerous domains. virtual root addresses are not the problem, the actual "server root" address is the problem for system generated messages. could the problem be that the default domain for all servers is "mydomain.com" so that when server2(the server hosting multiple other domains that we are trying to send root messages from) sees the alias to sysadmin@mydomain.com it tries to send that to qmail on server2 rather than server1 (actual mail server for mydomain.com) (hope we didn't lose anyone there) I would expect that qmail would perform a mx lookup to see where mail for mydomain.com is to be delivered, and contact the appropriate server, though this does not appear to be happening. Sorry for teh long-winded explanation... am clearly missing something trivial... can't see the forest for the trees type of problem now I think. Appreciate any insight Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message