switching from sendmail to smtp

General ShopSite user discussion

switching from sendmail to smtp

Postby msederberg » Mon Aug 13, 2007 3:35 pm

Hi,

I've been using sendmail for my store, and lately my email receipts have not been being delivered. My hosting provider recommended to switch to smtp, but I'm not sure how to toggle this in shopsite.

Can anyone direct me to how to define my smtp host in shopsite?

Thanks,
Matt
msederberg
 
Posts: 6
Joined: Mon Jul 09, 2007 2:23 pm

Postby loren_d_c » Mon Aug 13, 2007 4:04 pm

For UNIX-based hosting accounts (Linux, FreeBSD, Solaris, BSDi, IRIX) you can change the path/location of the sendmail executable used by ShopSite in the [storeid].aa file (where [storeid] is whatever login name you use to
login to this ShopSite's backoffice) in the ShopSite CGI Directory (this directory is usually named 'ss' or 'bo'). The token whose value you should modify is called 'sendmail_loc'. It probably looks something like this currently:

sendmail_loc: /usr/lib/sendmail

Note that the single space after the colon and before the path to the
sendmail binary is very important, do not remove this space or add more
than one space when you modify the path.

In ShopSite v6.3 or newer, if you want to switch ShopSite to send emails through an SMTP server instead of using the sendmail binary, you would comment out the above token (by adding a # at the beginning of the line) and add a 'smtp_host:' token to the file in a format like this:

smtp_host: mail.mydomain.com

The value of the 'smtp_host' token can be the hostname or IP address of
your SMTP server. Again, the space after the colon and before the value
is important. Note that at this time ShopSite does not support any form
of authentication with the SMTP server, so your SMTP server should not
require authentication, at least not from the source IP address that the
connection from ShopSite will appear to be coming from.

-Loren
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum

Who is online

Users browsing this forum: No registered users and 72 guests