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?
 
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)

0
 
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?


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.