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
Break free of PRISM with the EFFs PRISM Break site
yED Alternate of Microsoft Office Visio on Ubuntu Linux
Scala for C# Developers: A Tutorial
Zombies, Linux, IBM and SCO
Non-Linux FOSS: libnotify, OS X Style
Subversion 1.8 Gits New Features
Linux-based quadrocopter gains flight recorder
Anne Nicolas: Mageia project is a viable and mature
Ubuntu Announces Carrier Advisory Group
6 Invaluable Free Forth Books
more
Recent comments
Re: ISPconfig access with or without ip !!!
1 day 18 hours ago
Is same HowTo available for
1 day 20 hours ago
Re: clarification on Kompozer instructions
2 days 8 hours ago
LAMP installation
2 days 11 hours ago
NEED TO KNOW ABOUT PART 2
2 days 15 hours ago
Try this
2 days 21 hours ago
Thank you
3 days 7 hours ago
For nightningale, I would
3 days 8 hours ago
Help please with DNS
3 days 17 hours ago
Great! I came across this
3 days 18 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: 32,071
Thanks: 697
Thanked 4,248 Times in 3,260 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
16:17
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
1 day 18 hours ago
1 day 20 hours ago
2 days 8 hours ago
2 days 11 hours ago
2 days 15 hours ago
2 days 21 hours ago
3 days 7 hours ago
3 days 8 hours ago
3 days 17 hours ago
3 days 18 hours ago