Specifying root email address

Started by SyNeo, December 02, 2004, 06:25:26 AM

Previous topic - Next topic

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 mailto:root@localhost.localhost" target="_blank">root@localhost.localhost?

Thank you.

LogicX

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 mailto:root@localhost.localhost" target="_blank">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
--- May this post be indexed by spiders, and archived for all to see as my internet epitaph.
http://fpux.com" target="_blank">http://fpux.com

SyNeo

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 mailto:root@localhost.localhost" target="_blank">root@localhost.localhost address.

SyNeo

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?

normal1

I'd like to see if someone knows about this since I have exactly the same issue.

Cheers!

LogicX

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?)
--- May this post be indexed by spiders, and archived for all to see as my internet epitaph.
http://fpux.com" target="_blank">http://fpux.com