
On Wed, Nov 4, 2009 at 2:41 AM, Jodi Thomson <jodit(a)prophecy.net.nz> wrote:
Couple of ways 1) In /etc/mail/mailertable put @dom.ain.org username(a)other.domain.org
or 2) if you want to bounce them @dom.ain.org error:nouser "550 User Unknown"
cheers
-- Jodi Thomson Systems Engineer Prophecy Networks Ltd P.O.Box 420 21 Browning Street Napier DDI: +64 6 8243901 Ph: +64 6 9742200 FAX: +64 6 9742201 Mob: +64 21 937684
"Right now I'm having amnesia and deja vu at the same time. I think I've forgotten this before."
________________________________ From: wlug-bounces(a)list.waikato.ac.nz on behalf of John Billings Sent: Tue 11/3/2009 10:31 PM To: Waikato Linux Users Group Subject: Re: [wlug] Sendmail + catchall account
Firstly it's a bad idea, you should just create accounts you think you might need or are actually mistyped. I too once thought a catchall was a good idea, now several years and many hundreds of thousands of pieces of spam later I don't think so.
If your still bent on discussion there is a guide here:
Rimu have a howto here:
http://rimuhosting.com/support/settingupemail.jsp?mta=sendmail&t=catchall#catchall
Good luck, John
Narender wrote:
Hi Is there any way of creating a 'catchall' or a default account that all undelivered mail can go to ?
eg if we have 3 user accounts (user1, user2, admin) already set up, but someone sends an email to user3(a)mydomain.com, can sendmail figure out that it doesn't match any existing users and deliver it to admin(a)mydomain.com ?
I am using sendmail-8.13.1-3.RHEL4.5
Best Regards N _______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
Ok, thanks for your suggestions. I need to explain it a little more. 1. My server is not a live server and never intended to be live. 2. it is a testing server for Quality Assurance team. what i need that all the mails for the *same domain* with even invalid user should be delivered in the a mailbox. say user1(a)mydomain.com and user2(a)mydomain.com are valid users and now if someone sends a mail to user3(a)mydomain.com then instead of getting "unknown user" it should be delivered to some mailbox say admin(a)mydomain.com when i put an entry in mailer table then surprisingly my testing server stops receiving mails. hope i am able to explain it . --Best regards Narender