Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
Jolla Phone Announced
Open Source WordPress Grows on Yahoo Tumblr Buyout
Open source browser based code editors
Linux Kernel 3.9.3 Is Now Available for Download
Using Six Monitors With AMD's Open-Source Linux Driver
Door Kickers from KillHouse Games heading to Linux soon!
Mageia 3 Released, Still Using Legacy GRUB
IBM gives a cloudy outlook for COBOL
Copy – A new cloud storage service with Linux Client
Ubuntu's key to success
more
Recent comments
Nice Guide Of Lamp
2 days 10 hours ago
THANKS Falko
2 days 19 hours ago
Tested on PfSense 2.0.3, VMWare ESXi5.1 and VMWare Player 5.0.1
2 days 22 hours ago
No guarantee?
2 days 23 hours ago
Problems with SSL logins on IMAP and POP
3 days 56 min ago
Last step
3 days 2 hours ago
remove kvm to install vmplayer
3 days 4 hours ago
Re: Re: Re: Re: Apache Configuration
3 days 5 hours ago
playsms webpage wont send
3 days 21 hours ago
Re: master details in slave my.cnf not explicitly needed
3 days 22 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
ISPConfig 3
>
General
mailfilter saving file in DOS format causing script to error?
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
19th August 2010, 18:19
edispah
Junior Member
Join Date: Nov 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
mailfilter saving file in DOS format causing script to error?
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
edispah
View Public Profile
Send a private message to edispah
Find all posts by edispah
Sponsored Links
#
2
20th August 2010, 11:15
edispah
Junior Member
Join Date: Nov 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
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
edispah
View Public Profile
Send a private message to edispah
Find all posts by edispah
#
3
21st August 2010, 15:40
till
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,883
Thanks: 691
Thanked 4,187 Times in 3,204 Posts
I was not aware of this odd behaviour of IE. I've added this to the bugtracker so we do the conversion in ISPConfig.
__________________
Till Brehm
--
Get
ISPConfig support
and the
ISPConfig 3 manual
from ispconfig.org.
till
View Public Profile
Send a private message to till
Find all posts by till
#
4
31st August 2010, 12:33
Mark_NL
Senior Member
Join Date: Sep 2008
Location: The Netherlands
Posts: 911
Thanks: 12
Thanked 95 Times in 92 Posts
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
Mark_NL
View Public Profile
Send a private message to Mark_NL
Visit Mark_NL's homepage!
Find all posts by Mark_NL
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
ISPCONFIG 3 Email Content Filter
jariasca
Installation/Configuration
11
2nd August 2012
12:27
Problem with services!!
banzaiwebstudio.com
Installation/Configuration
7
19th May 2010
21:13
Upgraded to ISPConfig-2.2.35, lost /root/ispconfig/httpd etc
deerhuntre
Installation/Configuration
6
5th May 2010
16:56
Postfix delivery problem
erebus
Installation/Configuration
6
28th October 2007
16:20
Installation Fails... :(
cyberstorm
Installation/Configuration
1
15th January 2006
18:07
All times are GMT +2. The time now is
19:40
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
2 days 10 hours ago
2 days 19 hours ago
2 days 22 hours ago
2 days 23 hours ago
3 days 56 min ago
3 days 2 hours ago
3 days 4 hours ago
3 days 5 hours ago
3 days 21 hours ago
3 days 22 hours ago