Email Server Getting Email

Recently I decided to upgrade my email server for a few reasons mainly I wanted custom emails and want to get out of the spam box lol I was told this would not effect the odd delay I started to encounter with phpmail well do not ask me how but the second I was able to send email it went through instantly granted to the spam box but ill get to that eventually the second test in the tutorial

 sudo mail -f /var/mail/vhosts/9000inc.com/james

shows 0 messages I read many online forums much to my confusion I was getting some error saying the user james was not found someone in short said to fix that add a user so I did and it resolved the error then I again checked and 0 messages the latest I can see in the mail log is

NOQUEUE: Reject RCTP
and
Relay Access Denied

I have started the tutorial within the last 7 days if there is any more info I should post or any way you can help please let me know I have lost myself in the horrible world of emails worst thing is I am so close to the end lol

1 Reply

@calofduty9000 I'm sorry to hear that you're experiencing an issue with your mail server. From what I understood, it sounds like you're not receiving mail to your server. Based on the tags for this question, it seems like you are using our Email with Postfix, Dovecot, and MySQL guide.

The answer in this Community Question appears to provide the solution to the Relay Access Denied error message you shared.

The relaying denied message occurs because the smtpdrecipientrestrictions rules was not matched. One of those conditions must be fulfilled to allow the message to go through:

smtpd_recipient_restrictions =
    permit_sasl_authenticated
    check_recipient_access hash:/etc/postfix/filtered_domains
    permit_mynetworks
    reject_unauth_destination

We also have an excellent Community Questions post that goes over some super helpful output you can provide when asking a question.

I hope this is helpful!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct