Mail not sending

Discussion in 'Installation/Configuration' started by tellar, Mar 10, 2007.

  1. tellar

    tellar New Member

    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?
     
  2. Hawker

    Hawker New Member

    In apache directives for that site add

    Code:
    php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f [email protected]_email.address"
    Restart apache
     
    Last edited: Mar 10, 2007
  3. tellar

    tellar New Member

    I have added the directive and mail is still not sending anything else to try?
     
  4. Hawker

    Hawker New Member

    It works for me, but you might try adding an alias to one of the email accounts that matches the oscommerce email name.
     
  5. tellar

    tellar New Member

    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?
     
  6. Hawker

    Hawker New Member

    At this point I'd have to say look at your mail logs to see exactly what's happening.
     
  7. tellar

    tellar New Member

    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 .[email protected]>
    Mar 11 14:07:03 server1 postfix/qmgr[9452]: B36FE11F44E5: from=<[email protected] com>, size=386, nrcpt=1 (queue active)
    Mar 11 14:07:03 server1 postfix/local[11747]: B36FE11F44E5: to=<[email protected] 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
     
  8. Hawker

    Hawker New Member

    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.
     
  9. tellar

    tellar New Member

    Mail Not Sending Solved

    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!
     

Share This Page