Hello Charles,
thankyou for your answer, that will help me a lot.
CC> Boris <[EMAIL PROTECTED]> wrote:
>>
>>
>> * First, I need to know is there a similar way to stop spammers as in
>> sendmail with /etc/access.
CC> Many people on this list will not be familiar with the detailed workings of
CC> sendmail; in general, we run qmail because (among other reasons) we don't want
CC> to have to learn sendmail's byzantine configuration. Please explain how
CC> this works with sendmail; then we can tell you if there's a qmail equivalent.
Ok I will show you an example. I think its very important to
understand both MTAs to decide what´s really better in what situation
but this is another story.
Here is an example of the access file.
192.168.0 RELAY
127.0.0.1 RELAY
From:[EMAIL PROTECTED] 550 Spam denied
From:[EMAIL PROTECTED] 550 SPAM F*CK YOU SH*T SPAMMER
From:[EMAIL PROTECTED] 550 SPAMMER BUY YOURSELF
From:[EMAIL PROTECTED] 550 LOAN YOURSELF, SPAMMER
From:[EMAIL PROTECTED] 550 F*** YOU SPAMMER
oo.net 550 SPAAAAMMMEERRRR
It looks like as if this file is similar as the rpcthosts (?) file on
qmail, but its not the same. I relay incoming mails from my 192.168.0
class c network as well as localhost mails.
But if there is coming a mail from "from:..." the mail will be
rejected, and if there is a hostname only, the complete host is denied
to send us any mails.
This file has nothing to do with outgoing mails.
I use this file to setup a mini-light spamfilter and to setup general
relaying rules. Fetchmail delivers the mail to sendmail (at the moment
to qmail, hahah) so the relaying is allowed. I think its very easy to
setup and very easy to handle.
Is there a qmail thingy to do the same?
>> * Is there a way to forward all outgoing mails to a specific SMTP?
CC> Yes, smtproutes. It's trivial. `man qmail-remote` for details.
Aha, very interesting to know.
>> * Are there somewhere detailed instructions about implementing
>> RBL/ORBS?
CC> Yes, in many places, including djb's site and www.qmail.org.
Ok. Thanks.
>> * I have read some solution about SMTP AUTH and I need to know what
>> the people outside are using to stop spammers and to authenticate
>> users before they are allowed to send e-mails. What are the currently
>> most used solutions?
CC> There are SMTP-AUTH patches for qmail. Two other techniques widely employed
CC> include selective relaying by IP address, and SMTP-after-POP3/SMTP-after-IMAP.
CC> Charles
There is a perl module somewhere I have seen on the qmail page I think
I will try this first.
Thanks for you answers, they helped me a lot. The next step is to find
out how are virtual users working (users without system accounts).
After that I think I have completed this part.
Qmail is nice, but sendmail is not bad at all i was using sendmail a
long time without any problems.
Sometimes I think the qmail-people think that sendmail is an enemy to
qmail, but I can´t understand this.
--
Boris