6.0.0-beta1
8/1/25

[#1877] Error message when sending mail
Summary Error message when sending mail
Queue IMP
Queue Version 4.0.2
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester dahlberg (at) bucknell (dot) edu
Created 04/27/2005 (7401 days ago)
Due
Updated 05/05/2005 (7393 days ago)
Assigned 04/27/2005 (7401 days ago)
Resolved 05/05/2005 (7393 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/05/2005 12:18:48 PM Jan Schneider State ⇒ Resolved
 
04/28/2005 05:59:39 PM dahlberg (at) bucknell (dot) edu Comment #11 Reply to this comment
Chuck: Thank you very much for your assistance.  I think I can take it 
from here and resolve the issue.  If you'd like, you can close this 
bug report as resolved... or wait and I'll post my steps to correct 
the issue. Thanks
04/28/2005 01:52:41 PM Chuck Hagenbuch Comment #10 Reply to this comment
At this point I'm out of ideas. Look at your sendmail logs, play with 
the pclose results, etc.
04/28/2005 04:47:05 AM dahlberg (at) bucknell (dot) edu Comment #9 Reply to this comment
I think we're getting closer.  I still get an error message, but this 
time the error code that php thinks sendmail returned was a -1 (not 
255).  Should I try changing the bits that shift the error code? 
Thanks again.
04/28/2005 03:51:58 AM Chuck Hagenbuch Comment #8 Reply to this comment
Ah. Apparently this hasn't made it into a Mail release yet - try this patch:



http://cvs.php.net/diff.php/pear/Mail/Mail/sendmail.php?php=7bd81af9d938bb31f10b2461a7101759&r1=1.8&r2=1.9&ty=u
04/28/2005 02:31:28 AM dahlberg (at) bucknell (dot) edu Comment #7 Reply to this comment
php : 4.3.10

sendmail : 8.13.1


04/28/2005 02:28:58 AM Chuck Hagenbuch Comment #6 Reply to this comment
okay, php version?
04/28/2005 02:11:45 AM dahlberg (at) bucknell (dot) edu Comment #5 Reply to this comment
Thanks for the suggestion.  Pear Mail package 1.1.4 is installed; pear 
Mail_MIME package 1.2.1 is also installed.  While I can (and will) 
upgrade it to 1.3.0, I doubt that will help with this issue.
04/28/2005 01:54:17 AM Chuck Hagenbuch Comment #4 Reply to this comment
and do you have the latest PEAR Mail package release?
04/28/2005 01:25:41 AM dahlberg (at) bucknell (dot) edu Comment #3 Reply to this comment
When manually sending a message with sendmail, NO error condition is 
generated.  Only when sendmail is called from the horde framework does 
an error message get generated.  I have tried submitting this question 
on the lists, and I get no response.  What would I like you to do?   
Treat this as if it may be a real problem... not shrug it off with 
some flipant response.. make some suggestions on what I could look at 
or try.
04/27/2005 09:15:46 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
What do you expect us to do?
04/27/2005 08:16:43 PM dahlberg (at) bucknell (dot) edu Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Error message when sending mail
Queue ⇒ IMP
State ⇒ Unconfirmed
Reply to this comment
I'm running

     Horde 3.0.4

     Imp 4.0.2



on a Solaris 9 system.



In the Horde setup, I have configured the Mailer to use the sendmail

binary and the path is correct and it does work.  I have tried sending

several messages from this system manually and they are sent without errors.



When I try to send a message from the Compose window within Imp, an

error message is returned:

     "There was an error sending your message: sendmail returned error

code 255"



However, the message is sent, but a copy is not stored in the sent-mail

IMAP folder.  I have the logging option set to debugging level and I get

the following entry listed in the syslog:



[imp] sendmail returned error code 255 [on line 904 of 
"/usr/local/share/apache/webmail/horde-3.0.2/imp-h3-4.0.1/compose.php"]



I've looked at line 904 of compose.php but it looks to be a little vague

about the possible error.



The mail log (also set to the debugging level within the syslog daemon)

shows no errors or problems other than the following line:

        Authentication-Warning: horde.bucknell.edu: www set sender to

dahlberg@bucknell.edu using -f



Mike Dahlberg




Saved Queries