| |||||||||||||||||||||||||||||||
|
> * LinuxCorporate [ Postfix ] <lista.postfix>: > >> Hi Everybody, >> >> It's possible to set a diferent message_siz_limit to some users, for I have >> this set in my main.cf. >> > > Yes, but you will break the RFC. In the beginning of an ESMTP session the > server announces the maximal message size it will accept. If you alter (read: > lower) that limit later, client will decide to send and may be rejected later. > > To enforce different message size limits use the policyd policy service. > > the conclusion is ok. but the way it is stated, the argument seems to contradict the conclusion ;-p there is no rfc problem in refusing a message once it was read whatever is the advertized size in EHLO. That said, this is not "nice", and in the case of multiple recipients, per recipient limits are problematic (If I receive a mail, i assume that people in the To/Cc headers also received it). today, the design choice of the RFC is debatable (or outdated?). it would have been better to let the client announce the size and the server would say if it's ok or not (why would I tell a foreign client what my limits are?). The size could be given with the MAIL FROM, which allows per sender limits (and doesn't add yet another esmtp command). also, to prevent lies, a server could reject mail if the actual size is much more than the advertized one. but heh, it's too late...
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com