Notifier testing

angelb angelb at bugarin.us
Thu Dec 7 11:47:52 PST 2006


I'm running RHEL ES4.

No errors from the maillog either. In fact, the last error entry
was made on Oct 29th when I was configuring sendmail but it's
been resolved since then:

[root at stlam506 log]# tail -2 /var/log/maillog
Oct 29 04:02:04 stlam506 sendmail[19587]: k9TA24rk019587: from=root, size=1521,
class=0, nrcpts=1, msgid=<200610291002.k9TA24rk019587 at localhost.localdomain>, re
lay=root at localhost
Oct 29 04:02:04 stlam506 sendmail[19587]: k9TA24rk019587: to=root, ctladdr=root
(0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31521, relay=[127.0.0.
1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]


The following shows clearly that SMTP is working correctly even using
the cups account:

[cups at stlam506 ~]$ /usr/sbin/sendmail -vt
to: myname at mycompany.com
from: cups
subject: email test
hello world
. 
myname at mycompany.com... Connecting to [127.0.0.1] via relay...
220 stlam506.mycompany.com ESMTP Sendmail 8.13.1/8.13.1; Thu, 7 Dec 20
06 13:32:49 -0600
>>> EHLO stlam506.mycompany.com
250-stlam506.mycompany.com Hello localhost.localdomain [127.0.0.1], pl
eased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> MAIL From:<cups at stlam506.mycompany.com> SIZE=80 AUTH=cups at stlam506
.mycompany.com
250 2.1.0 <cups at stlam506.mycompany.com>... Sender ok
>>> RCPT To:<myname at mycompany.com>
>>> DATA
250 2.1.5 <myname at mycompany.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 kB7JWn40011110 Message accepted for delivery
myname at mycompany.com... Sent (kB7JWn40011110 Message accepted for de
livery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 stlam506.mycompany.com closing connection


Here's the email received from Outlook:

Microsoft Mail Internet Headers Version 2.0
Received: from STLEXGUSR32.abc.mycompany.com ([10.208.4.49]) by STLEXGUSR50.abc.
mycompany.com with Microsoft SMTPSVC(6.0.3790.1830);
    Thu, 7 Dec 2006 13:32:50 -0600
Received: from STLEXGAPP78.abc.mycompany.com ([10.208.4.148]) by STLEXGUSR32.abc
.mycompany.com with Microsoft SMTPSVC(5.0.2195.6747);
    Thu, 7 Dec 2006 13:32:49 -0600
Received: from stlpr396.mycompany.com ([10.32.23.51]) by STLEXGAPP78.abc.mycompa
ny.com with Microsoft SMTPSVC(5.0.2195.6713);
    Thu, 7 Dec 2006 13:32:49 -0600
Date: Thu, 7 Dec 2006 13:32:26 -0600
From: cups at stlam506.mycompany.com
Message-Id: <200612071932.kB7JWQLQ011101 at other>
to: myname at mycompany.com
subject: email test
Return-Path: cups at stlam506.mycompany.com
X-OriginalArrivalTime: 07 Dec 2006 19:32:49.0782 (UTC) FILETIME=[7B04D960:01C71A36]


Does my mailto and subscription looks and configured correctly?

Any other suggestion or ideas are welcome.

Thanks,
Angel

> angelb wrote:
> > Hello all.
> >
> > I'm trying to setup a notifier for job completions and I'm not having
> > much success with it. The following are my configs:
>  > ...
>
> What OS/distribution are you using?
>
> Do you see anything in the mail server logs (like refused/dropped
> messages from the CUPS system)?
>
> --
> ______________________________________________________________________
> Michael Sweet, Easy Software Products           mike at easysw dot com
> Internet Printing and Document Software          http://www.easysw.com





More information about the cups mailing list