Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

454 Relay access denied

105 views
Skip to first unread message

Michael B Allen

unread,
Jun 6, 2015, 11:29:48 PM6/6/15
to
I just moved over to my new server and I can't receive mail. I can
send mail and do IMAP stuff authenticated. I just cannot receive mail.
The server is just a single all-in-one smtpd / submission / imap
server for a handful of users. I just copied my old config pretty much
verbatim but I must admit is has been a long time since I've done
this. Hopefully you nice people can tell me what's wrong ...

Jun 6 23:21:05 www postfix/smtpd[2228]: connect from
mail-la0-f44.google.com[209.85.215.44]
Jun 6 23:21:05 www postfix/smtpd[2228]: Anonymous TLS connection
established from mail-la0-f44.google.com[209.85.215.44]: TLSv1.2 with
cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Jun 6 23:21:06 www postfix/smtpd[2228]: NOQUEUE: reject: RCPT from
mail-la0-f44.google.com[209.85.215.44]: 454 4.7.1
<jsm...@busicorp.com>: Relay access denied; from=<jo...@gmail.com>
to=<jsm...@busicorp.com> proto=ESMTP helo=<mail-la0-f44.google.com>
Jun 6 23:21:06 www postfix/smtpd[2228]: disconnect from
mail-la0-f44.google.com[209.85.215.44]
Jun 6 23:22:03 www postfix/smtpd[2228]: connect from
mail2.linode.com[173.255.198.11]
Jun 6 23:22:03 www postfix/smtpd[2248]: connect from
mail2.linode.com[173.255.198.11]
Jun 6 23:22:03 www postfix/smtpd[2228]: NOQUEUE: reject: RCPT from
mail2.linode.com[173.255.198.11]: 454 4.7.1 <jsm...@busicorp.com>:
Relay access denied; from=<nor...@linode.com>
to=<jsm...@busicorp.com> proto=ESMTP helo=<mail2.linode.com>
Jun 6 23:22:03 www postfix/smtpd[2248]: NOQUEUE: reject: RCPT from
mail2.linode.com[173.255.198.11]: 454 4.7.1 <jsm...@busicorp.com>:
Relay access denied; from=<nor...@linode.com>
to=<jsm...@busicorp.com> proto=ESMTP helo=<mail2.linode.com>
Jun 6 23:22:03 www postfix/smtpd[2228]: disconnect from
mail2.linode.com[173.255.198.11]
Jun 6 23:22:03 www postfix/smtpd[2248]: disconnect from
mail2.linode.com[173.255.198.11]

postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin; export PATH;
(echo cont; echo where) | gdb $daemon_directory/$process_name
$process_id 2>&1 >$config_directory/$process_name.$process_id.log &
sleep 5
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_interfaces = $myhostname, localhost
inet_protocols = all
mail_owner = postfix
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = busicorp.com
myhostname = mail.busicorp.com
mynetworks_style = host
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
sample_directory = /usr/share/doc/postfix-2.10.1/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_sasl_authenticated
reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/tls/postfix.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_tls_loglevel = 1
smtpd_tls_security_level = may
unknown_local_recipient_reject_code = 550

Michael B Allen

unread,
Jun 7, 2015, 12:41:08 AM6/7/15
to
On Sat, Jun 6, 2015 at 11:29 PM, Michael B Allen <iop...@gmail.com> wrote:
> Jun 6 23:21:06 www postfix/smtpd[2228]: NOQUEUE: reject: RCPT from
> mail-la0-f44.google.com[209.85.215.44]: 454 4.7.1
> <jsm...@busicorp.com>: Relay access denied; from=<jo...@gmail.com>
> to=<jsm...@busicorp.com> proto=ESMTP helo=<mail-la0-f44.google.com>
<snip>
> mydestination = $myhostname, localhost.$mydomain, localhost
> mydomain = busicorp.com

It seems to be working now. Apparently I need $mydomain in mydestination?

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

But I just stumbled on this through trial and error so someone please
confirm that this needs to be set and that I don't have some other
kind of problem like DNS is wrong.

Mike

Herbert J. Skuhra

unread,
Jun 7, 2015, 4:50:03 AM6/7/15
to
Maybe you should consult the fine postfix documentation:

postconf(5)
http://www.postfix.org/postconf.5.html#mydestination
http://www.postfix.org/postconf.5.html#mydomain

But why does your mx point to hotmail.com?

--
Herbert

Managed Pvt nets

unread,
Jun 7, 2015, 3:34:07 PM6/7/15
to


On 07/06/2015 6:40:44 AM, "Michael B Allen" <iop...@gmail.com> wrote:

>On Sat, Jun 6, 2015 at 11:29 PM, Michael B Allen <iop...@gmail.com>
>wrote:
>> Jun 6 23:21:06 www postfix/smtpd[2228]: NOQUEUE: reject: RCPT from
>> mail-la0-f44.google.com[209.85.215.44]: 454 4.7.1
>> <jsm...@busicorp.com>: Relay access denied; from=<jo...@gmail.com>
>> to=<jsm...@busicorp.com> proto=ESMTP helo=<mail-la0-f44.google.com>
><snip>
>> mydestination = $myhostname, localhost.$mydomain, localhost
>> mydomain = busicorp.com
>
>It seems to be working now. Apparently I need $mydomain in
>mydestination?
>
> mydestination = $mydomain, $myhostname, localhost.$mydomain,
>localhost
>
This is the right way and should work for you.
>
Cheers,

Molla.
>

0 new messages