LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-01-2008, 09:34 AM   #1
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Rep: Reputation: 15
Question Using /etc/mail/access to allow certain hosts to send us mail


Hi,

We have been using /etc/mail/access to deny SPAM sources
from sending us SPAM. We recently started using a mail
filtering service, which works much better.

But, occasionally, we still receive SPAM from servers
connecting to our local mail server via its IP rather
than using DNS. What can we do in /etc/mail/access or
maybe /etc/mail/deny, that will only let the mail filter
servers and no one else, send us e-mails?

Cheers,
Geoff

Last edited by glt; 04-01-2008 at 01:14 PM.
 
Old 04-01-2008, 08:01 PM   #2
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 573

Rep: Reputation: 61
More info please. Are you using Postfix or Sendmail?

What version of RHEL and your mail programs?

Last edited by blacky_5251; 04-01-2008 at 08:03 PM.
 
Old 04-02-2008, 10:45 AM   #3
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Original Poster
Rep: Reputation: 15
Hi Ian,

It is a Redhat 9 server running sendmail 8.12.8.

Cheers,
Geoff
 
Old 04-03-2008, 04:27 AM   #4
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 573

Rep: Reputation: 61
I'm not really a sendmail expert - I far prefer Postfix (if you're just starting out, you should consider swapping).

See if this site helps you out :- http://www.lugoj.org/docs/rbl.html
 
Old 04-03-2008, 01:30 PM   #5
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Original Poster
Rep: Reputation: 15
Hi Ian,

Unfortunately we can't change the MTA. It really has to be sendmail.

Anyone else got any ideas about this?

Cheers,
Geoff
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
command line email client to send mail to remote mail server dhanju Linux - Software 1 03-07-2008 06:37 AM
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 10:06 PM
Unable to send mail to some mail servers due smtp greetings malformed atotomex Linux - Networking 6 12-20-2005 04:38 PM
Cannot send mail with mail() command in PHP 4.3.4, Apache 2.0.48, Mandrake Linux 10 arcanum Linux - General 3 06-27-2004 06:06 PM
Maddening sendmail problem -- cant send mail to remote hosts! HELP! Bungo2000 Linux - Networking 11 06-09-2003 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration