Re: [Dovecot] Is it possible to change service name of managesieve service?

2009-12-14 Thread Zhang Huangbin

On Dec 12, 2009, at 9:57 AM, Timo Sirainen wrote:

 On Dec 11, 2009, at 8:26 PM, Zhang Huangbin wrote:
 
 In dovecot-1.2, managesieve is identified as 'sieve' service while use 
 '%s'[1] in dovecot. Is it possible to change it? Because we store it in 
 SQL/LDAP as 'managesieve' service name, we don't want to change this.
 
 No. Also sieve is the official name for it, so it's not going to be 
 changed. http://www.iana.org/assignments/gssapi-service-names

OK.

 With SQL you could of course use some replace function in the SQL query. With 
 LDAP .. is it possible to do *%s?

With LDAP, i simiplily add two more values:


enabledService: sieve
enabledService: sievesecured


-- 
Best Regards.

Zhang Huangbin

- Open Source Mail Server Solution for Red Hat(R) Enterprise Linux,
  CentOS, Debian, Ubuntu: http://www.iredmail.org/



Re: [Dovecot] Is it possible to change service name of managesieve service?

2009-12-14 Thread Timo Sirainen
On Dec 14, 2009, at 3:08 AM, Zhang Huangbin wrote:

 With SQL you could of course use some replace function in the SQL query. 
 With LDAP .. is it possible to do *%s?
 
 With LDAP, i simiplily add two more values:
 
 
 enabledService: sieve
 enabledService: sievesecured
 

Is the sievesecured intentional? %s expands only to sieve, but %s%c could also 
expands to sievesecured.



Re: [Dovecot] 4 crashes, dovecot 1.2.8, with backtrace

2009-12-14 Thread Timo Sirainen
 #6  0x0808a8b7 in maildir_uidlist_records_drop_expunges (uidlist=0x9e7ec18)
at maildir-uidlist.c:1242


This is fixed by these commits:

http://hg.dovecot.org/dovecot-1.2/rev/e47eb506eebd
http://hg.dovecot.org/dovecot-1.2/rev/c9cc50405ca4
http://hg.dovecot.org/dovecot-1.2/rev/24e48c1d7f79

I guess I should release v1.2.9.



Re: [Dovecot] 4 crashes, dovecot 1.2.8, with backtrace

2009-12-14 Thread Ralf Hildebrandt
* Timo Sirainen t...@iki.fi:
  #6  0x0808a8b7 in maildir_uidlist_records_drop_expunges (uidlist=0x9e7ec18)
 at maildir-uidlist.c:1242
 
 
 This is fixed by these commits:
 
 http://hg.dovecot.org/dovecot-1.2/rev/e47eb506eebd
 http://hg.dovecot.org/dovecot-1.2/rev/c9cc50405ca4
 http://hg.dovecot.org/dovecot-1.2/rev/24e48c1d7f79
 
 I guess I should release v1.2.9.

Yep :)

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | http://www.charite.de



[Dovecot] Doubts about namespace thunderbird.

2009-12-14 Thread Beto Moreno
 Hi people.

 I ask this because I'm confuse about the namespace stuff.

 I setup a server with Centos 5.4(updated)+dovecot 1.0.7+postfix 2.3.3. We
use thunderbird 2.0.x as our default email client.

 I want to use courier-imap inbox layout:

 Inbox--
sent
junk
trash
draft

  The inbox as father of the tree, other post say something about a
namespace like this:

separator = .
prefix = Inbox.
inbox = yes

  If I make this, thunderbird go crazy and tell me each time I try to access
a user mail that :server respond--unknown namespace, with this my layout
is:

Inbox
   Trash

 But if I try to access Trash, is went he send me that error and none of my
users could access those folders. What is the problem with this?

 Now if I comment the namespace, my folders goes below the father(Inbox) u
could not see the different.

Last thing, how can I setup a global layout where each user the first time
they log-in thunderbird could make: Trash, Draft, Sent?

 Thanks!!!


Re: [Dovecot] Doubts about namespace thunderbird.

2009-12-14 Thread Timo Sirainen
On Dec 14, 2009, at 3:42 AM, Beto Moreno wrote:

  The inbox as father of the tree, other post say something about a
 namespace like this:
 
 separator = .
 prefix = Inbox.
 inbox = yes
 
  If I make this, thunderbird go crazy and tell me each time I try to access
 a user mail that :server respond--unknown namespace, with this my layout
 is:

Try:

prefix = INBOX.

not Inbox. Although I think I made it work case-insensitively but I don't think 
I've actually tried it..



Re: [Dovecot] expire-tool and userdb returned mail location

2009-12-14 Thread Tapio Sokura

Timo Sirainen wrote:

On Sat, 2009-12-12 at 13:46 +0200, Tapio Sokura wrote:
I'm having problems with expire-tool in Dovecot 1.2.6 not finding the 
mailboxes. I had



Here's a simple way that should work:

mail_location = mbox:~/mails:INDEX=~/indexes

and then you can also drop the mail field from userdb.


I did that and now expire-tool is finding the mailboxes and indexes, but 
not removing any messages. It updates the timestamps in the expires 
database table 10 days to the future for folders that have 10 day 
expiration time. It also seems to cause the addition of a save date 
(with the timestamp of expire-tool execution) to the first message in a 
folder it looks at.


I did some more digging around with idxview and talking imap to the 
server. It looks like save dates aren't stored when mail is delivered 
(via dovecot LDA) or copied to a folder via imap. I got date.save fields 
to appear into the cache files when I fetched x-savedate via imap as 
shown on the Plugins/Expire page in the wiki. Those save dates were set 
to the time the imap fetch was performed, not to the time when the 
messages were delivered or copied to the folder.


Is this the way it should be working? I've had expire listed in 
dovecot's mail_plugins for pop3, imap and lda protocol sections for 
several weeks now.


  Tapio


[Dovecot] Plugin for deliver

2009-12-14 Thread Giovanni Mancuso
Hi,

i need to wirte a plugin for deliver program.

Is there a guide or a page in wiki that explain how can i do it?

Thanks


[Dovecot] vpopmail/mysql/quota

2009-12-14 Thread Marty Diesburg
Hi All,

I'm new to the list and have a quota question.  I am building a new server
with dovecot/qmail/vpopmail/mysql and
emails are sending and recieving fine when the quota is set to NOQUOTA, but
when the quota is changed qmail
doesn't deliver any messages.  I have read the docs and still need some help
understanding the process for dovecot
quotas relating to the vpopmail mysql database they are stored in.  Thanks
for your help.

Marty

# 1.2.8: /usr/local/etc/dovecot.conf
# OS: Linux 2.6.18-164.6.1.el5 i686 CentOS release 5.4 (Final)
protocols: imap pop3
ssl: no
disable_plaintext_auth: no
login_dir: /usr/local/var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
first_valid_uid: 508
last_valid_uid: 508
first_valid_gid: 503
last_valid_gid: 503
mail_uid: 508
mail_gid: 503
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
lda:
  postmaster_address: postmas...@teknickel.net
auth default:
  default_realm: teknickel.net
  verbose: yes
  debug: yes
  debug_passwords: yes
  passdb:
driver: sql
args: /home/vpopmail/dovecotsql.conf
  passdb:
driver: vpopmail
args: webmail=127.0.0.1
  userdb:
driver: sql
args: /home/vpopmail/dovecotsql.conf
  userdb:
driver: vpopmaildriver = mysql
#
connect = host=/var/lib/mysql/mysql.sock user=vpopuser password=
dbname=vpopmail
#
default_pass_scheme = PLAIN
# NOTE: '\' line splitting works only with v1.1+


password_query = SELECT pw_clear_passwd AS password, CONCAT(pw_name, '@',
pw_domain) AS user FROM vpopmail WHERE pw_name = '%n' AND pw_domain = '%d'

user_query = SELECT CONCAT(pw_name, '@', pw_domain) AS user, pw_dir as home,
508 AS uid, 503 AS gid, concat('maildir:backend=%q', pw_shell) AS quota_rule
FROM vpopmail WHERE pw_name = '%n' AND pw_domain = '%d'
args: quota_template=quota_rule=*:backend=%q
plugin:
  quota: maildir


dovecotsql.conf


Re: [Dovecot] Doubts about namespace thunderbird.

2009-12-14 Thread Tobias
Have you tried the latest Thunderbird Version (Thunderbird 3)? I have been
told that IMAP Support should be much better than in older versions
On Mon, 14 Dec 2009 00:42:02 -0800, Beto Moreno pam...@gmail.com wrote:
 Hi people.
 
  I ask this because I'm confuse about the namespace stuff.
 
  I setup a server with Centos 5.4(updated)+dovecot 1.0.7+postfix 2.3.3.
We
 use thunderbird 2.0.x as our default email client.
 
  I want to use courier-imap inbox layout:
 
  Inbox--
 sent
 junk
 trash
 draft
 
   The inbox as father of the tree, other post say something about a
 namespace like this:
 
 separator = .
 prefix = Inbox.
 inbox = yes
 
   If I make this, thunderbird go crazy and tell me each time I try to
   access
 a user mail that :server respond--unknown namespace, with this my layout
 is:
 
 Inbox
Trash
 
  But if I try to access Trash, is went he send me that error and none of
my
 users could access those folders. What is the problem with this?
 
  Now if I comment the namespace, my folders goes below the father(Inbox)
u
 could not see the different.
 
 Last thing, how can I setup a global layout where each user the first
time
 they log-in thunderbird could make: Trash, Draft, Sent?
 
  Thanks!!!


[Dovecot] Dovecot truncating Inboxes?

2009-12-14 Thread Harald Strack
Hi,

Environment:
1 Users (LDAP)
Solaris 10 / sparc
imap: dovecot-1.1.10 (pam-unix, no direct LDAP access)
pop: dovecot-1.0.14 on another server (pam-unix, no direct LDAP access)
mta: postfix (pam-unix, no direct LDAP access)
procmail (pam-unix, no direct LDAP access)

Filesystems:
Inboxes and IMAP-home are on two different SAM-FS volumes.

Problem description:
Inboxes of users are disappearing / are truncated. 

we are using dovecot-1.1.0 since two month as main IMAP server. It
replaced our long running but old version of UW-IMAP. Till the last week
we had no problems and it worked quite well and the whole mail system
worked in this configuration since several years. But since a week we
receive more and more complaints regarding truncated/deleted mailboxes.
First, we assumed user/client errors, but as such messages arrive more
frequently, we did a deep analysis of the issue. 

The only common component of our mail system (postfix (local), procmail,
pop, imap) that all concerned users have accessed, was dovecot-imap v.
1.1.10. 

We have no locking problems, we use fcntl(), dotlock for all mail
components. We tested this with a small perl script and locking works
fine (no delivery to a locked mailbox and so on...)

Finally, all indications point to a bug in dovecot. Google and searches
in this mailing list did not come up with any valuable results.

Are there any known bugs / configuration problems concerned to the
described problem?

I greatly appreciate any help!

Thx in advance

Harald Strack










Re: [Dovecot] Dovecot truncating Inboxes?

2009-12-14 Thread Jakob Curdes

Harald Strack wrote:

imap: dovecot-1.1.10 (pam-unix, no direct LDAP access)
pop: dovecot-1.0.14 on another server (pam-unix, no direct LDAP access)
we are using dovecot-1.1.0 since two month as main IMAP server. It
These are all very very old. These versions certainly have bugs, perhaps 
also one which you stumbled on.
I suggest you upgrade to 1.1.20 or, better, to 1.2.8 (some configuration 
changes may be needed).

If the problem remains afterwards, there might be people willing to help.

HTH,
Jakob Curdes



[Dovecot] Plugins

2009-12-14 Thread Alex Baule
Hello everyone again.

i try to do a plugin... and i see there is a lot of hook_* calls in
various places

There is some documentation about this hooks ?

like:

hook_mail_storage_created = is calling when the email is

and go on


Tks.


[Dovecot] deliver panics when handling mails bigger than some kByte

2009-12-14 Thread Leon Meßner
Hi,

i've just upgraded to dovecot-1.2.8 (from 1.2.4) and do now get the
following errors when deliver gets hands on mails with some attachments.

# tail -n 1 /var/log/messages
Dec 14 19:00:36 mail3 dovecot: deliver(user): Panic: file istream.c:
line 96 (i_stream_read): assertion failed: (stream-eof)

The MTA is postfix running inside a FreeBSD 7.2-STABLE jail. The homes
where deliver should put mails are mounted via NFS. As it works with 
small attachments perhaps this is related to the message size.

However i don't get the stale NFS file handle error any more which i did
under 1.2.4 (See thread that begins with:
Message-ID: 20091016122519.gc6...@emmi.physik-pool.tu-berlin.de )

Greetings,
Leon



pgpyKQITMcpd2.pgp
Description: PGP signature


Re: [Dovecot] Spam filtering

2009-12-14 Thread Marcus Rueckert
On 2009-12-14 23:16:14 +0300, Dmitri V. Ivanov wrote:
 On Sat, Dec 12, 2009 at 01:04:38AM -0500, Charles Marcus wrote:
 
  And yes, it is *very* effective, especially after your ham/spam
  collections mature for your site...
 
 Now offtopic question, but anyway. Is there some plugin for deliver to pipe 
 message througth 
 bogofilter/spamassassin/spambayes/... before running sieve?
 
 spam/ham collections (mostly last one) is different for different users at 
 real life and it's
 desirable that each delivery address to have an ability to use it's own 
 filter database.
 
 I've used maildrop for this, but there is some unnessessary things 
 (maintaining courier userdb).
 
 Let's assume I have bogofilter, INBOX is really $HOME/Maildir, bogofilter dir 
 is $HOME/bogofilter
 and I need to check existance of bogofilter data and if it exist pipe message 
 to bogofilter (with
 pointing to $HOME/bogofilter as bogofilter directory like -d 
 $HOME/bogofilter). Now with some
 options bogofilter will add spamicity header and I can match against it with 
 sieve.
 
 Is there a way do something like that with deliver?

why not do it on MTA level? those already have the hooks for it
normally. no need to reinvent the wheel imho.

darix

-- 
   openSUSE - SUSE Linux is my linux
   openSUSE is good for you
   www.opensuse.org


Re: [Dovecot] Plugins

2009-12-14 Thread Tony Rutherford
The documentation is very scarce from what I could tell.  What I ended up
doing was hunting through the example plugins...not optimal, but the best I
could do.  Besides the hook_* calls, the vfuncs defined in the
*-private.h files are a key as well as these are the functions you can
override.

Tony

-Original Message-
From: dovecot-bounces+tony=bluetie@dovecot.org
[mailto:dovecot-bounces+tony=bluetie@dovecot.org] On Behalf Of Alex
Baule
Sent: Monday, December 14, 2009 2:37 PM
To: dovecot@dovecot.org
Subject: [Dovecot] Plugins

Hello everyone again.

i try to do a plugin... and i see there is a lot of hook_* calls in
various places

There is some documentation about this hooks ?

like:

hook_mail_storage_created = is calling when the email is

and go on


Tks.




[Dovecot] Problem with dovecot-sieve and russian

2009-12-14 Thread Andrew A. Polyakov
Hello
I have a problem with dovecot-sieve. When I create a folder in russian,
the filter is not working properly. It creates a new folder with the same
name and delivers the letter there.
For example, I created a folder called BD8EQAQ4BDIENQRC-/, but the letter
got in -BD8EQAQ4BDIENQRC-/. In all cases, the difference in the sign -.
The folders in the english language is no problem.

# uname -mrs
FreeBSD 7.2-RELEASE-p3 i386

# pkg_info | grep dovecot
dovecot-1.2.8
dovecot-managesieve-0.11.9
dovecot-sieve-1.2+0.1.13

sieve rule:
# rule:[test]
elsif anyof (header :contains Subject test)
{
fileinto BD8EQAQ4BDIENQRC-;
}

-- 
С уважением, Андрей А. Поляков
ФГОУ ВПО ОмГАУ
http://www.omgau.ru
Тел.: +7 (3812) 65-00-09
644008, г. Омск, Институтская площадь, 2


Re: [Dovecot] Plugins

2009-12-14 Thread Timo Sirainen
On Mon, 2009-12-14 at 17:36 -0200, Alex Baule wrote:
 i try to do a plugin... and i see there is a lot of hook_* calls in
 various places
 
 There is some documentation about this hooks ?

Like Tony said, currently no and other plugins could serve as examples.
But I'm going to write documentation about this stuff to
http://wiki.dovecot.org/Design, and there already is something about
more lowlevel stuff. Things have changed in v2.0 though and it's
somewhat easier to use and the documentation will be only about v2.0, so
you might want to consider using v2.0 :)



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Problem with dovecot-sieve and russian

2009-12-14 Thread Timo Sirainen
On Tue, 2009-12-15 at 02:41 +0600, Andrew A. Polyakov wrote:
 dovecot-sieve-1.2+0.1.13
..
 fileinto BD8EQAQ4BDIENQRC-;

With dovecot-sieve you should use UTF-8 for mailbox names, not mUTF-7.
The previous behavior (and behavior by some other Sieve implementations)
is a bug.



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Plugin for deliver

2009-12-14 Thread Timo Sirainen
On Mon, 2009-12-14 at 14:32 +0100, Giovanni Mancuso wrote:
 i need to wirte a plugin for deliver program.
 
 Is there a guide or a page in wiki that explain how can i do it?

What kind of a plugin? http://wiki.dovecot.org/Design is all the
documentation that there currently is, but I'm going to be adding more
stuff this week. Probably not about deliver specifically though.



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Analyze the content of email after deliver

2009-12-14 Thread Timo Sirainen
On Sun, 2009-12-13 at 23:34 +0100, Giovanni Mancuso wrote:
 I need to run a script that analyze the content of the email, after the
 deliver has delivered the email.

Why does it have to be after? Anyway, instead of running deliver you
could run a script that just calls deliver and then analyzes the mail.
Something like:

#!/bin/sh

file=/tmp/mail.$$
cat  $file
deliver  $file
analyze-contents $file
rm -f $file

That's a pretty bad script, but something similar should work.



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Spam filtering

2009-12-14 Thread Dmitri V. Ivanov
On Mon, Dec 14, 2009 at 09:30:54PM +0100, Marcus Rueckert wrote:
  Is there a way do something like that with deliver?
 
 why not do it on MTA level? those already have the hooks for it
 normally. no need to reinvent the wheel imho.
 

Sometimes it's virtual users using dovecot userdb or something like. MTA isn't 
aware of it (all it uses for 
virtual user is mailbox presence). But each virtual user have own wordlist for 
bogofilter. deliver would set 
some environment variables like $HOME to desirable values for such virtual user 
and then we have good place 
to call filter pointing it to virtual user home directory.

WBR
Dmitri Ivanov


Re: [Dovecot] Problem with dovecot-sieve and russian

2009-12-14 Thread Andrew A. Polyakov
On Mon, 14 Dec 2009 15:50:40 -0500, Timo Sirainen t...@iki.fi wrote:
 On Tue, 2009-12-15 at 02:41 +0600, Andrew A. Polyakov wrote:
 dovecot-sieve-1.2+0.1.13
 ..
 fileinto BD8EQAQ4BDIENQRC-;
 
 With dovecot-sieve you should use UTF-8 for mailbox names, not mUTF-7.
 The previous behavior (and behavior by some other Sieve implementations)
 is a bug.

And where is it configured? In dovecot.conf? I use maildir.

-- 
С уважением, Андрей А. Поляков
ФГОУ ВПО ОмГАУ
http://www.omgau.ru
Тел.: +7 (3812) 65-00-09
644008, г. Омск, Институтская площадь, 2


Re: [Dovecot] Problem with dovecot-sieve and russian

2009-12-14 Thread Pascal Volk
On 12/14/2009 09:59 PM Andrew A. Polyakov wrote:
 On Mon, 14 Dec 2009 15:50:40 -0500, Timo Sirainen t...@iki.fi wrote:
 On Tue, 2009-12-15 at 02:41 +0600, Andrew A. Polyakov wrote:
 dovecot-sieve-1.2+0.1.13
 ..
 fileinto BD8EQAQ4BDIENQRC-;
 With dovecot-sieve you should use UTF-8 for mailbox names, not mUTF-7.
 The previous behavior (and behavior by some other Sieve implementations)
 is a bug.
 
 And where is it configured? In dovecot.conf? I use maildir.

Use UTF-8 for mailbox names in your sieve script rules. Dovecot will
still use mUTF-7 when accessing mailboxes/folders.


Regards,
Pascal
-- 
The trapper recommends today: cafefeed.0934...@localdomain.org


Re: [Dovecot] User friendly vacation service

2009-12-14 Thread Thomas Berezansky
I solved that problem (granted, with virtual domains) by using the  
dovecot managesieve support and Horde ingo. Any sieve management tool  
should able to do it, though, we were using Horde for webmail already  
so rigging ingo to do filters wasn't hard.


No experience outside of ingo with this stuff, but ingo itself  
integrates a vacation rule in quite nicely. There are a pile of other  
solutions for managing the scripts through the managesieve interface,  
so finding one that works for you shouldn't be too hard.


Thomas Berezansky
Merrimack Valley Library Consortium


Quoting Raymond Lillard rlill...@sonic.net:


Dear Dovecot list,

I maintain a few small sendmail/dovecot/procmail based
mail servers with system users only (no virtual domains
or virtual users) on OpenBSD.

I have been able to get a vacation system working with
both with the native vacation program from OpenBSD and
with procmail.  I've been looking into dovecot sieve,
but it doesn't appear to solve the bigger user complaint
which is, they want to be able to control the vacation
feature w/o my involvement.

What is wanted is a system where the users can send a
control mail message to themselves with the reply body
in the message or failing that perhaps a secure web
page to control the vacation function.

Mail administration is NOT a full time job for me.  I'm
looking for simple, low overhead solutions.

Any suggestions?

Thanks for your time.
Ray







Re: [Dovecot] Spam filtering

2009-12-14 Thread Patrick Nagel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Dmitri,

On 2009-12-15 04:54, Dmitri V. Ivanov wrote:
 On Mon, Dec 14, 2009 at 09:30:54PM +0100, Marcus Rueckert wrote:
 Is there a way do something like that with deliver?
 
 why not do it on MTA level? those already have the hooks for it 
 normally. no need to reinvent the wheel imho.
 
 
 Sometimes it's virtual users using dovecot userdb or something like.
 MTA isn't aware of it (all it uses for virtual user is mailbox
 presence). But each virtual user have own wordlist for bogofilter.
 deliver would set some environment variables like $HOME to desirable
 values for such virtual user and then we have good place to call
 filter pointing it to virtual user home directory.

Indeed, that would be more straight-forward than what's currently needed
(from an administrator's point of view, at least).

We have postfix configured to pipe to-be-delivered mails into a shell
script that takes ${recipient} (the recipient's e-mail address) as first
argument (here is the relevant part from master.cf):

spamcheck   unix-   n   n   -   -   pipe
flags=DRhu user=maildeliver:maildeliver
argv=/usr/local/libexec/spamcheck_and_deliver ${recipient}

The script then pipes the mail through `/usr/bin/spamc -u 'left part of
e-mail address'` (which lets spamassassin's spamd do the checking and
insertion of headers, and thanks to the -u parameter for each user a
separate bayes_journal, bayes_seen and bayes_toks file is being used).

That output then gets finally piped into `deliver -d 'e-mail address'`,
which files the mails into the inbox/spam/unsure mailbox, according to a
global sieve script that checks the headers previously inserted by spamd.

My private bogofilter setup is simpler, since it's just for me, but you
could do it similarly, by specifying the user's bogofilter wordlist
directory (-d ...) in the shell script (I think).

Patrick.

- -- 
STAR Software (Shanghai) Co., Ltd.http://www.star-group.net/
Phone:+86 (21) 3462 7688 x 826 Fax:   +86 (21) 3462 7779

PGP key E883A005 https://stshacom1.star-china.net/keys/patrick_nagel.asc
Fingerprint:   E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAksnKqUACgkQ7yMg/OiDoAXP3QCfekl4XpYu3Za2Zxt/JVbgVOMl
ZcQAn0jtmQLBqhltpuJl+jcktPx+bO6O
=ejbL
-END PGP SIGNATURE-