CUPS notifier.

Jamal Mubarak jamal at texaslung.com
Mon Dec 21 13:58:19 PST 2009


I am having problems getting confirmation emails for print jobs.  I have 5 Macs running 10.6.2 with almost identical installations.  Postfix/sendmail/mail work fine from the command line in all 5 Macs.  However, 3 of them give this error in /var/log/mail.log:

Dec 20 01:59:03 MacBookPro postfix/sendmail[3836]: fatal: execvp /usr/sbin/postdrop: Operation not permitted
Dec 20 01:59:04 MacBookPro postfix/sendmail[3835]: warning: command "/usr/sbin/postdrop -r" exited with status 1
Dec 20 01:59:04 MacBookPro postfix/sendmail[3835]: fatal: _lp(26): unable to execute /usr/sbin/postdrop -r: Unknown error: 0

The other two and another Mac running 10.5.11 work just fine.  All six of them report the following error in /var/log/cups/error_log:

E [20/Dec/2009:01:59:03 -0600] [Notifier] Unable to open "/private/etc/cups/mailto.conf" - No such file or directory
E [20/Dec/2009:01:59:04 -0600] [Notifier] Sendmail command returned status 2!

I created a mailto.conf file with the following settings:

>From printserver at domain.com

Sendmail /usr/sbin/sendmail

Subject [CUPS]

After this I just get "Sendmail command returned status 2!" in /var/log/cups/error_log.

Can someone tell me what is wrong?


I have tried to use the mailto command from the command line but I can't seem to be able to make it work.  When I type 'mailto mailto:xxx at xxx.com "test"' I get:

DEBUG: argc=3
DEBUG: argv[0]="mailto"
DEBUG: argv[1]="mailto:xxx at xxx.com"
DEBUG: argv[2]="test"
WARNING: Bad notify-user-data value (3 bytes) ignored!

DEBUG: state=-1
DEBUG: ippReadFile() returned IPP_ERROR!

I have to hit a return where the empty line is, for it to give the rest of the output.  I get similar errors when I specify a file rather than a text string from the command line.  Can someone tell me how to use the mailto command?

Thanks.




More information about the cups mailing list