mail@??? wrote:
> Hi,
>
> I can sending mails but when I try to receive it in logs I see:
>
> 2006-09-17 08:46:53 1GOqQX-00026O-P0 H=smtp6k.poczta.onet.pl [213.180.130.51] F=<rj_24@???> rejected after DATA
>
> End od rejectlog file:
>
> MIME-Version: 1.0
> P Received: from 83.31.240.199 by 192.168.240.101 with HTTP; Sun,
> 17 Sep 2006 8:45:49 +0200
> Date: Sun, 17 Sep 2006 08:45:49 +0200
> F From: rj_24@???
> T To: rafalek@???
> Subject: fff
> X-Priority: 3
> X-Mailer: onet.poczta
> I Message-Id: <20060917064601Z1289829-12889+306@???>
>
> and in debug it wrote:
>
> 8084 accept: condition test failed
> 8084 processing "require"
> 8084 check domains = +local_domains : +relay_domains
> 8084 cached yes match for +local_domains
> 8084 cached lookup data = NULL
> 8084 abc.kom.pl in "+local_domains : +relay_domains"? yes (matched "+local_domains" - cached)
> 8084 require: condition test succeeded
> 8084 processing "require"
> 8084 check verify = recipient
> 8084 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 8084 Verifying rafalek@???
> 8084 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 8084 Considering rafalek@???
> 8084 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 8084 routing rafalek@???
> 8084 --------> dnslookup router <--------
> 8084 local_part=rafalek domain=abc.kom.pl
> 8084 checking domains
> 8084 cached yes match for +local_domains
> 8084 cached lookup data = NULL
> 8084 abc.kom.pl in "! +local_domains"? no (matched "! +local_domains" - cached)
> 8084 dnslookup router skipped: domains mismatch
> 8084 --------> system_aliases router <--------
> 8084 local_part=rafalek domain=abc.kom.pl
> 8084 calling system_aliases router
> 8084 rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
> 8084 search_open: lsearch "/etc/aliases"
> 8084 search_find: file="/etc/aliases"
> 8084 key="rafalek" partial=-1 affix=NULL starflags=0
> 8084 LRU list:
> 8084 :/etc/aliases
> 8084 End
> 8084 internal_search_find: file="/etc/aliases"
> 8084 type=lsearch key="rafalek"
> 8084 file lookup required for rafalek
> 8084 in /etc/aliases
> 8084 lookup failed
> 8084 expanded:
> 8084 file is not a filter file
> 8084 parse_forward_list:
> 8084 system_aliases router declined for rafalek@???
> 8084 --------> userforward router <--------
> 8084 local_part=rafalek domain=abc.kom.pl
> 8084 userforward router skipped: verify 2 0 0
> 8084 --------> localuser router <--------
> 8084 local_part=rafalek domain=abc.kom.pl
> 8084 checking for local user
> 8084 seeking password data for user "rafalek": cache not available
> 8084 getpwnam() succeeded uid=9000 gid=0
> 8084 calling localuser router
> 8084 localuser router called for rafalek@???
> 8084 domain = abc.kom.pl
> 8084 set transport local_delivery
> 8084 queued for local_delivery transport: local_part = rafalek
> 8084 domain = abc.kom.pl
> 8084 errors_to=NULL
> 8084 domain_data=NULL localpart_data=NULL
> 8084 routed by localuser router
> 8084 envelope to: rafalek@???
> 8084 transport: local_delivery
> 8084 ----------- end verify ------------
> 8084 require: condition test succeeded
> 8084 processing "accept"
> 8084 accept: condition test succeeded
> 8084 SMTP>> 250 Accepted
> 8084 SMTP<< DATA
> 8084 SMTP>> 354 Enter message, ending with "." on a line by itself
> 8084 search_tidyup called
> 8084 host in ignore_fromline_hosts? no (option unset)
> 8084 >>Headers received:
> 8084 Received: from pk4.test.onet.pl ([192.168.241.244]:49348 "EHLO
> 8084 pk4.test.onet.pl") by kps6.test.onet.pl with ESMTP
> 8084 id <S1289829AbWIQGpt>; Sun, 17 Sep 2006 08:45:49 +0200
> 8084 Content-Type: text/plain; charset=US-ASCII
> 8084 Content-Disposition: inline
> 8084 Content-Transfer-Encoding: 7BIT
> 8084 MIME-Version: 1.0
> 8084 Received: from 83.31.240.199 by 192.168.240.101 with HTTP; Sun,
> 8084 17 Sep 2006 8:45:49 +0200
> 8084 Date: Sun, 17 Sep 2006 08:45:49 +0200
> 8084 From: rj_24@???
> 8084 To: rafalek@???
> 8084 Subject: fff
> 8084 X-Priority: 3
> 8084 X-Mailer: onet.poczta
> 8084 Message-Id: <20060917064601Z1289829-12889+306@???>
> 8084
> 8084 rewrite_one_header: type=F:
> 8084 From: rj_24@???
> 8084 rewrite_one_header: type=T:
> 8084 To: rafalek@???
> 8084 search_tidyup called
> 8084 >>Headers after rewriting and local additions:
> 8084 P Received: from pk4.test.onet.pl ([192.168.241.244]:49348 "EHLO
> 8084 pk4.test.onet.pl") by kps6.test.onet.pl with ESMTP
> 8084 id <S1289829AbWIQGpt>; Sun, 17 Sep 2006 08:45:49 +0200
> 8084 Content-Type: text/plain; charset=US-ASCII
> 8084 Content-Disposition: inline
> 8084 Content-Transfer-Encoding: 7BIT
> 8084 MIME-Version: 1.0
> 8084 P Received: from 83.31.240.199 by 192.168.240.101 with HTTP; Sun,
> 8084 17 Sep 2006 8:45:49 +0200
> 8084 Date: Sun, 17 Sep 2006 08:45:49 +0200
> 8084 F From: rj_24@???
> 8084 T To: rafalek@???
> 8084 Subject: fff
> 8084 X-Priority: 3
> 8084 X-Mailer: onet.poczta
> 8084 I Message-Id: <20060917064601Z1289829-12889+306@???>
> 8084
> 8084 Data file written for message 1GOqQX-00026O-P0
> 8084 >>Generated Received: header line
> 8084 P Received: from smtp6k.poczta.onet.pl ([213.180.130.51])
> 8084 by zenek.abc.kom.pl with esmtp (Exim 4.63 (FreeBSD))
> 8084 (envelope-from <rj_24@???>)
> 8084 id 1GOqQX-00026O-P0
> 8084 for rafalek@???; Sun, 17 Sep 2006 08:46:53 +0200
> 8084 end of inline ACL: implicit DENY
> 8084 SMTP>> 550 Administrative prohibition
> 8084 LOG: MAIN REJECT
> 8084 H=smtp6k.poczta.onet.pl [213.180.130.51] F=<rj_24@???> rejected after DATA
> 8084 search_tidyup called
> 8084 Process 8084 is ready for new message
> 8084 smtp_setup_msg entered
> 8084 SMTP<< QUIT
> 8084 SMTP>> 221 zenek.abc.kom.pl closing connection
> 8084 LOG: smtp_connection MAIN
> 8084 SMTP connection from smtp6k.poczta.onet.pl [213.180.130.51] closed by QUIT
> 8084 search_tidyup called
> 7990 child 8084 ended: status=0x0
> 7990 0 SMTP accept processes now running
> 7990 Listening...
>
> What I set wrong? and how to fix it?
> Thanks
> Rafał
Look at your 'DATA' acl section.
> 8084 end of inline ACL: implicit DENY
IF no prior acl 'accepts', an acl section will ultimately 'deny' by default.
Adding a plain 'accept' as the last entry should temporarily clear this
particular problem.
But what you really want to do is dig deeper and find out if that is what you
want for ALL such traffic not previously rejected.
HTH,
BIll