From: Wietse Venema (no email)
Date: Wed Jan 02 2002 - 13:00:25 EST
Oles' Hnatkevych:
> Hello,
>
> My mail is intended mainly for postfix developers/hackers.
>
> There's a simple way to make separate message size limit
> depending on the sender/recipient address. I've made some
> changes to the smtpd daemon sources, and it works for me.
Unfortunately, it works only under certain conditions. There are
some minor flaws (sender address spoofing, multi-recipient mail).
But the main problem is architectural:
1) The sender is not required to announce a message size in the
SMTP MAIL FROM command.
2) The size that is announced in the SMTP MAIL FROM command is not
necessarily the true message size.
3) The message size is not known at the time the RCPT TO reply
is being sent.
What you want is not possible in the RCPT TO reply. And I am under
no obligation to invent a solution on the spot right here.
Wietse
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users
|
|
|