Thanks for your reply. But no that wasn't what i wanted.
@domain.tld catchall
this will send every single message to catchall account. That is also a great feature. But in my problem i wanted to only send those messages to catchall account which were destined to some unknown user/non-existent user on our server.
Fortunately i have solved that problem.
Here is what we should do.
In our /etc/mail/senmail.mc file. put following
Quote:
define(`LUSER_RELAY',`local:catchall')dnl
|
this will tell sendmail to route all messages to catchall account which are destined for a user which doesn't exist on our server.
Thanks.