Results 1 to 10 of 41

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Home Linux Server - Gmail help

    I realised after I posted the last one that I hadn't really stressed the fact that I felt it was important to establish whether your Zen Cart shop could now talk to the local mail server. That would be a very good step 1, as if not, ther's some more config to do on your Ubuntu setup.
    i.e. Set mail transport to PHP, send an email from admin, and then check the mail log to see whether it is accepted by Postfix.
    Once that is accomplished, we know you have a working shop, and several ways to get the mail out to the world.
    And yes, in this day and age mail servers can get very picky about the connections they do and do not receive and accept. Thats why I am so keen to get the mail as far as the Postfix server.

  2. #2
    Join Date
    Apr 2007
    Location
    Crawley, West Sussex, UK
    Posts
    23
    Plugin Contributions
    0

    Default Re: Home Linux Server - Gmail help

    Right.

    I am sorry if I seem to be a pain in the *** newbie but I am not sure where to find the mail log.

    Also when I set the email delivery setting to PHP it seems to send it via sendmail. Now do I have to change something within the php.ini file to get this to postfix?

    Again I apologize for my lack of knowledge.

  3. #3
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Home Linux Server - Gmail help

    No need to apologise for any lack of knowledge. Postfix mail log is called mail.log and hopefully is in /var/log/ along with a whole host of other log files.

    When you set to PHP and hit send, do you get the mail sent message in admin? If so, thats a very good sign, and don't worry about sendmail, etc at this stage, not important.

    When you set the mail transport to PHP, it uses PHP code in PHPMailer to send the mail from the Apache server, usually as a mythical user called www-data, who is the Apache servers phantom persona to do such things. The question at present is whether Postfix is prepared to accept mail from this ethereal fellow.

  4. #4
    Join Date
    Apr 2007
    Location
    Crawley, West Sussex, UK
    Posts
    23
    Plugin Contributions
    0

    Default Re: Home Linux Server - Gmail help

    Admin?

    How would I go about finding that out?

    I have never received an email or anything for that matter when I have tried sending them from my web server.

  5. #5
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Home Linux Server - Gmail help

    Sorry, I meant Zen Cart admin, under Tools, the send email function there

  6. #6
    Join Date
    Apr 2007
    Location
    Crawley, West Sussex, UK
    Posts
    23
    Plugin Contributions
    0

    Default Re: Home Linux Server - Gmail help

    Ok.

    Just found the error log. Have no idea what it all means.

    You can view it at http://84.66.109.245/errorlog.txt

    I will try your other suggestion as soon as poss.

  7. #7
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Home Linux Server - Gmail help

    OK, we make progress. Postfix looks like it is accepting mail from the Apache server, which is what we wanted to accomplish.

    Apr 14 17:00:30 server postfix/qmgr[5290]: 71FA0694062: from=<[email protected]>, size=912, nrcpt=1 (queue active)
    Apr 14 21:09:59 server postfix/qmgr[5290]: AA245694068: from=<[email protected]>, size=912, nrcpt=1 (queue active)
    Apr 14 21:12:20 server postfix/qmgr[5290]: 71FA0694062: from=<[email protected]>, size=912, nrcpt=1 (queue active)

    And Postfix is trying furiously to talk to gmail to pass the mail on, but I suspect that the port 25 block is preventing it.

 

 

Similar Threads

  1. v139f Re: Problems trying to send site email through gmail server....
    By osdparts in forum Basic Configuration
    Replies: 11
    Last Post: 15 Mar 2013, 06:48 AM
  2. Replies: 13
    Last Post: 15 Feb 2012, 10:04 PM
  3. through contact_us page, can not receive the gmail
    By ebloger in forum General Questions
    Replies: 1
    Last Post: 28 Feb 2011, 11:41 AM
  4. Email script troubles using Gmail
    By sirdouglas in forum General Questions
    Replies: 8
    Last Post: 16 Jun 2010, 06:31 PM
  5. Sending using my gmail account
    By HappyMom in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 24 Jun 2006, 06:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg