Mailinglist Archive: opensuse (686 mails)

< Previous Next >
Re: [opensuse] postfix and relay access denied
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Tue, 02 Jul 2013 13:51:02 +0200
  • Message-id: <kquer6$jai$1@saturn.local.net>
Roger Oberholtzer wrote:

I have added that, and get the messages below when a message arrives.

I sorted out the relay issue: mysteriously, the local machine
(acme.pacific) needs to be listed as a relay or it fails. So now it
gets past that.

If your machine is "acme.pacific", there is no need to add that to the
relay table.

It now fails a bit later. I have added acme.pacific to
virtual as

acme.pacific acme

Not sure of that is the corrent syntax.

postfix/smtpd[12377]: >>> START Recipient address RESTRICTIONS <<<
postfix/smtpd[12377]: generic_checks: name=permit_mynetworks
postfix/smtpd[12377]: permit_mynetworks: internal.opq.se 10.209.160.46
postfix/smtpd[12377]: match_hostname: internal.opq.se ~? 127.0.0.0/8
postfix/smtpd[12377]: match_hostaddr: 10.209.160.46 ~? 127.0.0.0/8
postfix/smtpd[12377]: match_hostname: internal.opq.se ~? 10.2.10.0/24
postfix/smtpd[12377]: match_hostaddr: 10.209.160.46 ~? 10.2.10.0/24
postfix/smtpd[12377]: match_hostname: internal.opq.se ~? 10.1.5.0/24
postfix/smtpd[12377]: match_hostaddr: 10.209.160.46 ~? 10.1.5.0/24
postfix/smtpd[12377]: match_list_match: internal.opq.se: no match
postfix/smtpd[12377]: match_list_match: 10.209.160.46: no match
postfix/smtpd[12377]: generic_checks: name=permit_mynetworks status=0

Okay, so the client wasn't accepted sofar.

postfix/smtpd[12377]: generic_checks: name=reject_unauth_destination
postfix/smtpd[12377]: reject_unauth_destination: roger@acme.pacific
postfix/smtpd[12377]: permit_auth_destination: roger@acme.pacific
postfix/smtpd[12377]: ctable_locate: move existing entry key
roger@acme.pacific postfix/smtpd[12377]: generic_checks:
name=reject_unauth_destination status=0
postfix/smtpd[12377]: >>> END Recipient address RESTRICTIONS <<<

Okay.

postfix/smtpd[12377]: >>> CHECKING RECIPIENT MAPS <<<
postfix/smtpd[12377]: ctable_locate: leave existing
entry key roger@acme.pacific postfix/smtpd[12377]: maps_find:
recipient_canonical_maps: roger@acme.pacific: not found
postfix/smtpd[12377]: match_string: acme.pacific ~? linux.local
postfix/smtpd[12377]: match_string: acme.pacific ~? localhost.local
postfix/smtpd[12377]: match_list_match: acme.pacific: no match
postfix/smtpd[12377]: maps_find: recipient_canonical_maps:
@acme.pacific: not found
postfix/smtpd[12377]: mail_addr_find: roger@acme.pacific -> (not
found) postfix/smtpd[12377]: maps_find: canonical_maps:
roger@acme.pacific: not found postfix/smtpd[12377]: match_string:
acme.pacific ~? linux.local postfix/smtpd[12377]: match_string:
acme.pacific ~? localhost.local postfix/smtpd[12377]:
match_list_match: acme.pacific: no match postfix/smtpd[12377]:
maps_find: canonical_maps: @acme.pacific: not found
postfix/smtpd[12377]: mail_addr_find: roger@acme.pacific -> (not
found)

At this point, postfix has determined that 'acme.pacific' is not for
delivery to the main local address. What do you have
in "mydestination" ?

postfix/smtpd[12377]: maps_find: virtual_alias_maps:
roger@acme.pacific: not found postfix/smtpd[12377]: match_string:
acme.pacific ~? linux.local postfix/smtpd[12377]: match_string:
acme.pacific ~? localhost.local postfix/smtpd[12377]:
match_list_match: acme.pacific: no match postfix/smtpd[12377]:
maps_find: virtual_alias_maps: @acme.pacific: not found
postfix/smtpd[12377]: mail_addr_find: roger@acme.pacific -> (not
found)

'acme.pacific' is not a virtual domain either.

postfix/smtpd[12377]: NOQUEUE: reject: RCPT from
internal.opq.se[10.209.160.46]: 550 5.1.1 <roger@acme.pacific>:
Recipient address rejected: User unknown in virtual alias table;
from=<opensuse- buildservice+bounces-19494-roger=opq.se@xxxxxxxxxxxx>
to=<roger@acme.pacific> proto=ESMTP helo=<stockholm.opq.se>
postfix/smtpd[12377]: > internal.opq.se[10.209.160.46]: 550 5.1.1
<roger@acme.pacific>: Recipient address rejected: User unknown in
virtual alias table postfix/smtpd[12377]: watchdog_pat: 0xb7c7e560
postfix/smtpd[12377]: < internal.opq.se[10.209.160.46]: DATA
postfix/smtpd[12377]: > internal.opq.se[10.209.160.46]: 554 5.5.1
Error: no valid recipients

and is therefore rejected.



--
Per Jessen, Zürich (23.8°C)
http://www.dns24.ch/ - free DNS hosting, made in Switzerland.

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References