Report this

What is the reason for this report?

My mail.log file is huge

Posted on May 7, 2020

I looked through some of the logs and it seems to try to make 10-20 requests per second. I used to have SSH bot login attemps so I thought this was due to bots trying to break into my box, so I added some firewall rules but I still have the mail issue. I have never set up SMPT on my server nor plan on in the future so I just want these logs from filling up disk space so quickly. Any help would be appreciated!

Here are some example logs:

May  3 06:41:09 lemp-s-1vcpu-1gb-nyc3-01 sm-msp-queue[28406]: 0429f1bm024443: to=root, delay=20:58:06, xdelay=00:00:00, mailer=relay, pri=5701858, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
May  3 06:41:09 lemp-s-1vcpu-1gb-nyc3-01 sm-msp-queue[28406]: 0429f1bn024443: to=postmaster, delay=20:58:06, xdelay=00:00:00, mailer=relay, pri=5703365, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
May  3 06:41:09 lemp-s-1vcpu-1gb-nyc3-01 sm-msp-queue[28406]: 0429f1bj024443: to=postmaster, delay=20:58:06, xdelay=00:00:00, mailer=relay, pri=5703365, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
May  3 06:41:09 lemp-s-1vcpu-1gb-nyc3-01 sm-msp-queue[28406]: 0429f1bk024443: to=postmaster, delay=20:58:06, xdelay=00:00:00, mailer=relay, pri=5703552, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
May  3 06:41:09 lemp-s-1vcpu-1gb-nyc3-01 sm-msp-queue[28406]: 0429f1bo024443: to=postmaster, delay=20:58:06, xdelay=00:00:00, mailer=relay, pri=5704907, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
May  3 06:41:09 lemp-s-1vcpu-1gb-nyc3-01 sm-msp-queue[28406]: 0429f1bp024443: to=postmaster, delay=20:58:06, xdelay=00:00:00, mailer=relay, pri=5705095, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
May  3 06:41:09 lemp-s-1vcpu-1gb-nyc3-01 sm-msp-queue[28406]: 0429f1bl024443: to=postmaster, delay=20:58:06, xdelay=00:00:00, mailer=relay, pri=5705095, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
May  3 06:41:09 lemp-s-1vcpu-1gb-nyc3-01 sm-msp-queue[28406]: 0429f1bq024443: to=postmaster, delay=20:58:06, xdelay=00:00:00, mailer=relay, pri=5706661, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
May  3 06:41:09 lemp-s-1vcpu-1gb-nyc3-01 sm-msp-queue[28406]: 0429f1br024443: to=postmaster, delay=20:58:06, xdelay=00:00:00, mailer=relay, pri=5709596, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
May  3 06:41:09 lemp-s-1vcpu-1gb-nyc3-01 sm-msp-queue[28406]: 0429f1bs024443: to=postmaster, delay=20:58:06, xdelay=00:00:00, mailer=relay, pri=5711161, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
May  3 06:41:09 lemp-s-1vcpu-1gb-nyc3-01 sm-msp-queue[28406]: 0429f1bt024443: to=postmaster, delay=20:58:06, xdelay=00:00:00, mailer=relay, pri=5711344, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
May  3 06:41:09 lemp-s-1vcpu-1gb-nyc3-01 sm-msp-queue[28406]: 0429f1bu024443: to=postmaster, delay=20:58:06, xdelay=00:00:00, mailer=relay, pri=5711452, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
May  3 06:41:09 lemp-s-1vcpu-1gb-nyc3-01 sm-msp-queue[28406]: 0429f1bv024443: to=postmaster, delay=20:58:06, xdelay=00:00:00, mailer=relay, pri=5711642, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @rudyvald,

If you’ve used the LEMP 1-Click image from the Marketplace it includes Postfix as well.

For more information about the emails, I could suggest running mailq, feel free to share a snippet of the output of the command here as well.

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.