Forwarding my reply to the eventum list...
---------- Forwarded message ----------
From: Rajeshwari Godbole <rgodbole@stripped>
Date: Mon, Jun 29, 2009 at 2:27 PM
Subject: Re: Secure SMTP
To: Michael Diamond <dimo414@stripped>
Hi Michael,
Thanks a lot for your suggestions... I did try what you suggested which was
to independantly test PHP and sendmail and after many hours of debugging,
finally figured out that there was a problem with the sendmail config. I had
set the smtp_port to 465 and the smtp_ssl to auto (also tried tls here).
Just changing the port to 587 worked!! But I cannot understand why 465
should not work (as google says either ports can be used)! Almost went crazy
trying to debug this thing :)
Thanks for your help!
Raj
On Mon, Jun 29, 2009 at 12:36 AM, Michael Diamond <dimo414@stripped> wrote:
> I'm not sure what that is, most web host's I've ever used have had sendmail
> just on and functioning. Confirm first that mail() works on your server by
> creating a new php document that call's mail (and sends you an email). If
> that works, we know it's possible to configure eventum to use sendmail,
> there's just something that needs to be changed. If it doesn't work, that
> suggests either sendmail isn't installed, isn't configured correctly, or PHP
> doesn't have access to it.
> If you can send an email with mail(), but Eventum still doesn't like you,
> you should look around that class and see if you can identify any flags
> having to do with secure sending, or tsl, or anything like that which might
> be changeable to make it work. I'm by no means certain that's what you need
> to do, but some sleuthing will almost definitely give you an answer.
>
> Google (or Bing!) is your friend here, google the error, google
> 'configuring sendmail', google whatever you don't know, it's very possible
> you'll be able to find what you need there. ServerFault.com is also likely
> to be helpful.
>
> Something I found by googling 'STARTTLS':
>
> http://www.sendmail.org/~ca/email/starttls.html<http://www.sendmail.org/%7Eca/email/starttls.html>
> <http://www.sendmail.org/%7Eca/email/starttls.html>
> Michael Diamond
> dimo414@stripped
> mdiamond@stripped
> http://www.DigitalGemstones.com
>
>
>
> On Sun, Jun 28, 2009 at 11:13 AM, Rajeshwari Godbole
> <rgodbole@stripped>wrote:
>
>> Hello,
>>
>> I'm also using gmail for both incoming and outgoing emails. While the
>> incoming emails are working fine, I'm having a problem with the outgoing
>> emails as gmail uses SSL. I tried out the options that Michael Diamond
>> suggested (editing the /include/class.mail_queue.php file) but am still
>> getting the following errors:
>>
>> Warning: mail(): SMTP server response: 530 5.7.0 Must issue a STARTTLS
>> command f
>> irst. g22sm21767420rvb.35 in
>> C:\Apache2.2\htdocs\eventum-2.2\include\pear\Mail\m
>> ail.php on line 125
>> PHP Warning: mail(): SMTP server response: 530 5.7.0 Must issue a
>> STARTTLS
>> comm
>> and first. g22sm21767530rvb.35 in
>> C:\Apache2.2\htdocs\eventum-2.2\include\pear\M
>> ail\mail.php on line 125
>>
>> I'm not sure where or how to specify the STARTTLS command. Please help!
>>
>
>
| Thread |
|---|
| • Resolved: Secure SMTP | Rajeshwari Godbole | 29 Jun |