PDA

View Full Version : How to set /usr/sbin/sendmail instead of smtp?


rich1000
06-30-08, 02:00 AM
I'd like to set our miva merchant stores to use the command line /usr/sbin/sendmail instead of using our smtp server.

How can I set this on our server. We maintain several client's merchant stores, and run our own server with empressa installed.

Rich

dotCOM_host
06-30-08, 02:31 AM
I'd like to set our miva merchant stores to use the command line /usr/sbin/sendmail instead of using our smtp server. How can I set this on our server.
Miva Merchant does not use SMTP to begin with... it can't - there's no provision in Miva Merchant or Miva Empresa to use a "3rd party" SMTP server, even if that server is on the same physical server as Miva Empresa/Merchant are running on. I hope this answers your question. :-)

rich1000
06-30-08, 02:54 AM
I understand. I guess I wanted to get rid of the domain that is entered for the SMTP settings so I didn't have to keep a record in DNS for that name.

I suppose I can keep it as is. Just thought there was a way to tell it to use the command line sendmail on my server, rather than referring to it as smtp.mydomain.com

Rich

ILoveHostasaurus
06-30-08, 03:58 AM
Miva Merchant does not use SMTP to begin with... it can't - there's no provision in Miva Merchant or Miva Empresa to use a "3rd party" SMTP server, even if that server is on the same physical server as Miva Empresa/Merchant are running on. I hope this answers your question. :-)

I think you meant the opposite since all it does is SMTP to send email.

ILoveHostasaurus
06-30-08, 03:59 AM
I understand. I guess I wanted to get rid of the domain that is entered for the SMTP settings so I didn't have to keep a record in DNS for that name.


It will take an IP as an argument as well; it's common to see 127.0.0.1 set instead of localhost, etc.

dotCOM_host
06-30-08, 06:45 AM
I think you meant the opposite since all it does is SMTP to send email.
Well, I meant you can't specify an SMTP connection (hostname + username + password) to authenticate, precluding you from using anything other than "localhost" (or equivalent) for sending email out. A real SMTP connection would allow you to use any 3rd party mail service for sending email notifications out - and as you well know, that is not possible with Miva Merchant.

Rick Wilson
06-30-08, 04:50 PM
A real SMTP connection would allow you to use any 3rd party mail service for sending email notifications out

Is this a common feature request at the hosting level (i.e. I've never heard that request before but is it something you hear a lot)?

dotCOM_host
06-30-08, 06:59 PM
Is this a common feature request at the hosting level (i.e. I've never heard that request before but is it something you hear a lot)?
Not a lot, but... we do see more and more clients hosting their own in-house Exchange servers, or farm it out somewhere so they can use their Crackberries. Or, clients who want to use nothing but Gmail for everything, so we change their MX records to redirect all email there. While we can still make the outgoing email work from Miva Merchant in these scenarios, a "proper" SMTP connection to their own mail servers would have been preferred. Clients who host their email separately from the web site ALWAYS ask how to set up their stores to send email through their own mail servers, so I'd say even though it's not a huge percentage of clients that would need this option, it's relevant enough to warrant an afternoon for a developer to implement this option.