Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Procmail Recipe? 1

Status
Not open for further replies.
Feb 10, 2003
2,749
US
Looking to specify a list of users to accept mail from at a certain domain, but to not accept any other names at all.

In other words, accept bob@domain.com, carl@domain.com, and alice@domain.com, but reject anyone else from domain.com.

The reason being anyone but these users are fake spam names, and I don't want them to get passed through.

Can this be done via procmail, any other suggestions?

Matt

Please always take the time to backup important data and verify that backup, before making any changes suggested.
 
Thank you, I will review that parameter. Didn't even know it existed.

Matt

Please always take the time to backup important data and verify that backup, before making any changes suggested.
 
Lgarner, am I missing something (honest question, not being sarcastic)? It appears those parameters looks at the recipient, I'm looking for something to look at the sender.

Its also possible I didn't clearly state my original post, let me try it this way.

Mail server does mail for domain.com. Domain.com has 3 employees, bob, carl, and alice. If any of those 3 send mail to each other, it passes through. However if a spammer forges their domain name and sends an e-mail to bob using bigtitties@domain.com, then it is flagged so it can be sent to our spam location, because bigtitties@domain.com does not exist. I'm not sure if there is a postfix parameter to handle this or a procmail way to get this done. Any help is appreciated.

I may be looking at smtpd_reject_unlisted_sender

Matt

Please always take the time to backup important data and verify that backup, before making any changes suggested.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top