Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Sendmail - how to stop/block a secondary domain

Sendmail - how to stop/block a secondary domain

Sendmail - how to stop/block a secondary domain

hi all. apologies in advance for my lack of knowledge here, all i have to offer is good feedback ;)

i've trawled the net, but thought i would try here first

I have inherited a hosted server running Sendmail 8.11.6. it has always handled emails sent to COMPANY.COM

at the start of the year, the ISP changed their MX records so that emails to COMPANY.CO.UK (which are never used, never have been) are now pointed at the server. the server has never known what to do with these mails, and it seemed to have been left like this - with the postmaster mailbox full of "553 5.3.5 mail loops back to me (MX problem?)" mails..

in the past week, COMPANY.CO.UK has been spammed heavily - to the point where there are about 100,000 files in the mqueue.

I have asked the ISP repeatedly to alter the COMPANY.CO.UK MX record, but they do not appear to have done this. shocking.

Is there anything I can do on the server-side? Effectively what I want is for Sendmail to say "i'm not doing anything with COMPANY.CO.UK emails whatsoever"..

thanks in advance



RE: Sendmail - how to stop/block a secondary domain

First, if you don't handle the mail, you should not accept it.  grep around in /etc/mail/* to see what files that names appears (if you accept it without any configuration, you might be an open relay.)

Second, enabling access file and either rejecting or discarding the messages by TO address...

RE: Sendmail - how to stop/block a secondary domain

the Access file appears to have done the trick. many thanks for this


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close