> hi
> Is there anyway to configure sendmail so that if a user account is not
> available it should deliver the mail to a particular user(say
> root), instead
> of bouncing the mail  to the sender with 'User Unkown' message.
>
> -Logu


In the virtusertable file (under /etc/mail on Redhat systems), put in a line
like this:

@foo.com        [EMAIL PROTECTED]

Then

makemap hash virtusertable < virtusertable
        ^^^^
(or dbm or whatever other format you use)

That should do the trick. Anything other than the users specified at
foo.com, will be sent to [EMAIL PROTECTED] See
http://www.sendmail.org/virtual-hosting.html for details.

But from my personal experience let me tell you, although it has its uses,
more often than not, it is a major pain in the behind to have a catch-all
ID. True, your company will not miss an urgent proposal even if the Chinese
guy on the other end has spelt your name wrong. However, a lot of
unnecessary mail will keep popping in too and that is very painful.

Just my 2 paise out of my personal bad experience.

Regards,
Linux Rockz



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to