Modify

Ticket #4568 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

Cannot add mail alias to group

Reported by: james@… Owned by: jamor@…
Milestone: 3.0 Component: mail
Severity: normal Keywords:
Cc:

Description (last modified by jamor@…) (diff)

Trying to figure out what a mail alias is by adding one.

Error

Unknown error at EBox::MailAliasLdap::_addCouriermailAliasLdapElement userid: value #0 invalid per syntax

Trace

Unknown error at EBox::MailAliasLdap::_addCouriermailAliasLdapElement userid: value #0 invalid per syntax at /usr/share/perl5/EBox/Ldap.pm line 701
	EBox::Ldap::_errorOnLdap('Net::LDAP::Add=HASH(0xba909e58)', 'HASH(0xb9e25b28)') called at /usr/share/perl5/EBox/Ldap.pm line 407
	EBox::Ldap::add('EBox::Ldap=HASH(0xb9ba3428)', 'mail=support@nontrivial.us, ou=mailalias,ou=postfix,dc=ok,dc=...', 'HASH(0xb9e25b28)') called at /usr/share/perl5/EBox/MailAliasLdap.pm line 350
	EBox::MailAliasLdap::_addCouriermailAliasLdapElement('EBox::MailAliasLdap=HASH(0xba4af834)', undef, 'support@nontrivial.us', 'james@nontrivial.net') called at /usr/share/perl5/EBox/MailAliasLdap.pm line 70
	EBox::MailAliasLdap::addAlias('EBox::MailAliasLdap=HASH(0xba4af834)', 'support@nontrivial.us', 'james@nontrivial.net') called at /usr/share/perl5/EBox/MailAliasLdap.pm line 152
	EBox::MailAliasLdap::addGroupAlias('EBox::MailAliasLdap=HASH(0xba4af834)', 'support@nontrivial.us', 'EBox::UsersAndGroups::Group=HASH(0xba8b2aac)') called at /usr/share/perl5/EBox/CGI/Mail/CreateGroupAlias.pm line 55
	EBox::CGI::Mail::CreateGroupAlias::_process('EBox::CGI::Mail::CreateGroupAlias=HASH(0xba94c6d8)') called at /usr/share/perl5/EBox/CGI/Base.pm line 274
	EBox::CGI::Base::run('EBox::CGI::Mail::CreateGroupAlias=HASH(0xba94c6d8)') called at /usr/share/perl5/EBox/CGI/Run.pm line 132
	EBox::CGI::Run::run('EBox::CGI::Run', 'Mail/CreateGroupAlias', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0xba94c930)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0xba8f2b34)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xba8f2b34)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xba94c930)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (78.8 KB) - added by anonymous 11 months ago.
zentyal.log
software.log Download (146.9 KB) - added by anonymous 11 months ago.
software.log

Change History

Changed 11 months ago by anonymous

zentyal.log

Changed 11 months ago by anonymous

software.log

comment:1 Changed 11 months ago by jamor@…

  • Status changed from new to accepted
  • Component changed from base to mail
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to Cannot add mail alias to group

comment:2 Changed 11 months ago by jamor@…

  • Status changed from accepted to closed
  • Resolution set to fixed

Hello James,

I fixed this in the repository. It will be included in the next release of zentyal-mail but you can hotfix your system with this steps:

  1. Download the new MailAliasLdap?.pm from  http://git.zentyal.org/zentyal.git/blob_plain/2154807dc0bfd43b1da056bb53ab87aee42d3ad5:/main/mail/src/EBox/MailAliasLdap.pm
  2. Use it to replace /usr/share/perl5/EBox/MailAliasLdap.pm
  3. Restart the web interface with 'sudo /etc/init.d/zentyal apache restart'.

By the way the group alias address is a email address which forwards to all user's addresses.

Thanks for your report,

Javier

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.