-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Brown, Robin wrote:
> Does nfsen need to be restarted for this to take affect?
Yes - run: ./nfsen reload
- Peter
>
> Thanks!
>
>
>> -----Original Message-----
>> From: Peter Haag [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, September 24, 2008 7:00 AM
>> To: Brown, Robin
>> Cc: [email protected]
>> Subject: Re: [Nfsen-discuss] Alert email address issue
>>
> Hi Robin,
> Indeed, there seem to be a bug. Here is the patch:
>
> --- NfAlert.pm.orig Wed Sep 24 12:57:47 2008
> +++ NfAlert.pm Wed Sep 24 12:56:35 2008
> @@ -1367,7 +1367,7 @@
> $action_email =~ s/^\s+//;
> $action_email =~ s/\s$//;
> foreach my $email_addr ( split /\s*,\s*/,
> $action_email ) {
> - if ( $action_email !~
> /^([A-Z0-9]+[._]?){1,}[A-Z0-9]+\@(([A-Z0-9]+[-]?){1,}[A-Z0-9]+
> \.){1,}[A-Z]{2,4}$/i ) {
> + if ( $action_email !~
> /^([A-Z0-9]+[._]?){1,}[A-Z0-9\-]+\@(([A-Z0-9]+[-]?){1,}[A-Z0-9
> ]+\.){1,}[A-Z]{2,4}$/i ) {
> print $socket $EODATA;
> print $socket "ERR
> action_email '$action_email' not a valid email address\n";
> return;
>
>
>
> - Peter
>
> Brown, Robin wrote:
>>>> Hi, nfsen 1.3. I am trying to use an email address in an
> alert of the
>>>> format
>>>>
>>>> [EMAIL PROTECTED]
>>>>
>>>> Nfsen gives this error:
>>>>
>>>> ERROR: nfsend: action_email '[EMAIL PROTECTED]' not a
> valid email
>>>> address!
>>>>
>>>> But it is valid. Is it the '-' or is it the extra part of
> the domain
>>>> that it doesn't like? Is there a setting someplace I can
> change so it
>>>> will accept this as a valid email address?
>>>>
>>>> Thanks and regards,
>>>> Robin Brown
>>>>
>>>>
> ----------------------------------------------------------------------
>>>> --- This SF.Net email is sponsored by the Moblin Your Move
> Developer's
>>>> challenge Build the coolest Linux based applications with
> Moblin SDK &
>>>> win great prizes Grand prize is a trip for two to an Open
> Source event
>>>> anywhere in the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Nfsen-discuss mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
>>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nfsen-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
- --
_______ SWITCH - The Swiss Education and Research Network ______
Peter Haag, Security Engineer, Member of SWITCH CERT
PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D D7
SWITCH, Werdstrasse 2, P.O. Box, CH-8021 Zurich, Switzerland
E-mail: [EMAIL PROTECTED] Web: http://www.switch.ch/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iQCVAwUBSNqwev5AbZRALNr/AQLzAgP9HRPhYBSnUmLfKH+EMVaUWkiOqYN6gRma
ah5+8JwVyYoerwTjtYdHM5lQycNVADd0VYsB4pCizKJpq6H0MW3U/tQ4xO5KCgv8
lPtcat7vhvoQVPNd7q/ubeXonweu+C1lWWqg/Q9MEC1bVnZexu0VlkRoJg9ZiRsZ
pu8rL89BbhQ=
=2Zlb
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss