The Network People Support Forums

Mail::Toaster => Configuration Issues => Topic started by: SyNeo on December 02, 2004, 06:25:26 AM

Title: Specifying root email address
Post by: SyNeo on December 02, 2004, 06:25:26 AM
Hello.

Anything that system sends to root, arrives to the postmaster email, after multiple bounces, with the following begining:

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

How can I specify another email address, instead of the root@localhost.localhost?

Thank you.
Title: Re: Specifying default root email address
Post by: LogicX on December 02, 2004, 07:37:32 AM
SyNeo

Hello.

Anything that system sends to root, arrives to the postmaster email, after multiple bounces, with the following begining:

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

How can I specify another email address, instead of the root@localhost.localhost?

Thank you.


You should be able to specify the system's default email addresses (such as root, postmaster) in a few places:
1. /var/qmail/alias files
root:tract|9:35:45am|/var/qmail/alias: ls -1.qmail-mailer-daemon.qmail-postmaster.qmail-root

2. /usr/local/etc/toaster-watcher.conf:
toaster_admin_email            = admin@imcc.ca

3. An individual domain's aliases
~vpopmail/domains/blah.com/.qmail-*

4. /etc/mail/aliases (if you still have sendmail running, doing any local system deliveries) (be sure to run 'newaliases' afterwords)
root: me@my.domain
Title: Specifying root email address
Post by: SyNeo on December 04, 2004, 05:12:13 PM
Thank you for the directions.

But there is one problem - they all related to the postmaster email address, and no one speaks regarding the root email address, meaning there still would be multiple bounces, before they will reach the email address.

What I need, is to change the root@localhost.localhost address.
Title: Specifying root email address
Post by: SyNeo on December 04, 2004, 05:49:06 PM
Hmm, after some reading, I discovered that setting an alias named .qmail-root, in the /var/qmail/aliases, should have solved the problem, as we basically told qmail where to send all root's related email, right?

Well, the email is set correctly, but the daily system output still is sent to the non functional root@localhost.localhost.

Maybe there is some problem in the configuration of qmail?
Title: Re: Specifying root email address
Post by: normal1 on February 13, 2005, 01:12:59 PM
I'd like to see if someone knows about this since I have exactly the same issue.

Cheers!
Title: Re: Specifying root email address
Post by: LogicX on June 03, 2005, 07:32:31 AM
I'm not really sure where its getting localhost.localhost from

Verify the following settings:

execute hostname, whats the output?

whats the value for hostname= in /etc/rc.conf?

are there any entries in /etc/hosts for your machine, setting it to be localhost?

(could the default entry of
"127.0.0.1               localhost localhost.my.domain"
have any bearing?)