#1 2019-03-02 18:49:09

dsoden
Member
Registered: 2019-03-02
Posts: 1

cant send email on a NEW server but mail is configured

1st I'm a Microsoft SSRS person and this entire thing (platform and this product) is a new learning experience.
I barely know how to get around in Linux  - enough to get this installed and deal with the issue of no tomcat7 so I used tomcat8

I'm learning with the community edition - created the worlds ugliest report and it all works till I try to schedule a report to be emailed.

Mail.cf  (IS) configured

Manually executing the schedule to send NOW generates this error

Caused by: com.sun.mail.smtp.SMTPSendFailedException: 452 4.3.1 Insufficient system storage


I have plenty of storage space available 17% is used on the main disk.
So what the heck is this "Insufficient system storage" talking about?
Does it mean not enough disk space - OR - Does it mean it does not like the ext4 file system on the server. I don't know what this means or what its looking for as I am not a java developer.

I dont even know where to begin as I do not have a deep enough understanding how Linux works as it relates to Java as it relates to this Application.
I can do the basics below, and on the surface... the error is not of any help to me. Please help?

root@localhost:~# df -h
Filesystem             Size  Used Avail Use% Mounted on
udev                   453M     0  453M   0% /dev
tmpfs                   97M  992K   96M   2% /run
/dev/mapper/vg00-lv01   47G  3.7G   41G   9% /
tmpfs                  482M  8.0K  481M   1% /dev/shm
tmpfs                  5.0M     0  5.0M   0% /run/lock
tmpfs                  482M     0  482M   0% /sys/fs/cgroup
/dev/sda1              464M   74M  362M  17% /boot
tmpfs                   97M     0   97M   0% /run/user/0

>>>>> NEW COMMAND

root@localhost:~# fdisk -l
Disk /dev/sda: 50 GiB, 53687091200 bytes, 104857600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1f1db603

Device     Boot  Start       End   Sectors  Size Id Type
/dev/sda1  *      2048    999423    997376  487M 83 Linux
/dev/sda2       999424 104857599 103858176 49.5G 8e Linux LVM


Disk /dev/mapper/vg00-lv01: 47.6 GiB, 51124371456 bytes, 99852288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/vg00-lv00: 1.9 GiB, 2046820352 bytes, 3997696 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

>>>>> NEW COMMAND
root@localhost:~# mount |grep "sda"
/dev/sda1 on /boot type ext4 (rw,relatime,data=ordered)



>>>>> NEW COMMAND
reportserver.2019-03-02.log shows

02-Mar-2019 18:09:03.183 WARNING [pool-4-thread-1] net.datenwerke.rs.core.service.mail.MailServiceImpl$1.run Mail could not be send
net.datenwerke.rs.core.service.mail.exceptions.MailerRuntimeException: Mail could not be send
        at net.datenwerke.rs.core.service.mail.MailServiceImpl$MailSupervisorImpl.handleException(MailServiceImpl.java:58)
        at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:243)
        at net.datenwerke.rs.core.service.mail.MailServiceImpl$1.run(MailServiceImpl.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: com.sun.mail.smtp.SMTPSendFailedException: 452 4.3.1 Insufficient system storage

        at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2114)
        at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1618)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1119)
        at javax.mail.Transport.send0(Transport.java:195)
        at javax.mail.Transport.send(Transport.java:124)
        at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:233)


>>>>> NEW COMMAND
root@localhost:~# updatedb && locate master.cf
/etc/postfix/master.cf
/etc/postfix/master.cf.proto
/usr/share/postfix/master.cf.dist
root@localhost:~#

>>>>> NEW COMMAND
if I cat /etc/postfix/master.cf there is nothing in there that makes any sense to me perhaps there is some setting not configured here?
I did not install this it was on the server from the host provider when ordered.

>>>>> NEW COMMAND
I did nano /etc/postfix/master.cf to add
message_size_limit = 0
and
mailbox_size_limit = 0
was already there

Last edited by dsoden (2019-03-02 19:17:51)

Offline

#2 2019-03-04 13:36:14

eduardo
Administrator
Registered: 2016-11-01
Posts: 1,343
Website

Re: cant send email on a NEW server but mail is configured

Hi dsoden,

this message comes from your mail server.
It seems you use postfix, please check here: https://www.howtoforge.com/community/th … age.54175/

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB