LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-18-2008, 10:38 AM   #1
shudini
LQ Newbie
 
Registered: Jul 2008
Posts: 6

Rep: Reputation: 0
Postfix regexp header_checks issue


I'm running postfix 2.5.1 on ubuntu server 8.04.

I use the header_checks file with regex to try and block common spam headers, etc.

everything was working fine until a few days ago (not sure exactly when), for no apparent reason, whenever i would try to rebuild the header_checks file, it would give me an error message stating

Failed to regenerate table /etc/postfix/header_checks: postmap: fatal: dict_mkmap_func: unsupported dictionary type: regexp: Is the postfix-regexp package installed?

I checked postconf -m which yielded

Code:
$ postconf -m
btree
cidr
environ
hash
nis
pcre
proxy
regexp
sdbm
static
tcp
unix
the strange thing is that any new regexp that i add is effectively blocked, so postfix is obviously successfully rebuilding the table. I am a little concerned, though, that this is a more fundamental problem that will get worse.

any help would be greatly appreciated.

-Shuie
 
Old 12-22-2008, 09:24 AM   #2
shudini
LQ Newbie
 
Registered: Jul 2008
Posts: 6

Original Poster
Rep: Reputation: 0
...update:

so I haven't gotten any help here, so i've been trying to retrace my steps to figure out what i changed on the server that might be causing this error.

I set up a brand new server with the latest version of Postfix and restored the exact same configuration files. applying the exact same header_checks file worked fine with no errors.

One thing i neglected to mention is that i recently upgraded from webmin 1.430 to webmin 1.441. so on this new server, after everything was up and running fine with no errors i installed webmin 1.441 and presto - the error started again.

So now I'm wondering if anyone has any idea what might be causing this and what my options are. I guess i'll try and figure out how to downgrade to a previous version of webmin to see if that would work, but I'm open to suggestions as to how to proceed.

Thanks,

-Shuie

Last edited by shudini; 12-22-2008 at 09:43 AM.
 
Old 12-22-2008, 09:46 AM   #3
shudini
LQ Newbie
 
Registered: Jul 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Successfully downgraded to Webmin 1.430 and the problem has gone away.

i hope this helps someone else out in the future.
 
Old 06-06-2009, 08:17 PM   #4
leftblank
LQ Newbie
 
Registered: Aug 2006
Location: Outside of Myself
Distribution: Ubuntu, Debian, FreeBSD, CentOS, Fedora, OpenBSD
Posts: 14

Rep: Reputation: 0
Upgrade webmin to the latest

1.470 works. I was on 1.44(I think) and it had stopped allowing changes. I upgraded 3 machines webmin to 1.470 and it fixed it on all three.
 
Old 06-07-2009, 01:19 PM   #5
shudini
LQ Newbie
 
Registered: Jul 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the update.

I actually found it listed as a bug on webmin's forum to be corrected. I also have upgraded to 1.470 and all is working perfectly.

-Shuie
 
  


Reply

Tags
headers, postfix, regexp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get header_checks to apply to local_host in postfix dlublink Linux - Server 2 08-19-2008 02:01 PM
How do I use a regexp in Postfix alias table? quackking Linux - Server 11 04-13-2007 12:10 PM
Postfix: Host-specific header_checks kidders Linux - Software 1 06-22-2006 06:21 AM
[postfix] header_checks filter problem pixel101 Linux - Software 1 05-24-2005 02:45 PM
postfix regexp question wijnands Linux - Newbie 1 06-03-2004 06:19 AM


All times are GMT -5. The time now is 01:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration