MAILER-DAEMON and aliases

Hello,

How do I change the message that are sent from the MAILER-DAEMON address, when someone sends a message to an email address on my server(s) that doesn´t excist?
I run a Redhat Linux 4.2 and a Redhat Linux 5.0 server.

BTW, where is the alias file (the one that alias email addresses to excisting users) on a Linux 1.3.97 system? In Redhat it is located at /etc/aliases...but in Linux 1.3.97???

Thanks in advance.
thornbushAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jeffa072897Commented:
For the MAILER-DEAMON address look into the sendmail.cf file.
Also, dowload the source code for sendmail form www.sendmail.org. When you un-tar it in the sendmail-x.x.x/cf/cf directory is a file with all the sendmail options to build a new sendmail.cf file. If all else fails follow the doc and build a new sendmail.cf file to suit your needs.

For the aliases have you tried -

find / -name aliases -print

If you have an aliases file that should find it. In all the Linux machines I've setup the aliases file was in /etc.
If you run newaliases does it complain there is no alias files?


ahoffmannCommented:
See  OA  option in sendmail.cf wher to find the alias file.
See  OE  option for filename with error message (default: /etc/sendmail.oE)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.