ports/93523: [Patch] mail/sympa5 : mailwrapper path in alias_manager.pl is not correct

Jean-François BOEUF jfb at minet.net
Sat Feb 18 11:30:26 UTC 2006


>Number:         93523
>Category:       ports
>Synopsis:       [Patch] mail/sympa5 : mailwrapper path in alias_manager.pl is not correct
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 18 11:30:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jean-François BOEUF
>Release:        FreeBSD 6.0-RELEASE-p4 i386
>Organization:
Association Minet
>Environment:
FreeBSD r2d2.minet.net 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #0: Thu Jan 26 13:34:52 CET 2006     root at r2d2.minet.net:/usr/obj/usr/src/sys/R2D2  i386

>Description:
Perl script /usr/local/sbin/alias_manager.pl tries to run /usr/local/bin/aliaswrapper in order to update sendmail alias database, but it can't because the file does  not exist. So alias database can't be updated properly after adding or removing a mailing list. The right path to alias_wrapper is /usr/local/libexec/sympa/aliaswrapper.
>How-To-Repeat:
Install mail/sympa5. Create a mailing list. You can read in log fils :
" admin::install_aliases : Unable to run newaliases "
The mailing list is not usable until you manualy run newaliases on the system. The problem is similar when updating or removing a list.
>Fix:
this file (mail/sympa5/files/patch-src-alias_manager.pl) patching alias_manager.pl should correct the path :

new file : patch-src-alias_manager.pl
==============================================================
--- src/alias_manager.pl  Tue Aug  9 09:02:35 2005
+++ src/alias_manager.pl Sat Feb 18 01:51:52 2006
@@ -43,7 +43,7 @@
 my $tmp_alias_file = $Conf{'tmpdir'}.'/sympa_aliases.'.time;


-my $alias_wrapper = '--MAILERPROGDIR--/aliaswrapper';
+my $alias_wrapper = '--LIBEXECDIR--/aliaswrapper';
 my $lock_file = '--EXPL_DIR--/alias_manager.lock';
 my $default_domain;
 my $path_to_queue = '--MAILERPROGDIR--/queue';

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list