Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th February 2009, 09:59
robilaur robilaur is offline
Member
 
Join Date: Sep 2007
Location: Romania
Posts: 86
Thanks: 4
Thanked 12 Times in 9 Posts
Send a message via Yahoo to robilaur
Default php contact form problem

Hello ... I installed ispconfig 3 , succesfuly , made a website , made acontact form with a php mailer ... set the acount php option Fast-CGI ... the problem is that the data from the contact form is not being send to the setted e-mail.... any idears...thanx. Is Fast-CGI a good option or should i move to other one?
Reply With Quote
Sponsored Links
  #2  
Old 25th February 2009, 10:08
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Please take a look at your mail log file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th February 2009, 10:18
robilaur robilaur is offline
Member
 
Join Date: Sep 2007
Location: Romania
Posts: 86
Thanks: 4
Thanked 12 Times in 9 Posts
Send a message via Yahoo to robilaur
Default

i only need to know if the fast-cgi option i good for that
Reply With Quote
  #4  
Old 25th February 2009, 10:25
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

All php options are fine for that.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 28th February 2009, 17:28
robilaur robilaur is offline
Member
 
Join Date: Sep 2007
Location: Romania
Posts: 86
Thanks: 4
Thanked 12 Times in 9 Posts
Send a message via Yahoo to robilaur
Default ok..

Hey... after reinstaling the system...the same problem... my contact form isnt sending the mail.


Here is the mail log

HTML Code:
Feb 28 11:23:00 cronos postfix/pickup[12755]: B11EB17E47: uid=5003 from=<web1>
Feb 28 11:23:00 cronos postfix/cleanup[31156]: B11EB17E47: message-id=<20090228162300.B11EB17E47@Cronos.rdesign.ro>
Feb 28 11:23:00 cronos postfix/qmgr[12756]: B11EB17E47: from=<web1@Cronos.rdesign.ro>, size=367, nrcpt=1 (queue active)
Feb 28 11:23:01 cronos amavis[13209]: (13209-03) Blocked BAD-HEADER, <web1@Cronos.rdesign.ro> -> <admin@rdesign.ro>, quarantine: 8/badh-8CB5QB4v573H, Message-ID: <20090228162300.B11EB17E47@Cronos.rdesign.ro>, mail_id: 8CB5QB4v573H, Hits: 1.604, size: 367, 1003 ms
Feb 28 11:23:01 cronos postfix/smtp[31159]: B11EB17E47: to=<admin@rdesign.ro>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.4, delays=0.35/0.04/0.01/1, dsn=2.6.0, status=sent (250 2.6.0 Ok, discarded, id=13209-03 - BAD_HEADER: Improper use of control character (char 0D hex): From: admin@rdesign.ro\\r)
Feb 28 11:23:01 cronos postfix/qmgr[12756]: B11EB17E47: removed
Thanx
Reply With Quote
  #6  
Old 28th February 2009, 22:27
Antennipasi Antennipasi is offline
ISPConfig Developer
 
Join Date: Dec 2008
Location: Finland
Posts: 67
Thanks: 6
Thanked 13 Times in 12 Posts
Default

Quote:
Originally Posted by robilaur View Post
Hey... after reinstaling the system...the same problem... my contact form isnt sending the mail.
HTML Code:
amavis[13209]: (13209-03) Blocked BAD-HEADER
BAD_HEADER: Improper use of control character (char 0D hex)
there is the reason.
your script is using windows-type line breaks when composing email-headers.
either fix that, or edit amavis-rules to allow misconfigured headers.

in debian, check these files:
Code:
/etc/amavis/conf.d/50-user
/etc/amavis/conf.d/20-debian_defaults
for $final_bad_header_destiny, change it like this:
Code:
$final_bad_header_destiny = D_PASS;
if your system is not Debian, try to find files containing this value.
you can try command like this:
Code:
grep -rli "final_bad_header_destiny" /etc/
where /etc/ is base location of your distributions config files.

editing these or corresponding amavis-configfiles fixes also situation when emails are rejected because they have improperly encoded international characters in their subject.
Reply With Quote
  #7  
Old 28th February 2009, 22:51
robilaur robilaur is offline
Member
 
Join Date: Sep 2007
Location: Romania
Posts: 86
Thanks: 4
Thanked 12 Times in 9 Posts
Send a message via Yahoo to robilaur
 
Default Thanx alot

That was good info..... thanx for helping ...the problem is solved.
Thy again
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig virtual web pages not working mike_phi Installation/Configuration 8 7th May 2008 16:51
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 10:20
Postfix - Relay access denied gotting Server Operation 3 23rd April 2008 14:06
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
2 domains, 1 site wadims Installation/Configuration 13 31st May 2006 00:21


All times are GMT +2. The time now is 08:41.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.