Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SMTP proxy : How to limit mail's size

Hi, 
I'm testing ASL 2.023 without DMZ.
The mail server, in the lan limits the size of the mails.
When an user sends a big mail via the proxy, to server, the server replies an error (something like this : 520 mail too big).
Then the proxy try to notify the postmaster with a copy of the big mail.
Then the mail servers reply : 520 mail too big
And so on .... and the proxy hangs !!!
Is it possible to limit the size of mails on ASL ?
Or is there an other solution ?
Thanks for your help.
Regards

Joseph


This thread was automatically locked due to age.
Parents
  • Hi Joseph,

    first u need to connect your ASL via ssh. 
    Login as loginuser with passsword u gave at the install-procedure. Then make su - root. you would be asked for the root password!

    No type:
     joe /var/chroot-smtp/var/qmail/control/databytes

    to create a new file named databytes.

    Type in your limit for mail (bytes e.g. 20971520 for 20 Mbyte) in the first line. Within JOE hold the key Strg while typeing KD 
    Next you will be asked for the filename to be saved. Type databytes. To leave the Editor hold Strg with c.

    At last you have Qmail to notice the changes u made.

    Type ./sbin/init.d/qmail restart

    Now you have setup a Limit for Qmail.

    Thats all.

    Greetings from Solingen, DE
    MARWIN
Reply
  • Hi Joseph,

    first u need to connect your ASL via ssh. 
    Login as loginuser with passsword u gave at the install-procedure. Then make su - root. you would be asked for the root password!

    No type:
     joe /var/chroot-smtp/var/qmail/control/databytes

    to create a new file named databytes.

    Type in your limit for mail (bytes e.g. 20971520 for 20 Mbyte) in the first line. Within JOE hold the key Strg while typeing KD 
    Next you will be asked for the filename to be saved. Type databytes. To leave the Editor hold Strg with c.

    At last you have Qmail to notice the changes u made.

    Type ./sbin/init.d/qmail restart

    Now you have setup a Limit for Qmail.

    Thats all.

    Greetings from Solingen, DE
    MARWIN
Children
No Data