multibeatrecords Posted September 21, 2006 Posted September 21, 2006 This boils down to more of a PHP question than an osC question... The php.ini file is where one sets the sendmail_path. When emails are sent from the osC store, the PHP mail() command sends mail data to the sendmail app defined in the php.ini sendmail_path directive. Can someone please tell me: *** Is it possible to add an IP address to this directive - to send the mail data to a sendmail app on a different machine... Something like: ---------------------- sendmail_path = 197.226.53.119/usr/sbin/sendmail ---------------------- I'm interested to know what the correct syntax is, if this is possible My outgoing email server is a different machine than my store server, and I need to receive mail from osC! If this is not a legit plan, please suggest an alternate scheme. cheers.
natewlew Posted September 22, 2006 Posted September 22, 2006 It doesn't seem like you could do that. There would have to be some kind of authentication. I would setup your sever with the OSC on it to send mail. You could relay it though your mail server. It seems like you will have to install some kind of mail server sofware on your web server so you can send mail. I have searched and there is a setting in the php.ini for smtp for windows servers. I have only one server so I am not sure. Other great Open Source (Free) programs: (Free as in free speech not free beer) The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS How do I find these programs? Google Search!
multibeatrecords Posted September 22, 2006 Author Posted September 22, 2006 It doesn't seem like you could do that. There would have to be some kind of authentication. I would setup your sever with the OSC on it to send mail. You could relay it though your mail server. It seems like you will have to install some kind of mail server sofware on your web server so you can send mail. I have searched and there is a setting in the php.ini for smtp for windows servers. I have only one server so I am not sure. Thanks natewlew, Just got an email back from the tech today. - we do need authentication - we do do relay - the sendmail_path local sendmail does do the shipping out to the email server - the email server has a different IP address, so DNS checks on a given email fail - outgoing email server is SMTP (not sure whether mac or pc, but i think the former) - i know we should be using SMTP directly to that mail.server but there was an issue with that too. so there are lots of issues in my way here, but i need to get emails from the store or it's game over.
dinki Posted September 22, 2006 Posted September 22, 2006 If you do get this working, please describe how you did it. I am having issues with my shared hosting host being blacklisted on some mailservers. Best of luck!
multibeatrecords Posted September 23, 2006 Author Posted September 23, 2006 If you do get this working, please describe how you did it. I am having issues with my shared hosting host being blacklisted on some mailservers. Best of luck! I ran into this on a web job. Seems some of the most high-brow hosting companies host companies with rigorous spamming mandates. This is complicated by user blacklisting/reporting of basically any domain via spamcop, etc. Even if all the sites on a server are not guilty of spamming, a grumpy user can still target one of the sites and spoil it for the rest. There are ways to "spoof the spoof" and reverse-report domains that are clean. In building a legit opt-in musician>fan mailer scheme, I was amazed at the roadblocks, blacklisting, bounces. Major corporation won't accept this and so-and-so won't accept that. To get a solid 75% of emails to their targets seemed like a challenge. Clearly, in the case of emails to customers - this is a serious issue! Shared hosting is especially bad with shared SSL certs. The "site unknown/not secure" warning in browsers is a serious deterent to traffic/sales.
Laser Image Posted September 24, 2006 Posted September 24, 2006 This boils down to more of a PHP question than an osC question... The php.ini file is where one sets the sendmail_path. When emails are sent from the osC store, the PHP mail() command sends mail data to the sendmail app defined in the php.ini sendmail_path directive. Can someone please tell me: *** Is it possible to add an IP address to this directive - to send the mail data to a sendmail app on a different machine... Something like: ---------------------- sendmail_path = 197.226.53.119/usr/sbin/sendmail ---------------------- I'm interested to know what the correct syntax is, if this is possible My outgoing email server is a different machine than my store server, and I need to receive mail from osC! If this is not a legit plan, please suggest an alternate scheme. cheers. Where do you find php.ini - I have not been able to get my email to work at all and can't find the php.ini to see how it is setup. Thanks!
multibeatrecords Posted September 26, 2006 Author Posted September 26, 2006 Where do you find php.ini - I have not been able to get my email to work at all and can't find the php.ini to see how it is setup. Thanks! Hi Laser Image, Go here: http://www.php.net/manual/en/ref.mail.php Popular place = root/etc/php.ini On shared servers, this php.ini adjusts the performance of php on ALL sites on the shared server. Definitely a job to be done in coordination with your sys admin. Cheers.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.