Sending mail via msmtp

I’m sending mail via msmtp to myself occasionaly :wink: Today, testing new feature, I encountered error

msmtp: the server does not accept mail data
msmtp: server message: 450 4.7.1 : Data command rejected: too many emails
msmtp: could not send mail (account default from /etc/msmtprc)
msmtp: the server does not accept mail data
msmtp: server message: 450 4.7.1 : Data command rejected: too many emails
msmtp: could not send mail (account default from /etc/msmtprc)

AFIK I sent about ±10 messages testing new feature… what are limits?!? What can I do in such a case?!? Is there any possibility to send more mails? I’m sending some mails regurarly via cron as well - do they count?

I don’t remember exact number but 10 mails might be that. This is because you could use our service for sending spams and we would get blocked. Also we are not regular smtp service so we don’t expect you to send more than few mails a day. If you want more (You really want to be spamed by router?) then you can use other smtp server, we allow that.

1 Like

OK, I understand it. I’m sending only a few mails to myself, no spamming.

@jada4p you can use gmail account for sending emails via msmtp. There is no such limit

Does this technique still work with OS 4?

https://doc.turris.cz/doc/en/public/customemailnotif

When I try, it fails with this message:

<-- 535 5.7.8 Error: authentication failed: 
msmtp: authentication failed (method PLAIN)
msmtp: server message: 535 5.7.8 Error: authentication failed: 
msmtp: could not send mail (account default from /etc/msmtprc)

This worked with OS 3.*.