I'm trying to setup my Linux machine to forward email to a printer.
While I found some posts describing what to do, I'm still having an issue locally with the sendmail.
I setup the local LPD service on the linux machine with a default queue named myQueue
I modified the aliases file of my sendmail with the following line:
printout@mydomain: "|/usr/bin/lpr myQueue"
and I rebuilt the aliases
when I send an email to printout@mydomain
I get :
Jun 24 19:36:27 myServer sendmail: m5P2aRuZ023416: to=|/usr/bin/lpr myQueue, ctladdr=<printout@mydomain> (8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=36493, dsn=5.0.0, stat=Service unavailable
Jun 24 19:36:27 myServer sendmail: m5P2aRuZ023416: m5P2aRuZ023417: DSN: Service unavailable
Can you help, I beleive I'm missing simple on that one