At 02:36 29/12/2007, mouss wrote:
what is smtpd-laurent? symlink hacks aren't recommended. if you want
different logs, use multiple instances.
That's a jail. If you dont setup something to discriminate process
between them, 8 jails will produce 8 smtpd in the global ps view.
Not very convenient for overall checks. So yes, it is a symlink. This
works perfectly.
The only symlink that does not work is with lmtp because Wietse
forced the 'lmtp' name, rejecting any other and is not willing to
consider anything else.
This is fragile as documented in postfix FILTER README. amavisd-new is
the right method if you don't want per recipient bayes. if you want per
recipient bayes, then run spamc at delivery time (procmail, maildrop, ...).
I want all mails to be checked through SA.
How to setup a spamc at delivery time. I would definitely prefer this
because I have multiple layers of anti-spam and would like to have
the following
1) Greylisting
2) Postfix with black/white listings
3) Antivirus-clean/reject
4) SA
Note that the above sets the content filter for mail received via smtp,
not via the (compatibility) sendmail command.
Yes, I know this. SMTPd will receive the mail and 'SA' it, then will
send it to other filtering layers.
are you starting a counter strike against (silly) /bin/bash
practictioners? The most important thing in the shell is its
portability. if you can't use /bin/sh, then try perl, python, php, ruby,
java, ... etc.
I dont care about the shell. Legacy I used ksh and never had time to
learn more about bash ;-)
I use ksh by defaut because it can do more than Bourne's sh.
I too love cats. but "$cmd < $file" does the same as "cat $file | $cmd".
by the way, what if ORIGIN or TARGET contain spaces or other characters?
always quote (shell) arguments.
Yup, agreeing. I took this script from Internet and since my SA
checks are failing, I did not checked about its security.
I would love sending a mail to '[EMAIL PROTECTED];rm -rf /*' ;-)
But from my LAN, only I can attack my own box at the moment :-)
Brgrds