HylaFAX The world's most advanced open source fax server |
Den 22/03/2010 kl. 14.17 skrev Lukasz Szybalski:
I use qmail. Create a .qmail-default file at the user handling mail for the domain you are using (so you can fax using <faxnumber>@domain.tld). Put your script in the file for execution (man dot-qmail for details). Qmail sets a number environment variables (man qmail-command for details). I do some database lookup in my script - example: LOGIN=$(mysql -sN -u$MYUSR -p$MYPW $MYTBL -e "SELECT login FROM senders WHERE envelope = '$SENDER' LIMIT 1") /Ole |