Hi,
I had the same problem earlier and I first ran into new errors by modifying
Config.pm with
$Self->{'PostMasterPOP3MaxEmailSize'} = 1024 * 10;
and not modifying SQL option max_allowed_packet.
Now I have also modified /etc/my.cnf, everything is working propoerly,
thanks.
But I have still a related question. Is there a way to be notified if an
email which size is greater than the PostMaster limit is fetched ? At this
time, there is an error in the OTRS logs but it would be nice if the
customer automatically received an email saying his attachement was too
big.
I am sure you can do this by modifying the .pl script but I am wondering if
anyone has already done it.
Thanks,
Cyril
-----Original Message-----
Date: Mon, 16 Oct 2006 09:21:17 +0200
From: "Bartsch, Martin msg asp gmbh"
Subject: RE: [otrs] How to increase email size ?
To: "User questions and discussions about OTRS.org"
Message-ID:
<3966C837370DEB4C9A58B5F3525F62C10107911D@mas-1cgn.maswd1.cgn.msg.de>
Content-Type: text/plain; charset="iso-8859-1"
If you use postfix, set up message_size_limit
/etc/postfix/main.cf
# 20 MB
message_size_limit = 20480000
Then check your /etc/my.cf to store the mail
/etc/my.cnf
max_allowed_packet = 20M
rcmysql restart
Mit freundlichen Gr|_en / Kind regards
Martin Bartsch
Senior IT-Berater
msg application service providing gmbh
Venloer Stra_e 25 - 27
D-50672 Kvln
Tel.: +49 221 49293-369
Fax: +49 221 49293-4369
mailto:martin_bartsch@msg-systems.com
http://www.msg-asp.de
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 14/10/2006