Postfix/cleanup warning

2011-07-08 Thread Rytec


  
  
Dear members,
  
  I have changed today some things in the behaviour of the header
  checkup, I'm using the file from Jim Sun
  http://jimsun.linxnet.com/misc/header_checks.txt
  
  but in the mail logging it gives me this error :
  
  postfix/cleanup[2878]: warning: regexp map
  /etc/postfix/header_checks, line 92: Invalid preceding regular
  _expression_
  
  I already have commented out all the check lines by putting the
  "#" in front of each line but it still gives me this error.
  
  I'm using Ubuntu server LTS 10.04 with Postfix, maybe his
  header-check file is not made to use with Ubuntu Linux?
  
  thanks for your help
  
  Ryan

  



Re: Postfix/cleanup warning

2011-07-11 Thread Rytec


  
  
Hello Noel,
  
  Thanks for your fast reply, this is the output:
  
  btree
  cidr
  environ
  hash
  internal
  mysql
  nis
  proxy
  regexp
  sdbm
  static
  tcp
  texthash
  unix
  
  So I'm afraid pcre is not available, I will use the old file again
  and maybe I will use your extensionslist in the old file.
  Or I can install the postfix-pcre module in Ubuntu but Would it do
  harm or willI have to reconfigure everything?
  http://www.postfix.org/PCRE_README.html
  
  best regards,
  Ryan
  

Op 8/07/2011 17:32, Noel Jones schreef:

  On 7/8/2011 8:10 AM, Rytec wrote:

  
Dear members,

I have changed today some things in the behaviour of the
header checkup, I'm using the file from Jim Sun
http://jimsun.linxnet.com/misc/header_checks.txt

but in the mail logging it gives me this error :

postfix/cleanup[2878]: warning: regexp map
/etc/postfix/header_checks, line 92: Invalid preceding regular
_expression_

I already have commented out all the check lines by putting
the "#" in front of each line but it still gives me this error.

I'm using Ubuntu server LTS 10.04 with Postfix, maybe his
header-check file is not made to use with Ubuntu Linux?

thanks for your help

Ryan

  
  

That file is intended as a pcre: file, not regexp:

To see if your postfix supports pcre: maps, type
postconf -m
and see if pcre is listed.  If not, check with your OS vendor
for a version built with pcre support.

If you do have pcre support:
# main.cf
header_checks = pcre:/path/to/header_checks.txt

Test it like this:
postmap -q test pcre:header_checks.txt
The above should produce no output.  If you get errors, you
have junk in your copy of the file; download it again.


  -- Noel Jones


  



Fwd: Postfix SMTP server: errors from 118-167-100-152.dynamic.hinet.net[118.167.100.152]

2011-07-14 Thread Rytec

  
  
Dear members,
  
  Which restriction should I need to use to prevent HELO/EHLO
  connections with IP numbers ?
This person is spoofing me.
  See example below.
  
  regards,
  Ryan

 Originele bericht 

  

  Onderwerp:
  
  Postfix SMTP server: errors from
118-167-100-152.dynamic.hinet.net[118.167.100.152]


  Datum: 
  Thu, 14 Jul 2011 14:02:49 +0200 (CEST)


  Van: 
  mailer-dae...@mail.rytec.be (Mail Delivery System)


  Aan: 
  postmas...@rytec.be (Postmaster)

  



Transcript of session follows.

 Out: 220 mail.rytec.be ESMTP Postfix (Ubuntu)
 In:  HELO 77.109.86.75
 Out: 250 mail.rytec.be
 In:  MAIL FROM: 
 Out: 250 2.1.0 Ok
 In:  RCPT TO: 
 Out: 554 5.7.1 Service unavailable; Client host [118.167.100.152] blocked
 using b.barracudacentral.org

Session aborted, reason: lost connection

For other details, see the local mail logfile

  



Fwd: Postfix SMTP server: errors from 114-24-208-96.dynamic.hinet.net[114.24.208.96]

2011-07-14 Thread Rytec

  
  
Sorry guys,
  
  Now I got a new request and I see it is rejected by Postfix, so it
  means that first it is checked by dnsbl and after that passed it
  is checked by Postfix itself.
  So I should rearrange my restriction order in main.cf ?
  
  regards,
  Ryan

 Originele bericht 

  

  Onderwerp:
  
  Postfix SMTP server: errors from
114-24-208-96.dynamic.hinet.net[114.24.208.96]


  Datum: 
  Thu, 14 Jul 2011 14:46:51 +0200 (CEST)


  Van: 
  mailer-dae...@mail.rytec.be (Mail Delivery System)


  Aan: 
  postmas...@rytec.be (Postmaster)

  



Transcript of session follows.

 Out: 220 mail.rytec.be ESMTP Postfix (Ubuntu)
 In:  HELO 77.109.86.75
 Out: 250 mail.rytec.be
 In:  MAIL FROM: 
 Out: 250 2.1.0 Ok
 In:  RCPT TO: 
 Out: 504 5.5.2 <77.109.86.75>: Helo command rejected: need fully-qualified
 hostname

Session aborted, reason: lost connection

For other details, see the local mail logfile

  



Re: Fwd: Postfix SMTP server: errors from 114-24-208-96.dynamic.hinet.net[114.24.208.96]

2011-07-14 Thread rytec
oeps, something went wrong with my message, I see the mail info is not 
attached, see below the two different sessions:


Transcript of session follows.

 Out: 220 mail.rytec.be ESMTP Postfix (Ubuntu)
 In:  HELO 77.109.86.75
 Out: 250 mail.rytec.be
 In:  MAIL FROM:
 Out: 250 2.1.0 Ok
 In:  RCPT TO:
 Out: 554 5.7.1 Service unavailable; Client host [114.44.105.43] blocked using
 b.barracudacentral.org

Session aborted, reason: lost connection

For other details, see the local mail logfile


Transcript of session follows.

 Out: 220 mail.rytec.be ESMTP Postfix (Ubuntu)
 In:  HELO 77.109.86.75
 Out: 250 mail.rytec.be
 In:  MAIL FROM:
 Out: 250 2.1.0 Ok
 In:  RCPT TO:
 Out: 504 5.5.2<77.109.86.75>: Helo command rejected: need fully-qualified
 hostname

Session aborted, reason: lost connection

For other details, see the local mail logfile



Op 14/07/2011 21:12, Jeroen Geilman schreef:

On 2011-07-14 15:13, Rytec wrote:

Sorry guys,

Now I got a new request and I see it is rejected by Postfix, so it 
means that first it is checked by dnsbl and after that passed it is 
checked by Postfix itself.

So I should rearrange my restriction order in main.cf ?


Should we know ?

Perhaps you can show them.


--
J.