Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-04-20 10:06:15
- marcel.blom
- New Member
- Registered: 2009-04-19
- Posts: 3
mail does not work
Dear reader,
This is my first topic. I have a problem I can not fix and hope you can help me.
0.Diagnostic info:
*****
Textpattern versie: 4.0.8 (r3085)
Laatste update: 2009-03-24 20:20:33/2009-03-24 22:00:31
Document root: /var/www/condofides.com
$path_to_site: /var/www/condofides.com
Pad naar textpattern: /var/www/condofides.com/textpattern
Permanente link modus: title_only
tijdelijke bestanden map: /var/www/condofides.com/tmp
Site URL: www.condofides.com
PHP versie: 5.2.4-2ubuntu5.5
GD bibliotheek: 2.0 or higher; ondersteunde bestandssoorten: GIF, JPG, PNG.
Lokale servertijd: 2009-04-20 11:45:31
MySQL: 5.0.51a-3ubuntu5.4
Localisatie: nl_NL
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.5 with Suhosin-Patch
Apache versie: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.5 with Suhosin-Patch
PHP server API: apache2handler
RFC 2616 headers:
Besturingssysteem van de server: Linux 2.6.24-23-server
Actieve plugins: rdt_dynamenus-0.9, zem_contact_lang-4.0.3.6, zem_contact_reborn-4.0.3.20, mrh_email_article_link-0.5m, tcm_lastupdate-0.1, chh_article_custom-1.15, gbl_blog_stats-1.0b, ob1_pagination-2.5, hak_tinymce-0.7.4, rah_sitemap-0.3.2, rss_admin_db_manager-4.3, ajw_notepad_public-0.1, chh_article_lib-1.04
inhoud .htaccess bestand:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
RewriteBase /
<IfModule mod_rewrite.c>
RewriteEngine On
# RewriteCond %{HTTP_HOST} ^condofides.com$ [NC]
# RewriteRule ^(.*) condofides.com/index.php
# RewriteBase /condofides.com/
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
# RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php
# RewriteCond %{HTTP:Authorization} !^$
# RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
————————————
*****
1.We had Textpattern correct up and running on a hosted server with no errors found by Textpattern.
2. We copied everything to another server and everything still working, except …
3a. We can create Textpattern accounts, but the e-mail with password will never be received so the password is not known.
3b. The other problem is in the ContactForm plugin. After click on the send-button, an error is showed that is was not possible. That’s all.
4. We have been searching for a solution for a few days already, but no solution found. Because we get no futher errors, we do not know to find out where the problem occurs.
5. Please help …
Thanks in advance,
Marcel Blom
www.condofides.com
Offline
#2 2009-04-20 10:56:44
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Offline
#3 2009-04-20 15:12:06
- marcel.blom
- New Member
- Registered: 2009-04-19
- Posts: 3
Re: mail does not work
I created the file mail.php
<?php mail(‘marcel.blom@condofides.com’, ‘php mail test”, “message_sent”); ?>
in de DocumentRoot beside index.php with the same rights as index.php.
Result of http://www.condofides.com/mail.php => white blank screen in the firefox browser and no e-mail.
I tried the following with a normal Ubuntu user account and that works very well:
(Zimbra e-mailserver, Textpattern server and the normal user account are on the same machine)
commandline:
telnet aserver.condofides.com 25
ehlo aserver.condofides.com
mail from:<marcel.blom@condofides.com>
rcpt to:<marcel.blom@condofides.com>
data
This is a test email.
.
quit
I got the e-mail within a split second in my Zimbra mailbox.
Can anyone help me?
Thanks in advance
Marcel Blom
Offline
#4 2009-04-27 14:38:30
- marcel.blom
- New Member
- Registered: 2009-04-19
- Posts: 3
Re: mail does not work
Hi there,
Maybe you can use the solution I found after 5 days. It’s really simple, :-(.
Change in file /etc/php5/apache2/php.ini:
sendmail_path = /opt/zimbra/postfix/sbin/sendmail –i -t
The reason for this is that Textpattern can not find sendmail and give no reason/error (if you are lucky you get “could not send e-mail”). Because of this absolute path Textpattern can send a filled in form by e-mail.
Good luck!!
Offline
Pages: 1