Fermé

Exim custom filter expert /WHM Cpanel Shell

Warning you must have WHM/Cpanel access and you will have to work on your server before you send me solution hence if you don't have whm/cpanel root access and can't try custom exim filter on your server DO NOT BID

This spam custom exim filter is only for incoming email

I have hundreds of exim filter conditions please find attached. Each condition block has 2 white listed domain as @[login to view URL] and @safedomain2.com. I want you to create string group of domains at the top of custom filter or call domain file to be able to exclude domain on that function so I don't have to repeat white listed domains every time one condition is met.

You can either use 2 options which one is easier for you I don't mind.

Option 1) Create domain string group on the top of custom field and use {if} any domain in this group email will be excluded rest of conditions below, see attached.

Option 2) I want to be able to create a file e.g /etc/whitelisteddomains and call this file from each exim conditions so I don't have to add a new [login to view URL] for all conditions. How can I call a file in exim filter condition ?

/etc/whitelisteddomains file could contain or just domains I leave it with you.

"@[login to view URL]" and $sender_address does not matches

"@[login to view URL]" and $sender_address does not matches

"@[login to view URL]" and $sender_address does not matches

CURRENT FILTER

if

# body message spam

$sender_address does not end ".au" and $sender_address does not matches "@[login to view URL]" and $sender_address does not matches "@[login to view URL]" and

$message_body: contains "sxx" then

fail text "This message has been rejected by spam filter\n\

WARNING! THIS MESSAGE HAS NOT BEEN delivered. error code 101"

seen finish

endif

if

# body message spam

$sender_address does not end ".au" and $sender_address does not matches "@[login to view URL]" and $sender_address does not matches "@[login to view URL]" and

$message_body: contains "p0rn"

then

fail text "This message has been rejected by spam filter\n\

WARNING! THIS MESSAGE HAS NOT BEEN delivered. error code 102"

seen finish

endif

DESIRED FILTER

if

# body message spam

$sender_address does not end ".au" and $sender_address does not matches file:/etc/whitelisteddomains and

$message_body: contains "sxx" then

fail text "This message has been rejected by spam filter\n\

WARNING! THIS MESSAGE HAS NOT BEEN delivered. error code 101"

seen finish

endif

if

# body message spam

$sender_address does not end ".au" and $sender_address does not matches file:/etc/whitelisteddomains and

$message_body: contains "p0rn"

then

fail text "This message has been rejected by spam filter\n\

WARNING! THIS MESSAGE HAS NOT BEEN delivered. error code 102"

seen finish

endif

Compétences : Linux, Script Shell, Développeur e-mail

en voir plus : vps china linux whm cpanel, custom filter drupal, exim forward filter creator, whm cpanel sender, migrating name servers whm cpanel, recover deleted files whm cpanel, whm cpanel curl, russian web hosting whm cpanel, adding ffmpeg whm cpanel centos, mod write rewrite whm cpanel, bulk whm cpanel, whm cpanel set curl, whm cpanel skel, custom filter wordpress plugin, joomla custom filter content items, whm cpanel exim, custom filter dotproject, recover whm cpanel, shell access whm cpanel

Concernant l'employeur :
( 102 commentaires ) Sydney, Australia

Nº du projet : #23409569

3 freelance font une offre moyenne de $182 pour ce travail

nickdevops

Hello my name is Nikos and Im working on the Linux server administration field for the past 6 years. Over these years I worked for two web hosting companies as a Senior Administrator managing their servers & providing Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(18 Commentaires)
4.6
IuriiGoncharov

Ive been working with exim for a long time and know rules policy deeply. Cpanel is regular things, but I don't have it right now on my server. But I can install it and configure it before and test it on my own in case Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(0 Commentaires)
0.0
arneko

Hello I am administering Linux and Windows systems since 2012 and I love what I do! I can: * Setup new linux servers: centos. debian, ubuntu. * Setup new windows servers: 2003, 2008, 2012. * Install and configure co Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)
0.0