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