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

Disable UUCP headers

Disable UUCP headers

Disable UUCP headers

I need to protect my sendmail 8.9 server against 3rd party relays.  Orbz.org used a particular smtp envelope that let it slip through and allowed to be relayed.  I was told this was a UUCP header.  How do I disable UUCP headers in sendmail 8.9 running on solaris 8???


RE: Disable UUCP headers

Edit  sendmail.mc and add this line:



m4 /etc/mail/sendmail.mc  > /etc/sendmail.cf

Then restart sendmail

RE: Disable UUCP headers

Can I just comment this line out of the sendmail.cf????

R< $+ ! > $+           $: $1 ! $2 < @ $Y >             use UUCP_RELAY

RE: Disable UUCP headers

Ok I've changed up the .mc file and added in:


I ran a make, replaced sendmail.cf, restarted the daemon...and still no go...these envelopes still get relayed..

:Relay test: #Test 17
>>> mail from: <spamtest@[63.xxxxx]>
<<< 250 <spamtest@[63.xxxxxxxxxx]>... Sender ok
>>> rcpt to: <mail-abuse.org!nobody>
<<< 250 <mail-abuse.org!nobody>... Recipient ok
>>> QUIT

RE: Disable UUCP headers

Hi smikes,
I'm not quite sure what the problem is.  I'm using the version of sendmail that came with Red Hat 7.1 and it comes out of the box not allowing relaying.  I have to specify who I will allow to relay through my server.  I also had to do an upgrade recently because of a security problem with sendmail allowing hackers to gain root access to the server and relay spam through it.  You might make sure you have the latest version from www.sendmail.org. ; Sorry I couldn't help you.

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