Re: Reject large emails
Joseph thank you for your answer. We use sendmail. Do you know how to set up sendmail.mc to reject those emails? Thank you Joseph Brennan wrote: --On Tuesday, February 12, 2008 10:58 +0200 Nikos Gatsis [EMAIL PROTECTED] wrote: Hello list. Is it possible with cyrus to reject emails with large attachments and inform the sender for the rejection? As stated, normally done at the MTA level. But note also, normally done by total message size, not attachment size. If you have to analyze mime parts and measure the size of each one, half the battle is lost already, that is the sender already transmitted the large message and you had to store it in a spool file and parse it. At MTA level, if you and the sender both use ESMTP, your MTA can state its maximum message size in the ehlo response, and the sender's MTA can see that and not even send the message. That is the best outcome. If the sender does not use ESMTP, it wastes time sending the entire message, but you can still reject quickly. The sender's MTA will create the bounce notice, or do whatever else it does when mail can't be delivered. The Cyrus system should not send a bounce. It should only accept or reject, and the sending MTA should handle notifying the sender. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- *Γατσής Νίκος - Gatsis Nikos* Web developer tel.: 2108256721 - 2108256722 fax: 2108256712 email: [EMAIL PROTECTED] http://www.qbit.gr Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Reject large emails
On Wed, Feb 13, 2008 at 12:27:11PM +0200, Nikos Gatsis wrote: Joseph thank you for your answer. We use sendmail. Do you know how to set up sendmail.mc to reject those emails? Thank you Hi Nikos, ind sendmail.mc you can use define(`confMAX_MESSAGE_SIZE',`10485760')dnl to set the max message size to 10 MByte. Regards, Konrad -- Konrad Mauz Rechenzentrum Hochschule Technik, Wirtschaft und Gestaltung Braunegger-Strasse 55, D 78462 Konstanz e-mail: [EMAIL PROTECTED] Tel.: +49 7531 206-472 Fax.: +49 7531 206-153 Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Reject large emails
--On 13. Februar 2008 12:27:11 +0200 Nikos Gatsis [EMAIL PROTECTED] wrote: We use sendmail. Do you know how to set up sendmail.mc to reject those emails? define(`confMAX_MESSAGE_SIZE', `5000')dnl -- .:.Sebastian Hagedorn - RZKR-R1 (Gebäude 52), Zimmer 18.:. Zentrum für angewandte Informatik - Universitätsweiter Service RRZK .:.Universität zu Köln / Cologne University - ✆ +49-221-478-5587.:. .:.:.:.Skype: shagedorn.:.:.:. pgpwuO9LJicin.pgp Description: PGP signature Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Reject large emails
--On Wednesday, February 13, 2008 12:27 PM +0200 Nikos Gatsis [EMAIL PROTECTED] wrote: Joseph thank you for your answer. We use sendmail. Do you know how to set up sendmail.mc to reject those emails? define(`confMAX_MESSAGE_SIZE',3000) Read the README for how to put that into sendmail.mc and generate a sendmail.cf file. Your choice of size, in bytes. Joseph Brennan Lead Email Systems Engineer Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Reject large emails
Hi, Set maxmessagesize in imapd.conf Quoting Nikos Gatsis [EMAIL PROTECTED]: Hello list. Is it possible with cyrus to reject emails with large attachments and inform the sender for the rejection? Thank you Nikos Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED] Waechterstrasse 76 72074 Tuebingen smime.p7s Description: S/MIME krytographische Unterschrift Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Reject large emails
Hello list. Is it possible with cyrus to reject emails with large attachments and inform the sender for the rejection? Thank you Nikos Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Reject large emails
Does cyrus send a rejection message to the sender? Michael Menge wrote: Hi, Set maxmessagesize in imapd.conf Quoting Nikos Gatsis [EMAIL PROTECTED]: Hello list. Is it possible with cyrus to reject emails with large attachments and inform the sender for the rejection? Thank you Nikos Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED] Waechterstrasse 76 72074 Tuebingen Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- *Γατσής Νίκος - Gatsis Nikos* Web developer tel.: 2108256721 - 2108256722 fax: 2108256712 email: [EMAIL PROTECTED] http://www.qbit.gr Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Reject large emails
--On 12 February 2008 12:16:27 +0200 Nikos Gatsis [EMAIL PROTECTED] wrote: Does cyrus send a rejection message to the sender? I expect that would be the responsibility of the delivering MTA. Michael Menge wrote: Hi, Set maxmessagesize in imapd.conf Quoting Nikos Gatsis [EMAIL PROTECTED]: Hello list. Is it possible with cyrus to reject emails with large attachments and inform the sender for the rejection? Thank you Nikos Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED] Waechterstrasse 76 72074 Tuebingen Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- Ian Eiloart IT Services, University of Sussex x3148 Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Reject large emails
--On Tuesday, February 12, 2008 10:58 +0200 Nikos Gatsis [EMAIL PROTECTED] wrote: Hello list. Is it possible with cyrus to reject emails with large attachments and inform the sender for the rejection? As stated, normally done at the MTA level. But note also, normally done by total message size, not attachment size. If you have to analyze mime parts and measure the size of each one, half the battle is lost already, that is the sender already transmitted the large message and you had to store it in a spool file and parse it. At MTA level, if you and the sender both use ESMTP, your MTA can state its maximum message size in the ehlo response, and the sender's MTA can see that and not even send the message. That is the best outcome. If the sender does not use ESMTP, it wastes time sending the entire message, but you can still reject quickly. The sender's MTA will create the bounce notice, or do whatever else it does when mail can't be delivered. The Cyrus system should not send a bounce. It should only accept or reject, and the sending MTA should handle notifying the sender. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Reject large emails
2008/2/12 Nikos Gatsis [EMAIL PROTECTED]: First, this is the king of stuff you should setup at SMTP level to reject the message before it enter the server. Does cyrus send a rejection message to the sender? No, cyrus cannot send such a message. When a system accept an email via SMTP or LMTP protocol, this is its responsibility to warn the sender if it cannot handle it further! If it choose to reject it, this is then the responsibility of the system that connected to it. Then look your SMTP documentation. Regards. Michael Menge wrote: Hi, Set maxmessagesize in imapd.conf Quoting Nikos Gatsis [EMAIL PROTECTED]: Hello list. Is it possible with cyrus to reject emails with large attachments and inform the sender for the rejection? Thank you Nikos Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED] Waechterstrasse 76 72074 Tuebingen Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- Γατσής Νίκος - Gatsis Nikos Web developer tel.: 2108256721 - 2108256722 fax: 2108256712 email: [EMAIL PROTECTED] http://www.qbit.gr Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- Alain Spineux aspineux gmail com May the sources be with you Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html