View Single Post
Old 28th May 2010, 23:59
BorderAmigos BorderAmigos is offline
Senior Member
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 33 Times in 31 Posts
Send a message via MSN to BorderAmigos Send a message via Yahoo to BorderAmigos

Something invisible was sneaking in at the end of the line in the .csv file, a new line or line return maybe. I added a comma at the end so the explode would add the line end to a different unused array element and now they are all active when imported. I'm editing on a Windows machine but the editor is set for Unix format. Who knows? Works well know.

Attached are the 3 working files. Put them all in the same directory, remove the .txt extension, set the .sh file as executable and run it as root.

Thanks again Till.

PS - It takes a minute for the ISPConfig 3 server to write out the postfix check files from the database. So wait a few minutes to test after installing the filters.
Attached Files
File Type: txt mail_content_filters.csv.txt (50.4 KB, 208 views)
File Type: txt mail_content_filters.php.txt (1.4 KB, 207 views)
File Type: txt (72 Bytes, 214 views)
__________________, ISPConfig 3, Debian.

Last edited by BorderAmigos; 29th May 2010 at 00:13.
Reply With Quote