[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postfix-users
Subject:    Re: Postfix: Sender address rejected: Domain not found
From:       Emanuel <emanuel.gonzalez () donweb ! com>
Date:       2019-12-17 11:03:07
Message-ID: bfb848b7-ca54-27ba-a235-a93e5b4e5672 () donweb ! com
[Download RAW message or body]

Hi,

still not work, i put in there into the file sender_bloqueados this rule:

ferozo-admin.com.ar             dunno

I try with "OK" but not work.

Dec 17 07:57:40 smarthost01-ded postfix/pickup[20690]: 30AF44882E: uid=0 
from=<root>
Dec 17 07:57:40 smarthost01-ded postfix/cleanup[21286]: 30AF44882E: 
message-id=<20191217105740.30AF44882E@x>
Dec 17 07:57:40 smarthost01-ded postfix/qmgr[20691]: 30AF44882E: 
from=<root@x>, size=470, nrcpt=1 (queue active)
Dec 17 07:57:40 smarthost01-ded postfix/smtp[20790]: 30AF44882E: 
to=<x@ferozo-admin.com.ar>, relay=none, delay=0.02, delays=0.02/0/0/0, 
dsn=5.4.4, status=bounced (Host or domain name not found. Name service 
error for name=ferozo-admin.com.ar type=AAAA: Host not found)
Dec 17 07:57:40 smarthost01-ded postfix/bounce[22718]: 30AF44882E: 
sender non-delivery notification: 3766148831
Dec 17 07:57:40 smarthost01-ded postfix/qmgr[20691]: 30AF44882E: removed

#main.cf

## Restricciones de sender     ## No enviar nunca desde ciertos sender
smtpd_sender_restrictions =    check_sender_access 
hash:/etc/postfix/sender_bloqueados

<------><------><------> check_client_access hash:/etc/postfix/client_ip

<------><------><------> reject_non_fqdn_sender,

<------><------><------> reject_unknown_sender_domain,

                                permit_mynetworks,
<------><------><------>       permit


smtpd_recipient_restrictions = check_recipient_access 
mysql:/etc/postfix/mysql-virtual-recipient-access.cf 
regexp:/etc/postfix/regex_destinatarios_bloquea

<------><------><------> reject_unauth_pipelining,
                                reject_non_fqdn_recipient
                                permit_mynetworks,
                                reject_unauth_destination
                                #postfwd
                                check_policy_service inet:127.0.0.1:20040

The domain to which I am trying to deliver mail is not a local domain, 
it is a domain hosted on another server in my network. I assumed that 
adding the line in the / etc / hosts would work but isn't it, any other 
ideas?

Regards,

Emanuel.

El 16/12/19 a las 16:19, Wietse Venema escribió:
> Emanuel:
>> Any solution for this?
>> I send alert to a domain with no dns servers.
> a) Exclude the domain from reject_unknown_recipient_domain.
>
>      /etc/postfix/main.cf:
>          smtpd_recipient_restrictions =
>              ...
>              pcre:/etc/postfix/recipient-access.pcre
>              ...
>
>      /etc/postfix/recipient-access.pcre:
>          /^example\.com$/ dunno
>          /./ reject_unknown_recipient_domain
>
> b) Don't use reject_unknown_recipient_domain, or any feature that
>     may look up NS or MX records.
>
>          Wietse
-- 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic