Re: Email delivery error... but message is still delivered.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> Hey all.  I am in the process of migrating mail servers here at our
>>> organization and have run into a problem with squirrelmail (1.4.8).  I
>>> have almost everything else working (other than an issue with
>>> squirrelspell) but have run into one here I can't figure out.
>>>
>>> So, I hit the compose link and the compose window pops up.  I create my
>>> message and hit send.  The message is successfully sent, however at the
>>> top of the window the following appears:
>>>
>>> ERROR:
>>> Email delivery error
>>> Server replied: -1 Can't execute command '/opt/TWWfsw/sbin/sendmail -i
>>> -t -fbob.jones@xxxxxxx'.
>>>
>>> I don't see anything out of the ordinary in the mail log:
>>>
>>> Nov 13 12:30:32 tony sendmail[9571]: [ID 801593 mail.info]
>>> kADHUWGf009571: Authentication-Warning: tony.bor.usg.edu: www set
>>> sender
>>> to bob.jones@xxxxxxx using -f
>>> Nov 13 12:30:32 tony sendmail[9571]: [ID 801593 mail.info]
>>> kADHUWGf009571: from=bob.jones@xxxxxxx, size=495, class=0, nrcpts=1,
>>> msgid=<49846.168.24.82.78.1163439032.squirrel@xxxxxxxxxxxxxxxxxxxxxxx>,
>>> relay=www@localhost
>>> Nov 13 12:30:32 tony sm-mta[9572]: [ID 801593 mail.info] NOQUEUE:
>>> connect from localhost [127.0.0.1]
>>> Nov 13 12:30:32 tony sm-mta[9572]: [ID 801593 mail.info]
>>> kADHUW3A009572:
>>> Milter: no active filter
>>>
>>> And permissions on the sendmail binary look good to me:
>>>
>>> ls -la /opt/TWWfsw/sbin/sendmail
>>> lrwxrwxrwx   1 root     other         38 Oct  2 10:24
>>> /opt/TWWfsw/sbin/sendmail -> /opt/TWWfsw/sendmail8134/sbin/sendmail
>>>
>>>   ls -la /opt/TWWfsw/sendmail8134/sbin/sendmail
>>> -r-xr-sr-x   1 root     smmsp     909348 Aug 31 17:22
>>> /opt/TWWfsw/sendmail8134/sbin/sendmail
>>>
>>> Any idea what this can be?  I'm not a PHP expert, so I haven't been
>>> able
>>> to delve into the SquirrelMail internals too deeply, but this one
>>> really
>>> has me confused.
>>
>> Could you test your PHP install
>> (http://www.squirrelmail.org/wiki/TestPHPSettings) and show PHP
>> configure
>> line and enabled extensions.
>
> Ok, here is the configure line:
>
> Configure Command =>  './configure' 'dummy' 'sed' 'gsed'

some complex compilation and I don't see exact compilation options. Find
source package used to create your PHP install and look for
--enable-sigchild option in configure.

> The 2 enabled extensions (I assume you're talking about the various ini
> files in ini.d) are ftp.so and ldap.so
>
> The first part of the phpinfo ouput is here:
>
> phpinfo()
> PHP Version => 5.1.4
>
> System => SunOS tony 5.9 Generic_118558-28 sun4u
> Build Date => Nov  6 2006 23:02:17
> Configure Command =>  './configure' 'dummy' 'sed' 'gsed'
> Server API => Command Line Interface
> Virtual Directory Support => disabled
> Configuration File (php.ini) Path => /etc/opt/TWWfsw/php514/php.ini
> Scan this dir for additional .ini files => /etc/opt/TWWfsw/php514/ini.d
> additional .ini files parsed => /etc/opt/TWWfsw/php514/ini.d/bcmath.ini,
> /etc/opt/TWWfsw/php514/ini.d/bz2.ini,
> /etc/opt/TWWfsw/php514/ini.d/curl.ini,
> /etc/opt/TWWfsw/php514/ini.d/dba.ini,
> /etc/opt/TWWfsw/php514/ini.d/ftp.ini,
> /etc/opt/TWWfsw/php514/ini.d/gd.ini,
> /etc/opt/TWWfsw/php514/ini.d/gettext.ini,
> /etc/opt/TWWfsw/php514/ini.d/iconv.ini,
> /etc/opt/TWWfsw/php514/ini.d/imap.ini,
> /etc/opt/TWWfsw/php514/ini.d/ldap.ini,
> /etc/opt/TWWfsw/php514/ini.d/mysql.ini,
> /etc/opt/TWWfsw/php514/ini.d/openssl.ini,
> /etc/opt/TWWfsw/php514/ini.d/pdo.ini,
> /etc/opt/TWWfsw/php514/ini.d/pdo_mysql.ini,
> /etc/opt/TWWfsw/php514/ini.d/pdo_pgsql.ini,
> /etc/opt/TWWfsw/php514/ini.d/pdo_sqlite.ini,
> /etc/opt/TWWfsw/php514/ini.d/pgsql.ini,
> /etc/opt/TWWfsw/php514/ini.d/shmop.ini,
> /etc/opt/TWWfsw/php514/ini.d/soap.ini,
> /etc/opt/TWWfsw/php514/ini.d/sqlite.ini,
> /etc/opt/TWWfsw/php514/ini.d/sysvsem.ini,
> /etc/opt/TWWfsw/php514/ini.d/sysvshm.ini,
> /etc/opt/TWWfsw/php514/ini.d/xmlreader.ini,
> /etc/opt/TWWfsw/php514/ini.d/xmlwriter.ini,
> /etc/opt/TWWfsw/php514/ini.d/xsl.ini,
> /etc/opt/TWWfsw/php514/ini.d/zlib.ini

Most important part is that I don't see any oracle extension and suspect
that you have PHP compiled with --enable-sigchild option. Why
--enable-sigchild option is enabled in your PHP install?

I think if this compilation option is enabled, PHP pclose() function
returns invalid program execution status codes. If you contact PHP
developers, they will ask to recompile PHP without --enable-sigchild.
Sending issue can be fixed by switching to SMTP. SquirrelSpell issue might
be fixed by switching to pspell extension, but your SquirrelSpell version
does not support it.

Other solution is to ignore pclose() status in delivery and spell check
code. It requires modifications in SquirrelMail scripts and makes program
execution unreliable.

If you don't need Oracle, I strongly recommend contacting Sun and asking
to recompile standard PHP packages without --enable-sigchild option. You
and Sun have to choose between Oracle and unreliable PHP program execution
code. If Sun don't want to change their compilation, maybe they can
explain how --enable-sigchild changes PHP pclose() function and how to
detect successful program execution when --enable-sigchild option is
enabled.

-- 
Tomas

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux