Oussema Cherni bio photo

Oussema Cherni

Linux Systems engineer & Internet side-preneur From Tunisia

Twitter Google+ LinkedIn Instagram Github

méthode 1

@whitelist_sender_maps = (['.example.org', '.example.net']);  
@whitelist_sender_maps = ([qw(.example.org .example.net)]);

méthode 2

map { $whitelist_sender{lc($_)}=1 } (qw(  
blabla@mail.com  
blabla@mail.net  
blabla@mail.tn  
));

méthode 3

@whitelist_sender_maps = ( new_RE(
qr'.*@akadia.com$'i,
qr'.*@swisscom\.com$'i,
qr'.*@sicap\.com$'i,
qr'.*@glue\.ch$'i,
** **qr'.*@\.*\.admin\.ch$'i
));