SMTP/sendmail not working, how to debug?

Author Message

Dave Richardson

Friday 18 March 2005 5:03:50 am

I'm new to eZp 3.5.1, installed and working on linux. System is running qmail with localhost/127.0.0.1 defined as a valid relay client. "dig localhost" resolves properly.

Problem: emails send from my "Contact Us" page go nowhere. I don't know where to look for errors. I've tried reconfiguring between SMTP and sendmail thinking one would work. No dice.

Recipient email to my domain appears to be defined correctly in the INI files.

How do I find what eZp thinks it is doing with the outgoing email? Help appreciated!

Łukasz Serwatka

Sunday 20 March 2005 10:29:18 pm

Hi Dave,

Try to enable DebugOutput in site.ini.append.php file.

[DebugSettings]
DebugOutput=enabled

For your SMTP configuration add TransportUser and TransportPassword. Usually in settings/override/site.ini.append.php Sometimes SMTP server requires authorization.

I hope it will help.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Piotrek Karaś

Wednesday 28 May 2008 5:36:06 am

Łukasz wrote: <i>Sometimes SMTP server requires authorization.</i>

Does eZ support SMTP authorization?
If is, is it configurable somewhere? Or transparent?

Thanks,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Bruce Morrison

Wednesday 28 May 2008 3:29:48 pm

Does eZ support SMTP authorization? If is, is it configurable somewhere? 

Yes, See
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/configuration_files/site_ini/mailsettings/transport
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/configuration_files/site_ini/mailsettings/transportuser
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/configuration_files/site_ini/mailsettings/transportpassword

cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Piotrek Karaś

Wednesday 28 May 2008 8:19:52 pm

Thanks Bruce!

Also, that trunk patch for 4.0.0 helps ;)

Cheers!

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 21:14:53
Script start
Timing: Jan 18 2025 21:14:53
Module start 'layout'
Timing: Jan 18 2025 21:14:53
Module start 'content'
Timing: Jan 18 2025 21:14:54
Module end 'content'
Timing: Jan 18 2025 21:14:54
Script end

Main resources:

Total runtime0.7495 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.0391152.6406
Module start 'layout' 0.00530.0031 740.679739.4922
Module start 'content' 0.00840.7396 780.1719647.5391
Module end 'content' 0.74800.0015 1,427.710916.1250
Script end 0.7495  1,443.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4723160.0002
Check MTime0.00150.2067160.0001
Mysql Total
Database connection0.00070.088510.0007
Mysqli_queries0.680690.8019670.0102
Looping result0.00080.1072650.0000
Template Total0.714095.320.3570
Template load0.00240.314620.0012
Template processing0.711694.941120.3558
Template load and register function0.00030.033910.0003
states
state_id_array0.00120.158310.0012
state_identifier_array0.00110.146420.0005
Override
Cache load0.00190.2489350.0001
Sytem overhead
Fetch class attribute can translate value0.00070.094540.0002
Fetch class attribute name0.00100.129580.0001
XML
Image XML parsing0.00190.254740.0005
class_abstraction
Instantiating content class attribute0.00000.002290.0000
General
dbfile0.00100.1362310.0000
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs