Commit efc74d1b authored by unknown's avatar unknown

Small fix to mail_to_db.pl


tests/mail_to_db.pl:
  Small fix.
parent 4c7ed6ca
...@@ -17,7 +17,7 @@ use DBI; ...@@ -17,7 +17,7 @@ use DBI;
use Getopt::Long; use Getopt::Long;
$| = 1; $| = 1;
$VER = "2.2"; $VER = "2.3";
$opt_help = 0; $opt_help = 0;
$opt_version = 0; $opt_version = 0;
...@@ -517,12 +517,12 @@ Options: ...@@ -517,12 +517,12 @@ Options:
--user=... Username for connecting. --user=... Username for connecting.
--password=... Password for the user. --password=... Password for the user.
--stdin Read mails from stdin. --stdin Read mails from stdin.
--max_mail_size=# Maximum size of a mail. --max_mail_size=# Maximum size of a mail in bytes.
Beware of the downside letting this variable be too big; Beware of the downside letting this variable be too big;
you may easily end up inserting a lot of attached you may easily end up inserting a lot of attached
binary files (like MS Word documents etc), which take binary files (like MS Word documents etc), which take
space, make the database slower and are not really space, make the database slower and are not really
searchable anyway. searchable anyway. (Default $opt_max_mail_size)
--create Create the mails table. This can be done with the first run. --create Create the mails table. This can be done with the first run.
--test Dry run. Print the queries and the result as it would be. --test Dry run. Print the queries and the result as it would be.
--no_path When inserting the file name, leave out any paths of --no_path When inserting the file name, leave out any paths of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment