1 |
How to install this service. |
2 |
|
3 |
1. do a checkout of this project from cvs in some directory, |
4 |
e.g. /data/sap_import |
5 |
|
6 |
2. create e-mail alias which will be re-directed to script |
7 |
|
8 |
/etc/aliases: |
9 |
|
10 |
sigma-orders: "| /data/sap_import/mail2sap.pl " |
11 |
|
12 |
3. edit mail2sap.xml to modify configuration options as appropriate |
13 |
|
14 |
4. make mail2sap.pl setgid to some group that has write permission in |
15 |
directory which is defined as <msgdir> and <outdir> in mail2sap.xml |
16 |
|
17 |
If group id is 601, you can use following: |
18 |
|
19 |
# chgrp 601 mail2sap.pl |
20 |
# chmod 2755 mail2sap.pl |
21 |
|