Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] modem ACL per user
* Martin Vit <vit@xxxxxx> [051003 10:44]:
> how to extract job owner? i've looked into job.h and there is no
> user/uid structure.
> If i can modify dialstring based on job's owner (hylafax username) it
> would solve my problem.
man sendq...
and a bit of faxsend-wrapper could be roughly...
[...]
OWNER=$(grep '^owner:' $QFILE | cut -d : -f 2-)
case $OWNER in
[...]
esac
[...]
a.
--
Aidan Van Dyk aidan@xxxxxxxx
Senior Software Developer +1 215 438-4638 x8103
iFAX Solutions, Inc. http://www.ifax.com/
Attachment:
signature.asc
Description: Digital signature