Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #81  
Old 3rd December 2008, 15:23
gsp gsp is offline
Member
 
Join Date: Oct 2008
Posts: 45
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Got this trying to send to you from Outlook with SMTP authorization:

Code:
2008-12-03 16:19:50 no host name found for IP address 192.168.10.199
2008-12-03 16:20:01 1L7sZy-000326-Nm <= "george@marishotels.eu"@mailsrv H=(sync4j) [192.168.10.199] P=esmtpa A=login:george@marishotels.eu S=5549 id=007c01c95551$ad097580$c70aa8c0@maris.local
2008-12-03 16:20:04 1L7sZy-000326-Nm == andrew@topdog.za.net R=dnslookup T=remote_smtp defer (-44): SMTP error from remote mail server after RCPT TO:<andrew@topdog.za.net>: host mail.topdog.za.net [209.20.66.9]: 450 4.1.8 <george@marishotels.eu@mailsrv>: Sender address rejected: Domain not found
Again this stupid login... when authenticates... (thunderbird did the same!!!)... why uses all this for user?... Without authentication works fine now...
Reply With Quote
Sponsored Links
  #82  
Old 5th December 2008, 14:14
gsp gsp is offline
Member
 
Join Date: Oct 2008
Posts: 45
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Tried to upgrade to latest versions of Horde, imp, etc..

Everything seems fine but in the upgrade doc of Horde says it needs MDB2_Schema so it can run a script for updating database...

After some tries of installing it, and running the php script i get a Fatal Error: MDB2 Error: not found

I am spending hours now to find what is all this about and i cannot... any suggestions? Below is the script i am trying to run:
PHP Code:
#!/usr/bin/env php
<?php
/**
 * Fix MDB2 sequence names. Thie script changes the MDB2 sequence names from the
 * default of 'sequence' to 'id' to be consistent with all horde apps, and to
 * allow automated upgrade scripts to use MDB2_Schema in the future.
 *
 * $Horde: horde/scripts/upgrades/2008-08-29_fix_mdb2_sequences.php,v 1.1.2.5 2008/09/04 19:25:22 mrubinsk Exp $
 *
 * @author Michael J. Rubinsky <mrubinsk@horde.org>
 * @since Horde 3.2.2
 */
@define('AUTH_HANDLER'true);
@
define('HORDE_BASE'dirname(__FILE__) . '/../..');

/* These are the table => key names that need to be updated */
$to_upgrade = array('ansel_shares' => 'share_id',
                    
'ansel_images' => 'image_id',
                    
'ansel_tags' => 'tag_id',
                    
'ansel_faces' => 'face_id',
                    
'genie_shares' => 'share_id',
                    
'ingo_shares' => 'share_id',
                    
'klutz_comics' => 'comicpic_id',
                    
'kronolith_shares' => 'share_id',
                    
'mnemo_shares' => 'share_id',
                    
'nag_shares' => 'share_id',
                    
'turba_shares' => 'share_id',
                    
'whups_shares' => 'share_id');

/* Set up the CLI environment */
require_once HORDE_BASE '/lib/core.php';
require_once 
'Horde/CLI.php';
if (!
Horde_CLI::runningFromCli()) {
    exit(
"Must be run from the command line\n");
}
$cli = &Horde_CLI::singleton();
$cli->init();

/* Grab what we need to steal the DB config */
require_once HORDE_BASE '/config/conf.php';
require_once 
'MDB2/Schema.php';
require_once 
'MDB2.php';
$config $GLOBALS['conf']['sql'];
unset(
$config['charset']);
$schema MDB2_Schema::factory($config, array('seqcol_name' => 'id'));
if (
is_a($schema'PEAR_Error')) {
    
$cli->fatal($schema->getMessage());
}
$db = &MDB2::factory($config);
if (
is_a($db'PEAR_Error')) {
    
$cli->fatal($db->getMessage());
}

$db->loadModule('Manager');
$tables $db->manager->listTables();
if (
is_a($tables'PEAR_Error')) {
    
$cli->fatal($tables->getMessage());
}

/* Update any of the tables that we have */
foreach ($to_upgrade as $table => $field) {
    if (
array_search($table$tables) !== false) {
        
$results $schema->createSequence(
            
$table, array('on' => array('table' => $table'field' => $field)), true);

        if (
is_a($results'PEAR_Error')) {
            
$cli->fatal(sprintf(_("Unable to modify the sequence for %s: %s"), $table$results->getMessage()));
        }
        
$cli->message(sprintf(_("Modified sequence for %s"), $table), 'cli.success');
    }
}

$cli->message(_("Done"), 'cli.success');
UPDATE---> Ok this one solved with Pear Driver mysqli install...

Last edited by gsp; 10th December 2008 at 13:55.
Reply With Quote
  #83  
Old 10th December 2008, 12:50
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Quote:
Originally Posted by gsp View Post
Got this trying to send to you from Outlook with SMTP authorization:

Code:
2008-12-03 16:19:50 no host name found for IP address 192.168.10.199
2008-12-03 16:20:01 1L7sZy-000326-Nm <= "george@marishotels.eu"@mailsrv H=(sync4j) [192.168.10.199] P=esmtpa A=login:george@marishotels.eu S=5549 id=007c01c95551$ad097580$c70aa8c0@maris.local
2008-12-03 16:20:04 1L7sZy-000326-Nm == andrew@topdog.za.net R=dnslookup T=remote_smtp defer (-44): SMTP error from remote mail server after RCPT TO:<andrew@topdog.za.net>: host mail.topdog.za.net [209.20.66.9]: 450 4.1.8 <george@marishotels.eu@mailsrv>: Sender address rejected: Domain not found
Again this stupid login... when authenticates... (thunderbird did the same!!!)... why uses all this for user?... Without authentication works fine now...
Make this change and all will work properly

Code:
 accept  authenticated = *
          control       = submission/sender_retain
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #84  
Old 10th December 2008, 13:54
gsp gsp is offline
Member
 
Join Date: Oct 2008
Posts: 45
Thanks: 1
Thanked 0 Times in 0 Posts
Default

What this setting will do? I would like to have my users authenticate when trying to send because i am planning to use SMTP and from outside, so i don't want to be a spammer...

Thanks..

P.S. After many hours of trying to update the system, got back to versions of "how to" but unfortunately i miss the sync function with outlook as Funambol plugin don't work with Horde 3.1.x installations...
Reply With Quote
  #85  
Old 10th December 2008, 13:57
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

That will let you do smtp authentication with out the address being modified, ie you will be able to send mail via smtp authentication with the correct address appearing instead of the login@server
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #86  
Old 12th December 2008, 09:33
gsp gsp is offline
Member
 
Join Date: Oct 2008
Posts: 45
Thanks: 1
Thanked 0 Times in 0 Posts
Default

OK, i'll try this and let you know.. Now i have my system up&running with 124 mail accounts and seems fine... Now it only needs fine-tunning... For spam, for attachment sizes and syncing with outlook (difficult part, horde needs updating!!)

Thank you
Reply With Quote
  #87  
Old 12th December 2008, 14:40
gsp gsp is offline
Member
 
Join Date: Oct 2008
Posts: 45
Thanks: 1
Thanked 0 Times in 0 Posts
Default

It seems to work. Now only two minor problems remain... SMTP authentication takes sooo long to complete even in the LAN network...

Finally the receiver sees this message in From section:

From: "user@mydomain.com"@mail.mydomain.com on behalf of NAME [user@mydomain.com]<"user@mydomain.com"@mail.mydomain.com>


All this!! Is there any way to get only the real sender to be there? And of course i mean only when using POP3 clients with SMTP authentication..

Cheers
Reply With Quote
  #88  
Old 13th December 2008, 11:22
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Quote:
Originally Posted by gsp View Post
It seems to work. Now only two minor problems remain... SMTP authentication takes sooo long to complete even in the LAN network...

Finally the receiver sees this message in From section:

From: "user@mydomain.com"@mail.mydomain.com on behalf of NAME [user@mydomain.com]<"user@mydomain.com"@mail.mydomain.com>


All this!! Is there any way to get only the real sender to be there? And of course i mean only when using POP3 clients with SMTP authentication..

Cheers
I am suspecting that u did the wrong thing, you must have just added that in you are supposed to modify the existing configuration and just add sender_retain
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #89  
Old 13th December 2008, 11:58
gsp gsp is offline
Member
 
Join Date: Oct 2008
Posts: 45
Thanks: 1
Thanked 0 Times in 0 Posts
Default

No, in my config exists only this :

Code:
accept  authenticated = *
          control       = submission/sender_retain
Not added again, found this section and just added a "/sender_retain" in the end. Isn't this that you mean? Or i should remove the "submission" and leave only "sender_retain"?
Reply With Quote
  #90  
Old 13th December 2008, 13:04
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
 
Default

Thats correct if you did that then the email will be correct and there should be no slowness at all. Did u restart exim ?
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1 Dutchy63 HOWTO-Related Questions 9 9th October 2008 12:50
Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1 gueland HOWTO-Related Questions 3 28th August 2008 11:21
User constantly loggin into mail? bswinnerton Installation/Configuration 2 24th March 2008 00:12
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 08:29


All times are GMT +2. The time now is 06:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.