>Парни, помогите советом. Нужно сделать так, что бы Qmail не посылал письма
>из локалки на определенный домен или конкретный адрес.
На сайте Qmail'a найдешь ссылку на патч qregex-patch
Патчишь Qmail, перекомпилируешь.
Что он дает:
"qregex adds the ability to match address evelopes via Regular Expressions (REs)
in the qmail-smtpd process. It has the abiltiy to match both `mail from` and
`rcpt to` commands with no load at all the parent process.
qregex provides you with two new control files.
The first (which really isn't new) is "control/badmailfrom". This file used to
be used to statically match addresses and now will contain your REs for
matching from the 'mail from' command.
The second is "control/badmailto", it is the exact same as the first except it
matches against the 'rcpt to' command."
Вот этот самый "control/badmailto" тебе и нужен.