Hi, i have recently installed Email Server on Debian 10 but i do not receive emails in my mailbox immediately. How can I solve it?
Please be aware that if you enable greylisting for the mailbox, the e-mail sent from outside your server does not arrive immediately at the mailbox. I mean you will see in mail log entries of the attempted delivery right away so you see that mail can reach your server. The greylisting entry in file /var/log/mail.log looks something like this:
Jan 02 20:23:12 dns1 postfix/smtpd[16911]: NOQUEUE: reject: RCPT from mta-out1.inet.fi[62.71.2.194]: 450 4.2.0 <[email protected]>: Recipient address rejected: Greylisted, from=<****@*****.***> to=<[email protected]> proto=ESMTP helo=<******.****.***>
Also, it is possible to monitor the mail log in a terminal window as below example:
tail -f /var/log/mail.log
In case the Greylisting is your target, use the following commands:
tail -f /var/log/mail.log | grep Greylisted
Or
grep Greylisted /var/log/mail.log
+8595670151
7 days a week, 24 hours a day