Hi Im using Debian Lenny and ISP Config 3.0.2.2 I was using ISP Config 2 and had a few procmail recipies running, I am trying to convert them into maildrop with mailfilter but have hit an issue. If I use the web interface to add a custom rule, the file is saved in /var/vmail/mailfilters/domain.com/user1/.mailfilter but has been saved in dos format e.g. oslo:/var/vmail/mailfilters/domain.com/user1# file .mailfilter .mailfilter: ASCII text, with CRLF line terminators When a mail is recived I get a syntax error in the mail.log file. If I run dos2unix on the file oslo:/var/vmail/mailfilters/domain.com/user1# file .mailfilter .mailfilter: ASCII text and the script works perfictly. Is this a bug? any idea of a work around? I can create the file manually but am worried about it being overwritten by ispconfig Cheers Paul
Hi Think I have found the problem, I have been doing this with Internet Explorer, I just testing with Firefox and the problem does not occur! Does anyone know if its possible to stop IE using CR+LF when posting a textarea field? Cheers Paul
I was not aware of this odd behaviour of IE. I've added this to the bugtracker so we do the conversion in ISPConfig.
FYI: I'm not able to reprocude this bug in 3.0.2.1 WindowsXP SP3 IE8, create filter: Code: mail:/var/vmail/mailfilters/domain.tld/mark# file .mailfilter .mailfilter: ASCII text WindowsXP SP3 FF3, create filter: Code: mail:/var/vmail/mailfilters/domain.tld/mark# file .mailfilter .mailfilter: ASCII text Ubuntu FF3, create filter: Code: mail:/var/vmail/mailfilters/domain.tld/mark# file .mailfilter .mailfilter: ASCII text