I all, last week I began to move one list to another server (from SUSE 6.4 to Redhat 7.2). Smartlist works good as usual, but the moderate package doesn't work, please what's wrong ? This is the error when I try to send a mail to the list: ----- The following addresses had permanent fatal errors ----- "|mod-if ifmlist" (reason: 255) (expanded from: ifmlist@my-domain.com) ----- Transcript of session follows ----- syntax error at /etc/smrsh/mod-if line 193, near "my " Global symbol "$domain" requires explicit package name at /etc/smrsh/mod-if line 193. Global symbol "$domain" requires explicit package name at /etc/smrsh/mod-if line 340. Global symbol "$domain" requires explicit package name at /etc/smrsh/mod-if line 341. Global symbol "$domain" requires explicit package name at /etc/smrsh/mod-if line 362. Global symbol "$domain" requires explicit package name at /etc/smrsh/mod-if line 376. Global symbol "$domain" requires explicit package name at /etc/smrsh/mod-if line 394. Global symbol "$domain" requires explicit package name at /etc/smrsh/mod-if line 398. Execution of /etc/smrsh/mod-if aborted due to compilation errors. 554 5.3.0 unknown mailer error 255 Line 193 is: my $domain = "my-domain.com"; Any good idea ? Thanks in advance Giorgio
Not at all sure, but when I use Perl's 'my' declaration I enclose the declared variables in parenthesis. Perhaps you could try changing that line to something like my($domain) = "my-domain.com"; -ph On Sat, 16 Nov 2002, Giorgio Demenego wrote:
I all, last week I began to move one list to another server (from SUSE 6.4 to Redhat 7.2).
Smartlist works good as usual, but the moderate package doesn't work, please what's wrong ?
This is the error when I try to send a mail to the list:
----- The following addresses had permanent fatal errors ----- "|mod-if ifmlist" (reason: 255) (expanded from: ifmlist@my-domain.com)
----- Transcript of session follows ----- syntax error at /etc/smrsh/mod-if line 193, near "my " Global symbol "$domain" requires explicit package name at /etc/smrsh/mod-if line 193. ... Execution of /etc/smrsh/mod-if aborted due to compilation errors. 554 5.3.0 unknown mailer error 255
Line 193 is: my $domain = "my-domain.com";
Any good idea ?
Thanks in advance Giorgio
On Sat, Nov 16, 2002 at 12:15:49AM +0100, Giorgio Demenego wrote:
Smartlist works good as usual, but the moderate package doesn't work, please what's wrong ?
I don't know the mod-if program, but line 193 is syntactically correct. Has the version of Perl changed between the two machines? ("perl -v" for the short version.) Roger
On Sat, 16 Nov 2002, Giorgio Demenego wrote:
Smartlist works good as usual, but the moderate package doesn't work, please what's wrong ?
----- Transcript of session follows ----- syntax error at /etc/smrsh/mod-if line 193, near "my " Global symbol "$domain" requires explicit package name at /etc/smrsh/mod-if line 193.
This is a perl error message. It could mean "my" is missing.
Line 193 is: my $domain = "my-domain.com";
But there is a "my" there. What is the previous line. Perhaps a semicolon got deleted. -- Greg Matheson
participants (4)
-
Giorgio Demenego
-
Greg Matheson
-
Peter Hartzler
-
Roger Burton West