View Issue Details

IDProjectCategoryView StatusLast Update
0000456SOGoWeb Mailpublic2016-05-27 17:59
Reporterwimmer Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Versionnightly v2 
Summary0000456: Error by sending message which size exceed SMTP size limit
Description

When I send message which size exceed size limit of SMTP server (I use SOGoMailingMechanism - sendmail), SOGo displays blank white window with message:

An error occurred during object publishing
FailedToSendMail

sogo.log:

Feb 23 20:47:19 sogod: SOGo watchdog [24926]: <0x0x13d4460[NGSendMail]> wrote 1, length 11068966
postdrop: warning: uid=1001: File too large
sendmail: fatal: user@civ.zcu.cz(1001): message file too big
Feb 23 20:47:19 sogod: SOGo watchdog [24926]: <0x0x13d4460[NGSendMail]> [1] Could not write mail to sendmail! <19200>

It would be nice to have some more user friendly warning...

thanks,
Milos

TagsNo tags attached.

Relationships

has duplicate 0003006 new More detail warning when message cannot be send to smtp server 
has duplicate 0003136 new Include SMTP errors in error messages 
related to 0001508 new sogo should have a message size limit 

Activities

wsourdeau

wsourdeau

2010-08-23 21:09

viewer   ~0001325

Can you retry with the next nigthlies ?

wimmer

wimmer

2010-08-28 08:02

reporter   ~0001395

It looks much better now.

I'm using "SOGoMailingMechanism sendmail" transport.
When I send message bigger then internal postfix "message_size_limit", SOGo displays text: "Warning FailedToSendMail"

It would be great when user would know the reason of that.
I looked into SOPE/sope-mime/NGMail/NGSendMail.m
and it looks there is a corresponding text, but is not used or is overwritten.

if (_ec == 17664) {
[self logWithFormat:@"sendmail: message file too big!"];
return [self _errorExceptionWithReason:@"MessageFileTooBig"];
}

[self logWithFormat:@"[1] Could not write mail to sendmail! <%d>",_ec];
return [self _errorExceptionWithReason:@"FailedToSendMail"];

It would be great to have possibility to translate this message into user's preferred language too.

thanks.

Issue History

Date Modified Username Field Change
2010-02-23 20:03 wimmer New Issue
2010-08-23 21:09 wsourdeau Note Added: 0001325
2010-08-28 08:02 wimmer Note Added: 0001395
2014-11-28 12:57 Christian Mack Relationship added has duplicate 0003006
2015-04-30 09:42 Christian Mack Relationship added has duplicate 0003136
2016-05-27 17:59 ludovic Relationship added related to 0001508