List Info

Thread: exception question




exception question
user name
2006-11-30 01:06:19
In my /etc/maildroprc file I have a section like this:

exception {
    # see if user has any folder delivery rules
    include "$MYDIR/folders.txt"
}

Does this protect only against failure loading the include
file or does it also 
protect against bad syntax and so forth in the file that is
included?

In other words, is it pointless to use exception statements
in the file that is 
included above (folders.txt)?

The man page says this:

The exception statement traps errors that would normally
cause maildrop to terminate. 
If a fatal error is encountered anywhere within the block of
statements enclosed by 
the exception clause, execution will resume immediately
following the exception clause.


Thanks,
Mark


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-maildrop mailing list
Courier-maildroplists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courie
r-maildrop
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )