Operating System - HP-UX
1752721 Members
7219 Online
108789 Solutions
New Discussion юеВ

How to block mail from lp user to other user

 
Gouranga Maiti
Advisor

How to block mail from lp user to other user

One user depadm getting lot of mails everyday from lp@localhost.
In crontab no such job, /etc/aliases no entry for depadm. We want to stop that mail.
Could anyone please help to do the same.

The message is attached here..

From root@warusdb006.diageo.net Fri Mar 24 10:04:00 GMT 2006
Received: (from lp@localhost)
by warusdb006.diageo.net (8.9.3 (PHNE_28810)/8.9.3) id KAA19919
for depadm; Fri, 24 Mar 2006 10:04:00 GMT
Date: Fri, 24 Mar 2006 10:04:00 GMT
From: root@warusdb006.diageo.net
Message-Id: <200603241004.KAA19919@warusdb006.diageo.net>
X-Authentication-Warning: warusdb6.diageo.net: lp set sender to root using -f
To: depadm@warusdb006.diageo.net

error code 2 in request 9029-8276 on printer 9029





8 REPLIES 8
James R. Ferguson
Acclaimed Contributor

Re: How to block mail from lp user to other user

Hi:

It would seem that this is a configuration issue with Jetadmin. See Technical Knowledge Base document #KBRC00005149.

Regards!

...JRF...
rariasn
Honored Contributor

Re: How to block mail from lp user to other user

Hi Gouranga,

The file to view is:

/etc/mail/aliases

verify this file.

--
ran
Peter Godron
Honored Contributor

Re: How to block mail from lp user to other user

Hi,
is there anything hardcoded into the entry for the printer in /etc/lp/interface ?
You could add an alias in the /etc/aliases sending lp to /dev/null.
I assume you have checked that nothing is running with lp -m option.
rariasn
Honored Contributor

Re: How to block mail from lp user to other user

strings /etc/mail/aliases.db|grep depadm

--
ran
Steven E. Protter
Exalted Contributor

Re: How to block mail from lp user to other user

Somone wrote a script or jetadmin has been configured to send the mail.

Blocking the mail is a workaround. Figuring out where it came from and making it stop is better.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geoff Wild
Honored Contributor

Re: How to block mail from lp user to other user

Every job that is cancelled wil send an email to the owner - in your case depadm.

HP is working on a patch to lp to disable this (I know as I will be testing it as I requested it).

If you don't need any email for depadm, just zero out their mail file every now and then...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Gouranga Maiti
Advisor

Re: How to block mail from lp user to other user

Please find attached file for more observation:--
Gouranga Maiti
Advisor

Re: How to block mail from lp user to other user

Thanks Geoff Wild,
Your answare helps me to restrain user.