Knowledgebase

Portal Home > Knowledgebase > Articles Database > Can I use Procmail to filter mail based on connecting IP?


Can I use Procmail to filter mail based on connecting IP?




Posted by trumpet900, 06-16-2008, 01:01 PM
I am curious to know whether it is possible for Procmail to filter based on the IP address of the host from which a message was received. In context, I want to reject any messages that come from hosts other than a specific list. Is this possible? Search for the absence of certain IP addresses in received headers or something? I'm completely new to the world of procmail - is it possible to have one "recipe" acting on behalf of all mail received for a domain name, or must it be per-user? Guidance gratefully received, thank you, Jeremy



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
nginx and low end VPS (Views: 568)
Backup? (Views: 611)
Interesting Request. (Views: 550)
Possibly hacked? (Views: 536)


Language:

Contact us