Scalable OGo (SOGo)

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004198SOGoBackend Mailpublic2017-06-16 04:232017-06-16 13:29
ReporterChristian Mack 
Assigned To 
PriorityhighSeverityminorReproducibilityalways
StatusnewResolutionopen 
Platform[Server] LinuxOSDebianOS Version8 (Jessie)
Product Version2.3.21 
Target VersionFixed in Version 
Summary0004198: send limit prevents sending of emails with attachment
DescriptionWe have a lot of spammers trough hacked accounts via SOGo lately.
Therefore we activated the send limits for the SOGo frontend.
With these setting a user is only able to send to 100 recipients in 5 minutes, or will be blocked from sending for 15 minutes.

But after activation, every email with an attachment has triggered the blocking error message in the webinterface.
Therefore noone is able to send emails with attachments, even if it is the first email and only to one recipient!

We had to disable this restriction, in order to restore normal email sending behaviour.
Therefore these settings are unusable.
Steps To Reproduce1) add the send limit to sogo.conf

    SOGoMaximumMessageSubmissionCount = 0;
    SOGoMaximumRecipientCount = 100;
    SOGoMaximumSubmissionInterval = 300;
    SOGoMessageSubmissionBlockInterval = 900;

2) restart sogod and memcached
3) Go to the webinterface and create an email with attachment
4) try to send this email
=> you get the blocking error message
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0011953)
ludovic (administrator)
2017-06-16 08:27

I've just tested with the latest v2 release and I cannot reproduce the issue with the exact same settings you have.

Can you make sure it's not your SMTP server that is rejecting the mail?
User avatar (0011955)
Christian Mack (developer)
2017-06-16 08:48

I have checked my SMTP server, and he doesn't get any emails, while those blocks occur.
Which is what I expect SOGo to do , when the limits are reached.
Therefore, he can not reject them.

Also the problem vanished the moment I commented those settings out and restarted sogod.

As this only happens with attachments, we have also set
    SOGoMailSpoolPath = "/var/sogotemp";
Attachments are stored there.
Could this cause it?
User avatar (0011957)
ludovic (administrator)
2017-06-16 09:37

Well, can SOGo write to that directory?

It's hard for me to figure out what could be wrong.

Do you have a test system on which you can reliably reproduce the issue?

We will look at it and fix it ASAP if so.
(0011960)
efuste (reporter)
2017-06-16 10:53

We have the same problem with the SOGoMaximumMessageSizeLimit feature since it's introduction in the v2 seri (2.3.19)

As the users were used to have the popup with the MTA message before, we revert to the previous conf.

Hope it could help.
User avatar (0011975)
Christian Mack (developer)
2017-06-16 13:29

SOGo can write to this directory and it does.

# ls -ld /var/sogotemp/
drwxr-xr-x 5466 sogo sogo 270336 Jun 16 19:20 /var/sogotemp/


Sadly I do not have a working V2 test setup right now.
Will get one working next week.

- Issue History
Date Modified Username Field Change
2017-06-16 04:23 Christian Mack New Issue
2017-06-16 08:27 ludovic Note Added: 0011953
2017-06-16 08:27 ludovic Severity major => minor
2017-06-16 08:48 Christian Mack Note Added: 0011955
2017-06-16 09:37 ludovic Note Added: 0011957
2017-06-16 10:53 efuste Note Added: 0011960
2017-06-16 13:29 Christian Mack Note Added: 0011975


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker