Not sure if this is a solaris or qmail specific
question, any help appreciated nonetheless.
OS: Solaris 2.6, MTA: qmail 1.03
Two wkstns, "host1" and "host2"; the
host2 with local printer known as "lw" on both hosts.
A "user" on host1 submits a printjob
which is subsequently cancelled.
The lpsched daemon on host2 now trys
to send a message (appearing to come from
anonymous@domainname) informing them of this.
However the address it trys to use is
host1!user@domainname
and this results in a double bounce.
If however the job were submitted from host2
and then cancelled the message correctly
goes to user@domainname.
Any ideas how I get this mail addressed
to user@domain rather than host1!user@domain?
As far as I'm aware this didn't happen with sendmail.
Here's an example message to the postmaster:-
I tried to deliver ... but the bounce bounced!
<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
--- Below ...
Return-Path: <>
Received: (qmail 1280 invoked for bounce); 10 Jun 1999 15:12:35 +0100
Date: 10 Jun 1999 15:12:35 +0100
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice
<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
--- Below ...
Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 1602 invoked from network); 10 Jun 1999 15:12:35 +0100
Received: from host2.strath.ac.uk (130.160.242.76)
by mailhost.strath.ac.uk with QMQP; 10 Jun 1999 15:12:35 +0100
Date: 10 Jun 1999 15:12:35 +0100
Message-ID: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
Cc: recipient list not shown: ;
MBOX-Line: From lp Thu Jun 10 15:12 BST 1999
Subject: Status of lp request lw-619
Content-Type: text
Message Text ...