Solved

Conditional Bounce

Posted on 2008-06-11
3
351 Views
Last Modified: 2013-12-18
Hi,
I wonder if anyone has hared on a good way to do a conditional bounce. Basically, I want to be able to specify "from" blacklist email addresses, if any mail originating from the specified address arrives on a users email then it bounces the mail back. If an mail comes from any non specified list then it arrives fine.
So if a address is on the blacklist it can not email to a specific local email. The issue is I do not want to block it for the whole server but just if this address tries to reach a specific alias. If it does not work by Alias then I would also go with domain.

Any ideas, tips or advice would be very welcome.
I use RHEL + Sendmail + Spamassassin + ClamAV and Procmail
0
Comment
Question by:Thomanji
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Expert Comment

by:ckhsu1977
ID: 21764650
Try with /etc/mail/access
See http://www.sendmail.org/m4/anti_spam.html for more detail.
0
 
LVL 26

Accepted Solution

by:
jar3817 earned 500 total points
ID: 21768180
the access file will reject the mail for all users, not just one. I haven't heard of any software designed specifically to do this, but you could do it with some programming in conjunction with the Mimedefang milter for sendmail.

How useful is rejecting by sender anyway nowadays? Spam never comes from the same address for more than about 5 minutes at a time.
0
 

Author Comment

by:Thomanji
ID: 21964712
Thanks for the info. This was mainly for a user that has a specific address email him which we wanted to stop but not system wide. I will search a bit deeper into Mimedefang to see if this would work.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Utilizing an array to gracefully append to a list of EmailAddresses
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question