13 lines
284 B
Bash
Executable File
13 lines
284 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if ! echo $RECIPIENT | grep -q '^support-[a-z-]*@.*$'; then
|
|
exit 1
|
|
fi
|
|
|
|
export REDMINE_KEY=`cat /etc/redmine-key`
|
|
export REDMINE_URL='https://dev.entrouvert.org'
|
|
|
|
export PROJECT=`echo $RECIPIENT | sed 's/support-\([a-z-]*\)@.*/\1/'`
|
|
|
|
python /usr/bin/mail2redmine.py
|