Thanks for your help.
# cat /etc/mail/access
From:no-reply@rolex.com REJECT
From
SN@localhost REJECT
From:myemail@gmail.com REJECT
In the above entries the first two addresses are able to send mail through our server despite being blacklisted. I added
myemail@gmail.com for testing and it is getting blocked.
# tail /var/log/maillog
/var/log/maillog-20101114:Nov 12 13:03:59 mail sendmail[30967]: oAC7Xrim030967: ruleset=check_mail, arg1=<myemail@gmail.com>, relay=mail-yw0-f54.google.com [209.85.213.54], reject=550 5.7.1 <myemail@gmail.com>... Access denied
Am not that much familiar with sendmail and am just roped into solve this problem due to the guy in charge being away for holidays.
# mailq | wc -l
346
Out of this 346 messages none does not originate from our domain.And 5 days ago we had around 45000 messages!! in the mailqueue.
Mails similar to one below are plaguing our mail server.
oAEFJaM7030453 2660 Sun Nov 14 20:49 <mrs.daisy00@ymail.com>
(reply: read error from gmailyahoo.com.)
<chrsitan@gmailyahoo.com>
<rossalmanzar@gmeil.com>
<frqtpie@gmial.com>
<ekrebs1@gmial.com>
<derosilamcost@gmial.com>
<cferrantello@gmial.com>
<boykin.regina7@gmial.com>
<gmanuel@gmconsulting.net>
<reshannn@gmaul.com>
<racollins1950@gmaul.com>
<mostisangie@gmaul.com>
<mmjacobs1975@gmaul.com>
<kfc100@gmaul.com>
<johnzulu@gmaul.com>
<anormanrsc@gmaul.com>
<sandralvarez67@phx1-ss-2-lb.cnet.com>
<lordsurvey@phx1-ss-2-lb.cnet.com>