Hi bathory ,
thanks for ur reply
These the link i had followed for configuring sendmail
http://www.shootthiscomputer.com/edu/sendmailubuntu/
But im using ubuntu distro 10.04lucid
#apt-get install sendmail
But i could int find any virtusertable in my /etc/mail folder
root@dinesh-desktop:~# clear
root@dinesh-desktop:~# cd /etc/mail
root@dinesh-desktop:/etc/mail# ls
access local-host-names sendmail.cf.old submit.cf
access.db m4 sendmail.conf submit.cf.old
address.resolve Makefile sendmail.mc submit.mc
aliases peers service.switch tls
aliases.db sasl service.switch-nodns trusted-users
databases sendmail.cf smrsh
helpfile sendmail.cf.errors spamassassin
root@dinesh-desktop:/etc/mail#
vi /usr/share/sendmail/examples/db/virtusertable
# Address rewrites for incomming mail
# user@realdomain (must be in $w) localuser (may be an alias)
#
info@foo.com foo-info
#
info@bar.com bar-info
# @baz.org
jane@elsewhere.net
# @foo.org %1@elsewhere.com
# @bar.org error:nouser User unknown
@terminal.com
catchall@terminal.com
Apr 21 15:32:35 dinesh-desktop sm-mta[11729]: q3L9jbpJ009947: to=<aer@terminal.com>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:16:58, xdelay=00:00:00, mailer=esmtp, pri=300355, relay=terminal.com., dsn=4.0.0, stat=Deferred: Connection timed out with terminal.com.
Apr 21 15:42:35 dinesh-desktop sm-mta[12020]: q3L9hcRj009793: to=<s@terminal.com>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:28:57, xdelay=00:00:42, mailer=esmtp, pri=390350, relay=terminal.com. [203.27.227.85], dsn=4.0.0, stat=Deferred: Connection timed out with terminal.com.
Apr 21 15:42:35 dinesh-desktop sm-mta[12020]: q3L9jbpJ009947: to=<aer@terminal.com>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:26:58, xdelay=00:00:00, mailer=esmtp, pri=390355, relay=terminal.com., dsn=4.0.0, stat=Deferred: Connection timed out with terminal.com.~
~
~