Editing qconfig is normally quite OK, but anyway, here is smitty:
1) delete the faulty queue (maybe you must remove hanging jobs first!)
"smitty rmpq" -> <F4> to list -> <Enter> to select -> <Enter> to process!
2) Make a new remote queue to receive raw data
(Note: your local application must generate the correct data stream comprehensible by hpfax)
"smitty mkpq" -> (select "remote") -> (select "Standard processing") -> Enter required values (in bold):
Name of QUEUE to add [queue name on AIX] (rightfax-cypher2 in your example)
* HOSTNAME of remote server [hostname of hpfax server] (cypher2 in your example
* Name of QUEUE on remote server [queue name on cypher2] (HPFAX in your example)
Type of print spooler on remote server AIX Version 3 or 4 + (leave as is)
Backend TIME OUT period (minutes) [15] # (or more/less, as needed)
Send control file first? no + (leave as is)
To turn on debugging, specify output [] (leave empty)
file pathname
DESCRIPTION of printer on remote server [Your meaningful description]
Hit <Enter> to process.
wmp