Checking email content and block it at smtpd level?

2001-07-27 Thread S P Arif Sahari Wibowo

Hi!

Is there any tool / patch that allow me to check contents of email or
other header other than the envelope sender on smtpd level, and reject the
delivery on certain condition? Something like regexp condition - or PCRE
is even better - to check the content while delivered to qmail-smptd?

I know there are filters work using QMAILQUEUE patch, but this work on the
email after it is accepted, means it already take resources, and if cannot
be bounced, may ends up in postmaster mailbox (is it?).

I am thinking something like Wildmat patch, or fake smtpd server like
rblsmtpd, extended to check the whole email against a regexp / PCRE terms.

Any idea? Thanks.

-- 
   S P Arif Sahari Wibowo
  _  _  _  _
 /  // // /  [EMAIL PROTECTED]
_/ /  // _/   http://www.arifsaha.com/




qmail and setuid for perl scripts

1999-03-03 Thread S P Arif Sahari Wibowo

Hi!

I have a perl script which is using setuid, which should work since perl 5
support setuid.

However, if the script invoked from an qmail alias, the setuid didn't
work. That is, if an .qmail-.. file from alias directory invokes a perl
script owned by a particular user with setuid bit set, the script still
run under the alias uid ($> will return the alias uid).

Is this a bug, a feature, or I just lack something here?

BTW, here is the script I used to tested it:

#!/usr/bin/perl -wT

print "Running as UID $> GID $) \n";

exit 100


Thank you.

              S. P. Arif Sahari Wibowo
  _  _  _  _  [EMAIL PROTECTED] 
 /  // // /  http://www.uiuc.edu/ph/www/arifsaha
_/ /  // _/



Change the default inbox

1999-05-03 Thread S P Arif Sahari Wibowo

Hi!

Is it possible to have the default inbox not $HOME/Mailbox, but different
file, say $HOME/.INBOX?

This is for default (system-wide) setting, not user per user setting
(which should be done with .qmail file).

Thanks.

   S P Arif Sahari Wibowo
  _  _  _  _ 
 /  // // / [EMAIL PROTECTED]
_/ /  // _/  http://spas.8m.com/



Re: RH 6.0

1999-05-05 Thread S P Arif Sahari Wibowo

On Wed, 5 May 1999, Mate Wierdl wrote:

>I just upgraded my Linux system to  RH 6.0, and not only it installs
>sendmail but it starts automatically at boot.

Hmmm, I thought you can choose whether to install sendmail or not. At
least that was the case in previous version.

Unless you used all the installer defaults.


Arif