NOQUEUE: reject: RCPT from mail-io0-x231.google.com

I can send mail to any mail address to the outside world but i cant receive Ubuntu Ubuntu 16.04.2

error from mail log

Oct 4 14:52:27 ideashost postfix/smtpd[18057]: connect from mail-io0-x231.google.com[2607:f8b0:4001:c06::231]

Oct 4 14:52:28 ideashost postfix/smtpd[18057]: Anonymous TLS connection established from mail-io0-x231.google.com[2607:f8b0:4001:c06::231]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)

Oct 4 14:52:28 ideashost postfix/smtpd[18057]: NOQUEUE: reject: RCPT from mail-io0-x231.google.com[2607:f8b0:4001:c06::231]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo= Oct 4 14:52:28 ideashost postfix/smtpd[18057]: disconnect from mail-io0-x231.google.com[2607:f8b0:4001:c06::231] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 quit=1 commands=5/7

postconf -n

alias_database = hash:/etc/aliases

alias_maps = hash:/etc/aliases

appenddotmydomain = no

biff = no

brokensaslauth_clients = yes

disablevrfycommand = yes

home_mailbox = Maildir/

inet_interfaces = all

inet_protocols = all

mailspooldirectory = /var/spool/mail

mailboxsizelimit = 0

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain

mydomain = mail.me.org

myhostname = ideashost.org

mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128

myorigin = /etc/mailname

queue_directory = /var/spool/postfix

readme_directory = no

recipient_delimiter = +

relay_domains = mail.me.org

relayhost = [$mydomain]

smtptlsnotestarttlsoffer = yes

smtptlssecurity_level = may

smtpdbanner = $myhostname ESMTP $mailname

smtpdclientrestrictions = permitsaslauthenticated, permitmynetworks, rejectunauthdestination, rejectnonfqdnrecipient, rejectunknownsenderdomain, rejectunknownrecipientdomain

smtpddelayreject = yes

smtpdhelorequired = yes

smtpdhelorestrictions = rejectnonfqdnhelohostname,rejectinvalidhelohostname,rejectunknownhelohostname

smtpdrecipientrestrictions = rejectunknownsenderdomain, rejectunknownrecipientdomain, rejectnonfqdnsender, rejectnonfqdnrecipient, rejectunlistedrecipient, permitmynetworks, permitsaslauthenticated, rejectunauthdestination, rejectnonfqdnhelohostname, rejectinvalidhelohostname

smtpdrelayrestrictions = permitmynetworks, permitsaslauthenticated, rejectunauth_destination

smtpdsaslauth_enable = yes

smtpdsasllocal_domain =

smtpdsaslpath = private/auth

smtpdsaslsecurity_options = noanonymous

smtpdsasltype = dovecot

smtpdtlscert_file = /etc/letsencrypt/live/mail.me.org/fullchain.pem

smtpdtlskey_file = /etc/letsencrypt/live/mail.me.org/privkey.pem

smtpdtlsloglevel = 1

smtpdtlsreceived_header = yes

smtpdtlssecurity_level = may

virtualaliasmaps = hash:/etc/postfix/virtual

Doveconf -n

auth_mechanisms = plain login

mail_location = maildir:~/Maildir

namespace inbox {

inbox = yes

location =

mailbox Drafts {

special_use = \Drafts

}

mailbox Junk {

special_use = \Junk

}

mailbox Sent {

special_use = \Sent

}

mailbox "Sent Messages" {

special_use = \Sent

}

mailbox Trash {

special_use = \Trash

}

prefix =

}

passdb {

driver = pam

}

protocols = " imap pop3"

service auth {

unix_listener /var/spool/postfix/private/auth {

group = postfix

mode = 0660

user = postfix

}

}

service imap-login {

inet_listener imap {

port = 143

}

}

service pop3-login {

inet_listener pop3 {

port = 110

}

}

ssl = required

sslcert = sslkey =
userdb {

driver = passwd

}

Google mail says

Message not delivered

Your message couldn't be delivered to [email protected] because the remote server is misconfigured. See technical details below for more information.

The response from the remote server was:

554 5.7.1 <[email protected]>: Relay access denied

where am i going wrong please help

2 Replies

@isoftcom:

Oct 4 14:52:28 ideashost postfix/smtpd[18057]: NOQUEUE: reject: RCPT from mail-io0-x231.google.com[2607:f8b0:4001:c06::231]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=@me.org> proto=ESMTP helo= (snip)

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain

mydomain = mail.me.org

myhostname = ideashost.org

Mail is being sent to @me.org, but you appear to have set up your server to receive mail for @mail.me.org addresses.

[EDIT]: Have you attempted to set up me.org as a virtual domain?

To be more specific: your mailserver does not consider me.org to be a local domain and therefore considers this delivery a relay attempt. It is indeed a configuration problem.

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