RE: badmailfrom didn't work

2001-07-26 Thread Williams, Paul (OTS-EDH)

I have added the following to my .qmail:

|/usr/bin/perl -e "while (<>) {chomp; if
(/^From:.*wilson\@souzaramos\.com\.br.*/) { return 99; } if ( length == 0 )
{ return 0; } } return 0;"

Essentially, this drops the email on the floor if it's from this wilson
dude, otherwise proceed.

(I had to drop it on the floor lest it bounce back to [EMAIL PROTECTED]
and remove me!)

It should work, but if a second pair of eyes sees something wrong let me
know.

-Original Message-
From: Michael Boyiazis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 10:38 AM
To: [EMAIL PROTECTED]
Subject: RE: badmailfrom didn't work


HUP'ing is NOT necessary for badmailfrom.
It gets used with each new call to qmail-smtpd.

-- 
Michael Boyiazis
[EMAIL PROTECTED]
Mail Architect, NetZero, Inc.

> -Original Message-
> From: zyrtaf [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 26, 2001 7:56 AM
> To: Gary MacKay
> Cc: [EMAIL PROTECTED]
> Subject: Re: badmailfrom didn't work
> 
> 
> did you killall -HUP qmail-send?
> 
> - Original Message - 
> From: "Gary MacKay" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 26, 2001 2:35 PM
> Subject: badmailfrom didn't work
> 
> 
> > OK. I added this '[EMAIL PROTECTED]' dude to my 
> badmailfrom and
> > still got this last message. What gives? If I telnet to the 
> box and try
> > to send in a message as him, it gets kicked out, why 
> doesn't the real
> > message get kicked out?
> > 
> > - Gary
> > 
> 



Notice:  This e-mail and any attachments are intended only for the
individual or company to which it is addressed and may contain information
which is privileged, confidential and prohibited from disclosure or
unauthorized use under applicable law.  If you are not the intended
recipient of this e-mail, you are hereby notified that any use,
dissemination, or copying of this e-mail or the information contained in
this e-mail is strictly prohibited by the sender.  If you have received this
transmission in error, please return the material received to the sender and
delete all copies from your system.  Thank you.



RE: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Williams, Paul (OTS-EDH)

Check their .qmail files (and the system qmail-local default) and see if you
mistakenly put "./Maildir" instead of "./Maildir/".

-Original Message-
From: Stephen Froehlich [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 8:01 AM
To: [EMAIL PROTECTED]
Subject: Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/


The other thing that makes these users unique is that they have an "_" in
their usernames.  Is this a no_no?

- Original Message -
From: "Stephen Froehlich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 9:41 AM
Subject: deferral: /bin/sh:_./Maildir/:_is_a_directory/


> I have a couple of users who aren't receiving mail with the following
error
> message
>
> delivery XX: deferral: /bin/sh:_./Maildir/:_is_a_directory/
>
> These users are somewhat unique in that they were created before I had a
> maildir in /etc/skel, however, I su'ed to them and ran maildirmake to give
> them maildirs.
>
> Their home dirs (/home/uname) have permissions of 700 (owned by the user)
> The Maildir is also 700, and owned by the user
>
> Any idears?
>
> Thanx,
> Stephen
>



Notice:  This e-mail and any attachments are intended only for the
individual or company to which it is addressed and may contain information
which is privileged, confidential and prohibited from disclosure or
unauthorized use under applicable law.  If you are not the intended
recipient of this e-mail, you are hereby notified that any use,
dissemination, or copying of this e-mail or the information contained in
this e-mail is strictly prohibited by the sender.  If you have received this
transmission in error, please return the material received to the sender and
delete all copies from your system.  Thank you.



qmail-local's environment settings?

2001-06-21 Thread Williams, Paul (OTS-EDH)

Does anyone have a list of the environment variables qmail-local sets up and
what they map to?


Paul Williams

Young Programmer: "I can't get my object to change type!"
Experienced Programmer: "You cannot make the object change; 
the object must want to change."




Notice:  This e-mail and any attachments are intended only for the
individual or company to which it is addressed and may contain information
which is privileged, confidential and prohibited from disclosure or
unauthorized use under applicable law.  If you are not the intended
recipient of this e-mail, you are hereby notified that any use,
dissemination, or copying of this e-mail or the information contained in
this e-mail is strictly prohibited by the sender.  If you have received this
transmission in error, please return the material received to the sender and
delete all copies from your system.  Thank you.