[imp] Imp GIT sending to myself displays userid at missing_domain

John H. Bennett III bennettj at thebennetthome.com
Thu Jan 7 03:23:20 UTC 2016


  Quoting bennettj at thebennetthome.com:

> -------- Original message --------
>    From: Simon B <simon.buongiorno at gmail.com>
>    Date: 1/4/2016 7:55 AM (GMT-06:00)
>    To: bennettj at thebennetthome.com
>    Cc: imp <imp at lists.horde.org>
>    Subject: Re: [imp] Imp GIT sending to myself displays
> userid at missing_domain
>     
>
>
> On 4 Jan 2016 14:38, "John H. Bennett III" <bennettj at thebennetthome.com>
> wrote:
>>
>>
>> Quoting Jan Schneider <jan at horde.org>:
>>
>>> Zitat von John H. Bennett III <bennettj at thebennetthome.com>:
>>>
>>>> Hello all,
>>>>
>>>> I've set up a test server that is running a GIT version of horde.  I
>>>> just did a pull today, so I'm up to date.
>>>>
>>>> The issue I am seeing is that when I send an email to myself, it is
>>>> received as userid at missing_domain.
>>>>
>>>> For example, I'm logged in as admin, and am trying to send an email
>>>> to admin, and the from says To:admin at missing_domain.  It's the same
>>>> for any user.  This works fine on my production server running horde
>>>> 5.2.8, imp 6.2.11, and as far as I can remember, has always worked.
>>>>
>>>> I have a default identity set and , I've compared horde/conf.php,
>>>> imp/conf.php and backends.local.php settings against my production
>>>> server, and things match where they should except for any new
>>>> settings in the GIT version, and the different maildomain parameters
>>>> in imp/backends.local.php
>>>>
>>>> If I send to admin at domain.com, then it does display correctly.
>>>>
>>>> Has something changed that I need to configure something else, or
>>>> have I just completely missed something?  Probably the latter.
>>>>
>>>> Any clues are appreciated.
>>>
>>>
>>> Sorry I don't follow completely. Are you saying that sending the
>>> address "admin at domain.com" works, but literally "admin" (without
>>> domain part) fails?
>>> The latter would be completed with the maildomain parameter from the
>>> backend configuration, so if you have differences there between your
>>> working and non-working version, I'd start looking there.
>>>
>>> --
>>> Jan Schneider
>>> The Horde Project
>>> http://www.horde.org/
>>>
>>> --
>>> imp mailing list
>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>
>>
>> Yes, that is exactly what I am saying.  There are no differences in the
>> backends.local.php file.  When I say above the different maildomain
>> parameters, I am meaning the specific maildomain names for the two
>> servers, which will be different.
>
>   The setting you're looking for/should be comparing is in your
> horde.conf under the "Mailer" tab/section.
>
>   Simon
>
>   Thanks Simon,
>
>   There's nothing different there either. Since noone seems to be seeing
> the same thing,  I'll look some more,  and if I can't solve it,  I'll
> reload my test server, do a new git install, and verify my settings
> again. 
>
>   Thank you again, 
>
>   John

Well, I did a reload and am still seeing the same behavior. Below is my
horde/conf.php from the git-installed server:

  <?php
   
  /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
  // $Id: f63de8a0d61b3b31122aeff308b276b7a833d8d6 $
  $conf['vhosts'] = false;
  $conf['debug_level'] = E_ALL & ~E_NOTICE & ~E_DEPRECATED;
  $conf['max_exec_time'] = 0;
  $conf['compress_pages'] = true;
  $conf['secret_key'] =
'OJYEEqNmdKYnfc62J1duaHQHHbIvW8MyK8Ae34WesyUka58EvlaPlHxV7CymjSSKxmmgj50gwKoK';
  $conf['umask'] = 077;
  $conf['testdisable'] = true;
  $conf['use_ssl'] = 2;
  $conf['server']['name'] = $_SERVER['SERVER_NAME'];
  $conf['urls']['token_lifetime'] = 30;
  $conf['urls']['hmac_lifetime'] = 30;
  $conf['urls']['pretty'] = false;
  $conf['safe_ips'] = array();
  $conf['session']['name'] = 'Horde';
  $conf['session']['use_only_cookies'] = true;
  $conf['session']['timeout'] = 0;
  $conf['session']['cache_limiter'] = 'nocache';
  $conf['session']['max_time'] = 0;
  $conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
  $conf['cookie']['path'] = '/horde';
  $conf['sql']['username'] = 'horde';
  $conf['sql']['password'] =
'okSQthEIropoPf3S4tY0KTXGmgwZCUmeDRQ96oaHI8NPa+gV2GYzUbRI2aJVczNED0Kpjxh4rqAc';
  $conf['sql']['socket'] = '/var/lib/mysql/mysql.sock';
  $conf['sql']['protocol'] = 'unix';
  $conf['sql']['database'] = 'horde';
  $conf['sql']['charset'] = 'latin1';
  $conf['sql']['ssl'] = false;
  $conf['sql']['splitread'] = false;
  $conf['sql']['phptype'] = 'mysqli';
  $conf['nosql']['phptype'] = false;
  $conf['ldap']['useldap'] = false;
  $conf['auth']['admins'] = array('admin at mytestserver.com');
  $conf['auth']['checkip'] = true;
  $conf['auth']['checkbrowser'] = true;
  $conf['auth']['resetpassword'] = false;
  $conf['auth']['alternate_login'] = false;
  $conf['auth']['redirect_on_logout'] = false;
  $conf['auth']['list_users'] = 'list';
  $conf['auth']['params']['app'] = 'imp';
  $conf['auth']['driver'] = 'application';
  $conf['auth']['params']['count_bad_logins'] = true;
  $conf['auth']['params']['login_block'] = true;
  $conf['auth']['params']['login_block_count'] = 5;
  $conf['auth']['params']['login_block_time'] = 5;
  $conf['signup']['allow'] = false;
  $conf['log']['priority'] = 'NOTICE';
  $conf['log']['ident'] = 'HORDE';
  $conf['log']['name'] = LOG_USER;
  $conf['log']['type'] = 'syslog';
  $conf['log']['enabled'] = true;
  $conf['log_accesskeys'] = false;
  $conf['prefs']['maxsize'] = 65535;
  $conf['prefs']['params']['table'] = 'horde_prefs';
  $conf['prefs']['params']['driverconfig'] = 'horde';
  $conf['prefs']['driver'] = 'Sql';
  $conf['alarms']['params']['table'] = 'horde_alarms';
  $conf['alarms']['params']['driverconfig'] = 'horde';
  $conf['alarms']['params']['ttl'] = 300;
  $conf['alarms']['driver'] = 'Sql';
  $conf['group']['cache'] = false;
  $conf['group']['driverconfig'] = 'horde';
  $conf['group']['driver'] = 'Sql';
  $conf['perms']['driverconfig'] = 'horde';
  $conf['perms']['driver'] = 'Sql';
  $conf['share']['no_sharing'] = false;
  $conf['share']['auto_create'] = true;
  $conf['share']['world'] = true;
  $conf['share']['any_group'] = true;
  $conf['share']['hidden'] = false;
  $conf['share']['cache'] = false;
  $conf['share']['driver'] = 'Sql';
  $conf['cache']['default_lifetime'] = 1800;
  $conf['cache']['params']['dir'] = '/tmp/';
  $conf['cache']['params']['sub'] = 0;
  $conf['cache']['driver'] = 'File';
  $conf['cache']['use_memorycache'] = '';
  $conf['cachecssparams']['url_version_param'] = true;
  $conf['cachecss'] = false;
  $conf['cachejsparams']['url_version_param'] = true;
  $conf['cachejs'] = false;
  $conf['cachethemes'] = false;
  $conf['lock']['driver'] = 'Null';
  $conf['token']['driver'] = 'Null';
  $conf['history']['params']['driverconfig'] = 'horde';
  $conf['history']['driver'] = 'Sql';
  $conf['davstorage']['params']['driverconfig'] = 'horde';
  $conf['davstorage']['driver'] = 'Sql';
  $conf['mailer']['params']['secure'] = 'tls';
  $conf['mailer']['params']['auth'] = false;
  $conf['mailer']['params']['lmtp'] = false;
  $conf['mailer']['type'] = 'smtp';
  $conf['vfs']['params']['vfsroot'] = '/tmp';
  $conf['vfs']['type'] = 'File';
  $conf['sessionhandler']['type'] = 'Builtin';
  $conf['sessionhandler']['hashtable'] = false;
  $conf['spell']['params']['path'] = '/usr/bin/aspell';
  $conf['spell']['driver'] = 'aspell';
  $conf['gnupg']['path'] = '/usr/bin/gpg';
  $conf['gnupg']['keyserver'] = array('pool.sks-keyservers.net',
'subkeys.pgp.net', 'pgp.mit.edu');
  $conf['gnupg']['timeout'] = 10;
  $conf['openssl']['path'] = '/usr/bin/openssl';
  $conf['nobase64_img'] = false;
  $conf['image']['convert'] = '/usr/bin/convert';
  $conf['image']['identify'] = '/usr/bin/identify';
  $conf['image']['driver'] = 'Im';
  $conf['exif']['driver'] = 'Bundled';
  $conf['mime']['magic_db'] = '/usr/share/magic';
  $conf['timezone']['location'] =
'ftp://ftp.iana.org/tz/tzdata-latest.tar.gz';
  $conf['problems']['email'] = 'admin at mytestserver.com';
  $conf['problems']['maildomain'] = 'mytestserver.com';
  $conf['problems']['tickets'] = false;
  $conf['problems']['attachments'] = false;
  $conf['menu']['links']['help'] = 'authenticated';
  $conf['menu']['links']['prefs'] = 'authenticated';
  $conf['menu']['links']['problem'] = 'never';
  $conf['menu']['links']['login'] = 'all';
  $conf['menu']['links']['logout'] = 'authenticated';
  $conf['portal']['fixed_blocks'] = array();
  $conf['accounts']['params']['quota_path'] = '/usr/bin/quota';
  $conf['accounts']['params']['grep_path'] = '/bin/grep';
  $conf['accounts']['params']['translateMountPoint'] = false;
  $conf['accounts']['params']['translationTable'] = '/etc/mtab';
  $conf['accounts']['driver'] = 'localhost';
  $conf['user']['verify_from_addr'] = true;
  $conf['user']['select_view'] = true;
  $conf['facebook']['enabled'] = false;
  $conf['twitter']['enabled'] = false;
  $conf['urlshortener'] = false;
  $conf['weather']['provider'] = false;
  $conf['maps']['driver'] = false;
  $conf['imap']['enabled'] = false;
  $conf['imsp']['enabled'] = false;
  $conf['kolab']['enabled'] = false;
  $conf['hashtable']['driver'] = 'none';
  $conf['activesync']['params']['driverconfig'] = 'horde';
  $conf['activesync']['storage'] = 'Sql';
  $conf['activesync']['no_maillogsync'] = false;
  $conf['activesync']['emailsync'] = true;
  $conf['activesync']['version'] = '14.1';
  $conf['activesync']['auth']['type'] = 'basic';
  $conf['activesync']['autodiscovery'] = 'user';
  $conf['activesync']['outlookdiscovery'] = false;
  $conf['activesync']['logging']['type'] = false;
  $conf['activesync']['ping']['heartbeatmin'] = 60;
  $conf['activesync']['ping']['heartbeatmax'] = 2700;
  $conf['activesync']['ping']['heartbeatdefault'] = 480;
  $conf['activesync']['ping']['deviceping'] = true;
  $conf['activesync']['ping']['waitinterval'] = 5;
  $conf['activesync']['ping']['maximumwindowsize'] = 0;
  $conf['activesync']['ping']['maximumrequestwindowsize'] = 0;
  $conf['activesync']['enabled'] = true;
  /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
  ?>


The mailer settings are the exact same as what's on my production 5.2.8
server.

Below is a real mail file from my production server.  I sent the email
from the bennettj account and only added bennettj to the To: section.

   Return-Path: <bennettj at thebennetthome.com>
   Delivered-To: bennettj at jbesmith.thebennetthome.com
   Received: (qmail 17504 invoked by alias); 7 Jan 2016 03:05:11 -0000
   Delivered-To: alias-localdelivery-bennettj at thebennetthome.com
   Received: (qmail 17500 invoked by uid 453); 7 Jan 2016 03:05:10 -0000
   Received: from localhost (HELO jbesmith) (127.0.0.1)
       by thebennetthome.com (qpsmtpd/0.84) with (AES256-SHA encrypted)
ESMTPS; Wed, 06 Jan 2016 21:05:10 -0600
   Received: from dads-pc.thebennetthome.com (dads-pc.thebennetthome.com
    [10.10.10.125]) by www.thebennetthome.com (Horde Framework) with HTTP;
Wed,
    06 Jan 2016 21:05:10 -0600
   Date: Wed, 06 Jan 2016 21:05:10 -0600
   Message-ID:
<20160106210510.Horde._tNxiRjHPKKbxmzLrKZwufl at www.thebennetthome.com>
   From: "John H. Bennett III" <bennettj at thebennetthome.com>
   To: bennettj at thebennetthome.com
   Subject: testing
   User-Agent: Horde Application Framework 5
   Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
   MIME-Version: 1.0
   Content-Disposition: inline
   X-Virus-Checked: Checked by ClamAV on thebennetthome.com
    
    
   dafdf

 

And one from the GIT server, sending from admin, and only adding admin to
the To: section

  Return-Path: <admin at mytestserver.com>
  Delivered-To: admin at www.mytestserver.com
  Received: (qmail 7325 invoked by alias); 7 Jan 2016 03:11:20 -0000
  Delivered-To: alias-localdelivery-admin at mytestserver.com
  Received: (qmail 7321 invoked by uid 453); 7 Jan 2016 03:11:19 -0000
  Received: from localhost (HELO mytestserver.com) (127.0.0.1)
      by mytestserver.com (qpsmtpd/0.84) with (AES256-SHA encrypted)
ESMTPS; Wed, 06 Jan 2016 21:11:19 -0600
  Received: from pc-00125.mytestserver.com (pc-00125.mytestserver.com
   [10.10.10.125]) by www.mytestserver.com (Horde Framework) with HTTP;
Wed,
   06 Jan 2016 21:11:19 -0600
  Date: Wed, 06 Jan 2016 21:11:19 -0600
  Message-ID:
<20160106211119.Horde.KXOqAL8aCgvdE1xkeXn4ldE at www.mytestserver.com>
  From: The Admin <admin at mytestserver.com>
  To: admin
  Subject: testing
  User-Agent: Internet Messaging Program (IMP) H6 (7.0.0-git)
  Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
  MIME-Version: 1.0
  Content-Disposition: inline
  X-Virus-Checked: Checked by ClamAV on mytestserver.com
   
  This is a test


The only difference in the two messages is on the second one, the To: line
only has admin.  if I manually edit the file and change it to
admin at mytestserver.com.  Then logout, remove dovecot indexes, the log and
back in, it's then displayed correctly.

Don't know what I've done or missed with the GIT install do do this.  Any
other hints or ideas are appreciated.

Thank you,

John


More information about the imp mailing list