[sork] [imp] LDAP Driver Vacation-h3-3.2.1

Jan Schneider jan at horde.org
Sat Aug 21 10:58:58 UTC 2010


Please don't top-post.

Zitat von Juliano Rodrigues <juliano at linuxclass.com.br>:

> On 18/08/10 13:11, Jan Schneider wrote:
>> Zitat von Juliano Rodrigues <juliano at linuxclass.com.br>:
>>
>>> Hello IMP list,
>>>
>>> My ldap horde vacation interface is not working, and Im asking for an
>>> advance help here.
>>
>> *What* isn't working?
>>
>>> Bellow are an sample userdn from my ldap and my conf.php of vacation
>>> horde module.
>>>
>>> I guess userdn parm is wrong and something else...
>>
>> Yes, leave it empty, it looks like your DNs can be found through
>> regular DN searching.
>>
>>> PS:. attribute vacationInfo store the autoreply user message. (I dont
>>> know why its appears encrypted from slapcat output).
>>
>> It's not encrypted, its base64 encoded.
>>
>>> Thank for an true help,  Juliano Rodrigues.
>>>
>>> <?php
>>> /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
>>> // $Horde: vacation/config/conf.xml,v 1.15.2.13 2009/08/18 12:54:49
>>> jan Exp $
>>> $conf['vacation']['path'] = '/usr/bin/vacation';
>>> $conf['vacation']['default_subject'] = _("On vacation message");
>>> $conf['vacation']['default_message'] = _("I'm on vacation and will
>>> not be reading my mail for a while.\nYour mail will be dealt with
>>> when I return.");
>>> $conf['vacation']['subject'] = true;
>>> $conf['vacation']['from'] = true;
>>> $conf['server']['params']['default']['host'] = 'localhost';
>>> $conf['server']['params']['default']['port'] = 389;
>>> $conf['server']['params']['default']['timeout'] = 0;
>>> $conf['server']['params']['default']['version'] = '3';
>>> $conf['server']['params']['default']['tls'] = false;
>>> $conf['server']['params']['default']['basedn'] =
>>> 'o=hosting,dc=example,dc=tld';
>>> $conf['server']['params']['default']['userdn'] = 'mail=';
>>> $conf['server']['params']['default']['vacation'] = 'vacationInfo';
>>> $conf['server']['params']['default']['active'] = 'vacationActive';
>>> $conf['server']['params']['default']['enabled'] = true;
>>> $conf['server']['params']['default']['disabled'] = false;
>>> $conf['server']['params']['default']['uid'] = 'mail';
>>> $conf['server']['params']['default']['binddn'] =
>>> 'cn=admin,dc=example,dc=tld';
>>> $conf['server']['params']['default']['bindpw'] = 'xyz';
>>> $conf['server']['params']['default']['hordeauth'] = 'full';
>>> $conf['server']['driver'] = 'ldap';
>>> $conf['aliases']['show'] = true;
>>> $conf['aliases']['driver'] = 'none';
>>> $conf['user']['refused'] = array('root', 'bin', 'daemon', 'adm',
>>> 'lp', 'shutdown', 'halt', 'uucp', 'ftp', 'anonymous', 'nobody',
>>> 'httpd', 'operator', 'guest', 'diginext', 'bind', 'cyrus', 'courier',
>>> 'games', 'kmem', 'mailnull', 'man', 'mysql', 'news', 'postfix',
>>> 'sshd', 'tty', 'www');
>>> $conf['menu']['apps'] = array();
>>> /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
>>>
>>> dn:
>>> mail=giani at social.com.br,vd=social.com.br,o=hosting,dc=example,dc=tld
>>> objectClass: top
>>> objectClass: VirtualMailAccount
>>> objectClass: Vacation
>>> objectClass: VirtualForward
>>> objectClass: amavisAccount
>>> mail: giani at social.com.br
>>> userPassword:: e0NSWVBUfSQxJHFpU05BNkVCJGk3WFplOU95N3RGaGVkTGlOV2tnZS4=
>>> smtpAuth: TRUE
>>> quota: 512000
>>> accountActive: TRUE
>>> vdHome: /home/vmail
>>> mailbox: social.com.br/giani at social.com.br/
>>> uid: giani.social.com.br
>>> mailAutoreply: giani at social.com.br.autoreply
>>> delete: FALSE
>>> otherTransport: phamm:
>>> amavisBypassVirusChecks: FALSE
>>> amavisBypassSpamChecks: FALSE
>>> amavisSpamKillLevel: 6.0
>>> amavisSpamTag2Level: 5.5
>>> amavisSpamTagLevel: 3.0
>>> structuralObjectClass: VirtualMailAccount
>>> entryUUID: 3d50d0e6-2fb6-102f-8f4c-3733248c7fa4
>>> creatorsName: cn=postmaster,vd=social.com.br,o=hosting,dc=example,dc=tld
>>> createTimestamp: 20100729233913Z
>>> sn: Geremias
>>> givenName: Giani
>>> cn: Giani Geremias
>>> vacationActive: TRUE
>>> vacationInfo:: T0kgZXUgZXN0b3UgZGUgZmVyaWFzIA==
>>> forwardActive: FALSE
>>> creationDate: 201007292039
>>> vacationStart: 201008170000
>>> vacationEnd: 201008190000
>>> lastChange: 1282087816
>>> entryCSN: 20100817233016.290021Z#000000#000#000000
>>> modifiersName:
>>> mail=giani at social.com.br,vd=social.com.br,o=hosting,dc=example,dc=tld
>>> modifyTimestamp: 20100817233016Z
>>
>> Btw, there is a dedicated mailing list for vacation, please follow-up
>> there.
>>
> Jan,
>
> User receive: "Vacation notice successfully enabled", but auto-reply  
> email isn't sent.
>
> Its looks like ldap interface is OK now, but postfix/vacation NOT yet.

This out of the scope of Horde then. You might have more luck asking  
on the Postifx mailing list.

> Vacation rpm package is already installed and conf.php point to  
> correct path to it. Its all that I need to do?
>
> I dont have any FTP users auth, since I have virtual delivery user  
> vmail for all accounts.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the sork mailing list