tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Tru64 V5.1, mail plus filter problem
@ 2001-08-16 10:49 Cathy Chandra
  0 siblings, 0 replies; only message in thread
From: Cathy Chandra @ 2001-08-16 10:49 UTC (permalink / raw)
  To: tru64-unix-managers

Hi,

I have posted this problem in comp.mail.sendmail and not had any replies.
I really need to get this sorted, and it might be a binmail problem.

I have sendmail V8.9.3 + Tru64 V5.1 + filter V2.2.2 and a problem with
local (unqualified) users. Mail sent from one local user to another local
user  where the "To:" user has a .forward file is notproperly delivered.
The problem does not arise when mail is incoming to the machine from
anywhere else.

Is it a problem with the local mail delivery software (/bin/mail)

Briefly (?) :-

local user user1 has a .forward file which contains
"|/usr/local/bin/filter -v"
mail sent by user2 to user1 (no hostname qualification) is NOT
delivered to user1, but user2 receives that e-mail message apparently
sent by user1 to user2 (IE receives the same message apparently from
the person being sent to)

From the mail logs (true user names and machine names have been
altered to protect the innocent) ...

(Mail sent from user2 at machine1 to user1 at machine2 is correctly
delivered)
Aug 13 12:49:05 machine2 sendmail[33041]: MAA33041:
from=<user2@machine1.our.domain>, size=524, class=0, pri=30524,
nrcpts=1, msgid=<200108130049.MAA249573@machine1.our.domain>,
proto=ESMTP, relay=machine1.our.domain [xxx.xxx.xxx.xxx]
Aug 13 12:49:05 atlas sendmail[524209]: MAA33041:
to="|/usr/local/bin/filter -v", ctladdr=<user1@machine2.our.domain>
((correct)uid/gid), delay=00:00:01, xdelay=00:00:00, mailer=prog,
stat=Sent

Logs from machine2 when the .forward file was in place, and mail was
not correctly delivered.
Aug 13 12:46:07 machine2 sendmail[33096]: MAA33096: from=user2,
size=3, class=0, pri=30003, nrcpts=1,
msgid=<200108130045.MAA33096@machine2.our.domain>,
relay=user2@localhost
Aug 13 12:46:08 machine2 sendmail[33096]: MAA33096:
to="|/usr/local/bin/filter -v", ctladdr=user1 ((correct)uid/gid),
delay=00:00:16, xdelay=00:00:01, mailer=prog, stat=Sent


Logs from machine2 when the .forward file is removed, and mail is
correctly delivered locally.
Aug 13 13:06:24 machine2 sendmail[28574]: NAA28574: from=user2,
size=3, class=0, pri=30003, nrcpts=1,
msgid=<200108130106.NAA28574@machine2.our.domain>,
relay=user2@localhost
Aug 13 13:06:24 machine2 sendmail[28574]: NAA28574: to=user1,
ctladdr=user2 ((correct)uid/gid), delay=00:00:05, xdelay=00:00:00,
mailer=local, stat=Sent


I was interested to note the difference in the value of ctladdr in the
logs for the correctly, and incorrectly delivered messages.
I have no idea whether this is significant.

Incidentally, I note the docs say that the use of bin(mail) is
deprecated, yet Tru64's sendmail.cf has /Mlocal, P=/bin/mail

I hope someone can help. I really need to get filtering working -
I am getting so many complaints about spam - not to mention being
sick of it myself!

Regards,
Cathy



Cathy Chandra,
Unix Systems Administrator & DBA
email: catspaw@mysun.com(sorry, but I do Suns too)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-16 10:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-16 10:49 Tru64 V5.1, mail plus filter problem Cathy Chandra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox