Linux Server Hacks – How to increase Plesk Q-mail Maximum E-mail Attachment size of 2MB!

Well, recently I had one of my clients that I host their e-mail system on my web server ask me if they can send more than 2MB for their e-mail attachments.

To do this on a Plesk system, you need to create a new file for the Q-mail.

Plesk defaults to 2MB for e-mail attachments.

Goto this directory:

/var/qmail/control

make a file called “databytes” and store the max number of bytes allowed.

For example, “4000000” would be max 4MB attachments.

via zwiki

8 Responses to Linux Server Hacks – How to increase Plesk Q-mail Maximum E-mail Attachment size of 2MB!

  1. Ganbari says:

    hi, i have plesk and mail serve is horde and i can not attach more than 2MB. please help me how can increase .

  2. zedomax says:

    You need to change it in Plesk admin, do u know how to access the admin?

  3. Ganbari says:

    hi, i have plesk and mail serve is horde and i can not attach more than 2MB. please help me how can increase .

  4. zedomax says:

    You need to change it in Plesk admin, do u know how to access the admin?

  5. Ganbari says:

    hi, i have plesk and mail serve is horde and i can not attach more than 2MB. please help me how can increase .

  6. zedomax says:

    You need to change it in Plesk admin, do u know how to access the admin?

  7. dv says:

    I’d add that the free license is to use 1 mailbox.
    Long sought, as is done, but ran into a few KB to a support splashing, and then found
    this forum.

    We have a domain mail.ru with an added one mailbox, add the second.

    user: mail@mail.com
    pass: xxxxxxxx

    add user to database psa table mail, add password for this user to table accounts
    It should be added to the database psa, mail table second row in exactly repeats the first
    except field mail_name

    —–+————+——–+
    | Id | mail_name | perm_id | postbox | account_id | redirect | redir_addr | mail_group | autoresponder | spamfilter | virusfilter | mbox_quota | dom_id |
    +—-+———–+———+———+———— +———-+————+————+———— —+————+————-+————+—— – +
    | 1 | admin | 2 | true | 7 | false | | false | false | false | incoming | -1 | 1 |

    then in the accounts table to add the line

    +—-+——-+———————————-+
    | Id | type | password |
    +—-+——-+———————————-+
    | 7 | plain | CcnvFO0q |

    Generate the file / var / lib / plesk / mail / auth / passwd.db

    team
    / usr / local / psa / admin / sbin / mail_auth_dump

    Create a directory structure for qmail is thrown out at 2 shouts that there is no directory
    for a new mailbox, but all will be well established.

    / usr / local / psa / admin / sbin / mchk – without-spam

    Then you should delete added strings from table accounts and mail because when you entered in plesk you see message ‘what license missmatch. and you should update you license, because you have 2 mailbox’

  8. max says:

    Great, thanks for the tip!

Leave a Reply

Your email address will not be published.


Check out more interesting categories: DIY, HOWTO, Linux.


Related News and Resources