I am getting the Error "Recipient address rejected: sorry, max 50 requests per 30 minutes (in reply to RCPT TO command))" in my "/var/log/maillog" log File. I know this is because I've sent to many Emails, but I would like to raise it to about 200.
But i cant find the configuration file for my Mailserver. I use Plesk and actually dont know what Mail-Server is installed.
Does anybody know if there is some standard config file?
This message comes from postfwd (postfix firewall daemon), which is not shipped or managed by Plesk.
To change limit, modify the corresponding rule in /etc/postfix/postfwd.cf file:
action=rate(client_address/200/1800/450 4.7.1 sorry, max 200 requests per 30 minutes)
Refer to postfwd documentation for more detailed info.
Alternatively, you can disable this service completely and use native Plesk outgoing mail limits handler.
Related
I have set up SMTP server with gmail account. It was working fine till few days back. When I checked the logs I found below entry in it:
SMTP Error: 454 4.7.0 Too many login attempts, please try again later.
I have restarted SMTP service twice. I have checked the configuration that was set up using this link. Everything is same as we have set up. I have restarted the SMTP server & the machine too.
I have checked for 2 step verification settings. It is not enabled. I have checked for "less secure" apps settings and it is set to Enabled as suggested here.
I have checked apps enabled as suggested here using below link.
https://security.google.com/settings/security/permissions?pli=1
But no apps are added. Can anyone suggest anything that I need to look for? Thanks in advance.
It is because you are attempting to create a new smtp connection for each email. You need to use SMTP pool.
Please see:
DELIVERING BULK MAIL
POOLED SMTP
Pooled smtp is mostly useful when you have a large number of messages that you want to send in batches or your provider allows you to only use a small amount of parallel connections.
If you are using Node-mailer:
const transporter = nodemailer.createTransport({
host: 'smtp.gmail.com',
port: 465,
secure: true,
pool: true, // This is the field you need to add
auth: {
user: 'test#test.com',
pass: 'your_password'
}});
Then, you need to close the pool once you send all the emails.
transporter.close();
I had the same issue. When I checked the Mail queue there were many unprocessed mails in the queue.
So I deleted the bulk mails and restarted the instance. Once the Mail Queue is cleared then it started to send mails as usual.
Hope this will be useful for anybody to have the above issue.
The Issue resolved with the TCP port changing to 587 from 25 in Outbound Connections settings in SMTP Server.
please follow the instructions below:
Open Gmail from a browser and only sign into the account you're
trying to add. Be sure to be signed out of all your other accounts
Go to this link: https://accounts.google.com/b/0/displayunlockcaptcha and click
Continue or confirm.
Now Test your program it will work fine
The Issue resolved change the password mail server password
It may be because the mail's size is greater than the allowed size (25MB).
This is the first time I am trying to understand Zimbra logs. I noticed that every action (like deletion of a mail, addition of an incoming mail etc.) is logged in the mailServer.log file. Since emails can also be deleted (from java code remotely), I wanted to know which IP the command came from. For example, for the below log line (taken from https://wiki.zimbra.com/wiki/Log_Files), what exactly is 'oip' (originating IP).
Is it the IP address of the server from where the command originated ? If yes, then we can find who remotely sent the command (delete/add/expunge etc.). Is that correct ?
2013-08-30 11:19:41,043 INFO [qtp2050551931-94:http://127.0.0.1:8080/service/soap/AuthRequest] [name=user1#example.com;oip=5.6.7.8;ua=zclient/8.0.4_GA_5737;] mbxmgr - Mailbox 3 account abcdef8f-1234-5678-9012-8abcdefe2658 LOADED
Thanks in advance.
Correct, it's the address of the client or, if you have one, the proxy that originated the request
You can log public IP following the steps in this wiki
https://wiki.zimbra.com/wiki/Log_Files#Logging_the_Originating_IP
I am using a PHP script for sending emails by IIS 5.1 SMTP.
The emails, go to outbound folder. really path is C:\Inetpub\mailroot\Queue.
after a seconds, it start to send emails properly, but after sending 5 or 6 emails, it stops to send the other ones. SMTP service is still start and it seems there is no problem to SMTP service.
but,If i restart the service, it sends 1 or 2 other emails and then, it stops again.
I mean sending emails stop but service is start.
by the way, emails are stucked in Queue folder.
Also i checked Badmail folder. it is empty
Thanks
are all the emails to the same network? I have seen behaviour like this when the recipient server bans you, yahoo's (xtra) used to do it sometimes to our server in particular. You can check the logs in event viewer for something from the smtp server, you'll find a message from the other server saying something to the effect that you have been temporarily banned, possibly with more detail about why. Trying to connect via telnet also gives you the same message.
When this happens windows will try and send them again later. Restarting the server starts to try sending again and if the ban condition has been lifted messages will flow for a while again until you are rebanned.
I have configured Windows Live Mail for my Gmail account. It uses IMAP for incoming and SMTP for outgoing mail. I collected packets recvd/sent by the application over a period of 4 hours using Netmon. I observed that the server every now or then sends a TLS packet of TCP payload length 39. I decrypted the packet and it contains:
* 554 EXISTS
Can anyone tell me what is going on?
I found the answer: The server is basically saying it has 554 messages. Each message is assigned a unique identifier. I have told Live Mail to check for new mail every 5 minutes and I indeed see see this packet every 5 minutes.
I have a 1&1 VPS with Plesk, and a domain name with 123-Reg. I've configured my DNS records as such:
www a 87.106.101.240
mail a 87.106.101.240
mail.limehousecraftsandgifts.com. mx 10
From within Plesk, on the limehousecraftsandgifts.com domain, I've got a mail redirect for all email to go to my Gmail. But the emails are not getting through.
Does anyone know what I'm doing wrong? 87.106.101.240 is my server.
Thanks,
Steven
For one thing, you don't have an A RECORD for mail.limehouecraftsandgifts.com =)
You should point it where-ever you want the mail delivered.
Thanks to Shad, I was able to investigate and realise that my DNS settings were correct. I was having a problem with Qmail on my VPS. The command line for Qmail said it was running fine, but the Plesk control panel would allow the service to start, but would then stop 20 seconds later. Ultimately, the problem was a misconfigured Qmail. So check your mail logs, and your Qmail status if you're having this problem.
I'm leaving this here as a note to anyone encountering similar issues.