misunderstanding of some connections

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

misunderstanding of some connections

fakessh @
hi all
hi folks
hi wieste : the saincristain of postfix
hi all the postfix network

I consult regularly logs postfix
I consult regularly logs postfix, and he appears regularly attempts to
connect mx3.mail2000.com.tw
and that is that I do not understand how it happens
I have the following rules in my postfix config

smtpd_recipient_restrictions
 check_client_access regexp:/etc/postfix/blacklist_clients
~]# cat  /etc/postfix/blacklist_clients
/\.dynamic\.hinet\.net$/    REJECT UCE black-listed.
/\.seed\.hinet\.net$/           REJECT UCE black-listed.
/\.br\.hinet\.net$/             REJECT UCE black-listed.
/\.ms1\.hinet\.net$/                  REJECT UCE black-listed.
/\mx3\.mail2000\.com\.tw$/           REJECT
/\mx2\.mail2000\.com\.tw$/           REJECT
/\mx2\.mail\.tw\.yahoo\.com$/         REJECT
/\mx1\.mail\.tw\.yahoo\.com$/         REJECT
/\.HINET-IP\.hinet\.net$/    REJECT UCE black-listed.



this may be a confusion between elementary smtpd_client_restrictions
vs smtpd_recipient_restrictions

many return are welcome
Please take the time to explain well

Reply | Threaded
Open this post in threaded view
|

Re: misunderstanding of some connections

Noel Jones-2
On 8/31/2010 7:19 PM, fakessh wrote:

> hi all
> hi folks
> hi wieste : the saincristain of postfix
> hi all the postfix network
>
> I consult regularly logs postfix
> I consult regularly logs postfix, and he appears regularly
> attempts to connect mx3.mail2000.com.tw
> and that is that I do not understand how it happens
> I have the following rules in my postfix config
>
> smtpd_recipient_restrictions
> check_client_access regexp:/etc/postfix/blacklist_clients
> ~]# cat /etc/postfix/blacklist_clients
> /\.dynamic\.hinet\.net$/ REJECT UCE black-listed.
> /\.seed\.hinet\.net$/ REJECT UCE black-listed.
> /\.br\.hinet\.net$/ REJECT UCE black-listed.
> /\.ms1\.hinet\.net$/ REJECT UCE black-listed.
> /\mx3\.mail2000\.com\.tw$/ REJECT
> /\mx2\.mail2000\.com\.tw$/ REJECT
> /\mx2\.mail\.tw\.yahoo\.com$/ REJECT
> /\mx1\.mail\.tw\.yahoo\.com$/ REJECT
> /\.HINET-IP\.hinet\.net$/ REJECT UCE black-listed.
>
>
>
> this may be a confusion between elementary
> smtpd_client_restrictions vs smtpd_recipient_restrictions
>
> many return are welcome
> Please take the time to explain well
>


Please show the log entries you are wondering about.


Reply | Threaded
Open this post in threaded view
|

Re: misunderstanding of some connections

Bill Weiss-5
In reply to this post by fakessh @
fakessh([hidden email])@Wed, Sep 01, 2010 at 02:19:46AM +0200:

> hi all
> hi folks
> hi wieste : the saincristain of postfix
> hi all the postfix network
>
> I consult regularly logs postfix
> I consult regularly logs postfix, and he appears regularly attempts
> to connect mx3.mail2000.com.tw
> and that is that I do not understand how it happens
> I have the following rules in my postfix config
>
> smtpd_recipient_restrictions
> check_client_access regexp:/etc/postfix/blacklist_clients
> ~]# cat  /etc/postfix/blacklist_clients
> /\.dynamic\.hinet\.net$/    REJECT UCE black-listed.
> /\.seed\.hinet\.net$/           REJECT UCE black-listed.
> /\.br\.hinet\.net$/             REJECT UCE black-listed.
> /\.ms1\.hinet\.net$/                  REJECT UCE black-listed.
> /\mx3\.mail2000\.com\.tw$/           REJECT
> /\mx2\.mail2000\.com\.tw$/           REJECT
> /\mx2\.mail\.tw\.yahoo\.com$/         REJECT
> /\mx1\.mail\.tw\.yahoo\.com$/         REJECT
> /\.HINET-IP\.hinet\.net$/    REJECT UCE black-listed.
>
> this may be a confusion between elementary smtpd_client_restrictions
> vs smtpd_recipient_restrictions

"\m" isn't the same as "m".  You don't need to start your regexes with a
backslash unless there's a character you want to escape (e.g. ".").

--
Bill Weiss