View Full Version : Mail not sending
tellar
10th March 2007, 22:36
Hi I am running oscommerce using ispconfig on ubuntu,
the problem that i am having is that mail generated by oscommerce is not being sent out, I have tried to change the domain and co domains to external mailserver and have ticked create mx records but its still not working. any ideas?
Hawker
10th March 2007, 22:41
In apache directives for that site add
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f your@oscommerce_email.address"
Restart apache
tellar
10th March 2007, 23:24
I have added the directive and mail is still not sending anything else to try?
Hawker
10th March 2007, 23:35
It works for me, but you might try adding an alias to one of the email accounts that matches the oscommerce email name.
tellar
11th March 2007, 00:06
nope that didn't work either'its a massive problem, customers can not reset password and do not recieve confermation e-mail and such. any other ideas as to what should fix this?
Hawker
11th March 2007, 12:52
At this point I'd have to say look at your mail logs to see exactly what's happening.
tellar
11th March 2007, 15:04
when i send mail from oscommerce this to what happens in the log
i can see that the mail gets sent but it is never deliver does this log result show why?
Mar 11 14:07:03 server1 postfix/qmgr[9452]: AA04011F44E4: removed
Mar 11 14:07:03 server1 postfix/pickup[8788]: B36FE11F44E5: uid=10006 from=<tellar1>
Mar 11 14:07:03 server1 postfix/cleanup[11744]: B36FE11F44E5: message-id=<20070311130703 .B36FE11F44E5@server1.example.com>
Mar 11 14:07:03 server1 postfix/qmgr[9452]: B36FE11F44E5: from=<tellar1@server1.example. com>, size=386, nrcpt=1 (queue active)
Mar 11 14:07:03 server1 postfix/local[11747]: B36FE11F44E5: to=<admispconfig@localhost.l ocaldomain>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
Mar 11 14:07:03 server1 postfix/qmgr[9452]: B36FE11F44E5: removed
Hawker
11th March 2007, 15:30
The only thing I can think of is the path in the apache directive might be wrong.
Type
which sendmail
and it will give the correct path to sendmail.
tellar
11th March 2007, 16:42
Ok so I have found the problem, my mail company who I left the mail with when i changed to my own server has a policy #$%#%$# , so i changed the address in os commerce and in the apache directive and its working. thanks for all your help I now know how to find and trail my logs great!
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.