Welcome to Geeklog, Anonymous Friday, April 26 2024 @ 10:38 pm EDT

Geeklog Forums

external smtp server


Status: offline

tgc

Forum User
Regular Poster
Registered: 03/15/06
Posts: 82
I want to shut down all my mail servers (smtp, pop, imap) on my dedicated server and use only external email accounts like gmail, etc.
When I put all the account infos from my external email account at the mail settings in the config file, it is working as long as I don't stop my smtp server. As soon as I stop it, the mail is not going out anymore.
That this is possible, I can see when I set up the same with Gallery 2. There, the mails go out even when my smtp server is stopped.
How can I achieve the same with Geeklog?
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
What are your config $_CONF['mail_settings'] settings in regard to this? Is 'backend' => 'smtp' ? Then it should work.
 Quote

Status: offline

tgc

Forum User
Regular Poster
Registered: 03/15/06
Posts: 82
I set it to smpt, here are the settings in my config file:
Text Formatted Code
$_CONF['mail_settings'] = array (
    'backend' => 'smtp', // can be one of 'mail', 'sendmail', 'smtp'

    // sendmail parameters (only needed for 'backend' => 'sendmail')
    //'sendmail_path' => '/usr/bin/sendmail',
    //'sendmail_args' => '',

    // SMTP parameters (only needed for 'backend' => 'smtp')
    'host'     => 'mail.domain.com',
    'port'     => '25',
    'auth'     => false,
    'username' => 'xxxx',
    'password' => 'xxx'
);
 

This is the long header of the test mail using Geeklog:
Text Formatted Code
From:   xxxx@gmail.com
Subject: test smtp geeklog
Date: October 4, 2007 10:49:15 PM GMT+07:00
To:   xxxx@gmail.com
Delivered-To: xxxx@gmail.com
Received: by 10.115.47.5 with SMTP id z5cs387265waj; Thu, 4 Oct 2007 08:49:17 -0700 (PDT)
Received: by 10.86.89.4 with SMTP id m4mr1586041fgb.1191512956234; Thu, 04 Oct 2007 08:49:16 -0700 (PDT)
Received: from xxxxxx.serverkompetenz.net (domain.de [xx.xxx.xx.xxx]) by mx.google.com with ESMTP id a37si3539133fkc.2007.10.04.08.49.15; Thu, 04 Oct 2007 08:49:16 -0700 (PDT)
Received: (qmail 10086 invoked by uid 1000); 4 Oct 2007 15:49:15 -0000
Return-Path: <xxxxx@gmail.com>
Received-Spf: neutral (google.com: 85.214.47.253 is neither permitted nor denied by domain of xxxx@gmail.com) client-ip=xx.xxx.xx.xxx;
Authentication-Results: mx.google.com; spf=neutral (google.com: xx.xxx.xx.xxx is neither permitted nor denied by domain of xxxx@gmail.com) smtp.mail=xxxx@gmail.com
Message-Id: <20071004154915.10085.qmail@xxxxxx.serverkompetenz.net>
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: GeekLog 1.3.11sr7-1

Here the header of the mail from Gallery 2 with the same mail settings:
Text Formatted Code
From:   info@domain.com
Subject: Gallery Email Test
Date: October 4, 2007 10:52:21 PM GMT+07:00
To:   zzzz@gmail.com
Delivered-To: zzzz@gmail.com
Received: by 10.66.234.11 with SMTP id g11cs307024ugh; Thu, 4 Oct 2007 08:52:22 -0700 (PDT)
Received: by 10.65.205.16 with SMTP id h16mr15644571qbq.1191513141531; Thu, 04 Oct 2007 08:52:21 -0700 (PDT)
Received: from kappa.sitelutions.com (kappa.sitelutions.com [66.231.180.100]) by mx.google.com with ESMTP id c20si2467484ana.2007.10.04.08.52.20; Thu, 04 Oct 2007 08:52:21 -0700 (PDT)
Received: from domain.de ([xx.xxx.xx.xxx]:36247 helo=mail.domain.com) by kappa.sitelutions.com with esmtpa (Exim 4.68) (envelope-from <info@domain.com>) id 1IdSzl-0003hm-SK for zzzzz@gmail.com; Thu, 04 Oct 2007 11:52:14 -0400
Return-Path: <info@domain.com>
Received-Spf: neutral (google.com: 66.231.180.100 is neither permitted nor denied by best guess record for domain of info@domain.com) client-ip=66.231.180.100;
Authentication-Results: mx.google.com; spf=neutral (google.com: 66.231.180.100 is neither permitted nor denied by best guess record for domain of info@domain.com) smtp.mail=info@domain.com
Message-Id: <47050c35.1436640a.432f.ffff8e20SMTPIN_ADDED@mx.google.com>
Content-Type: text/plain; charset="utf-8"
X-Antiabuse: This header was added to track abuse, please include it with any abuse report
X-Antiabuse: Primary Hostname - kappa.sitelutions.com
X-Antiabuse: Original Domain - gmail.com
X-Antiabuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-Antiabuse: Sender Address Domain - domain.com

kappa.sitelutions.com should be the mail server for both tests.
With looking at the long headers at the mail from Geeklog it is clear why the mails don't go out with the smpt server stopped. But where is the error?
It does not matter if I set "auth" to true or false.

Thank you for any more ideas.
 Quote

itsme

Anonymous
It looks like you may have set your host to smtp.google.com instead of smtp.gmail.com.

Try that and let us know if it works.
 Quote

All times are EDT. The time is now 10:38 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content