LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-18-2008, 01:27 AM   #1
homyangcha
Member
 
Registered: Jun 2008
Posts: 31

Rep: Reputation: 15
what is the meaning of /etc/postfix/filter_10024_catchall:


i encountered a line in the middle of my Mail:KIM configuration with postfix and amavisd, but could not exactly make out what is the instruction. this are the lines:

/etc/postfix/filter_10024_catchall:
/^/ FILTER smtp-amavis:[127.0.0.1]:10024

what does it mean? i mean is it asking us to create a new file called "filter_10024_catchall" and add the line
"/^/ FILTER smtp-amavis:[127.0.0.1]:10024" or something else.

Please explain if anybody have idea on this.

Thanks
 
Old 09-18-2008, 01:34 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
This looks like a header_check/body_check, which calls a filter action. The action is to call amavis at port 10024. The action is triggered by any "beginning of line", which means anything since all lines have beginnings.

This can also be done using a content_filter instead of header/body checks, where amavis is called for virus and antispam scanning. In addition, never versions of amavis can DKIM sign mail for you.

Are you following a HowTo? Are you purposefully using header/body checks instead of a content_filter?

See: http://www.ijs.si/software/amavisd/a...docs.html#dkim
 
Old 09-18-2008, 02:57 AM   #3
homyangcha
Member
 
Registered: Jun 2008
Posts: 31

Original Poster
Rep: Reputation: 15
what is the meaning of /etc/postfix/filter_10024_catchall:

yes Mr. C i am following a howto configure Mail-DKIM with amavisd and tweak with various other components such as postfix. infact i encountered the above line form the document you have mentioned in you post; "http://www.ijs.si/software/amavisd/a...docs.html#dkim". can you tell me what exactly does it mean? i mean do we need to create a file "filter_10024_catchall" and add the said line or something else?

Thanks again
 
Old 09-18-2008, 08:49 AM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
I was incorrect above - it is not a header/body check, but an access rule. This is for a milter DKIM setup. Yes, you must create the file filter_10024_catchall if you use the setup shown in the dkim milter signing howto in the link above. HOWEVER...

I'm using amavis itself to do the signing instead, with is provided in the 2.6.0 release. This is MUCH simpler. See:

http://www.ijs.si/software/amavisd/release-notes.txt section: A QUICK START TO DKIM SIGNING.
 
Old 09-18-2008, 10:47 PM   #5
homyangcha
Member
 
Registered: Jun 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks again Mr. C for all the information rendered. But i could not understand anything from the document you have linked in your last post, which is apparent as i m quite new to linux. My objective is to set up a mail signing and verifying with perl Module Mail-DKIM version 0.32.1 which is already installed in my server with amavisd-new.2.6.1 which is also already installed. I am using postfix 2.3.3 as my MTA. Now can you help me to configure how i can use amavisd itself to do the signing. How can i test the configuration?

Thanks a million
 
Old 09-18-2008, 11:34 PM   #6
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Verifying is the easy part - you just enable:

$enable_dkim_verification = 1; # enable DKIM signatures verification

This is from the amavisd.conf-sample file, and indicated in the "A QUICK START TO DKIM VERIFICATION" portion of the amavisd release notes.

Setting up signing is not trivial, and can't be explained without a fair amount of learning on your part. There are a number of good threads in the amavisd-new mailing list archives (look for DKIM in the thread's subject). These are some very useful conversations between other users like yourself and amavis' author. I suggest spending time reading the threads (any since the release of amavis 2.6.0).

I'm happy to help, but we'll need to get to specific questions. I understand it is difficult to start when none of the terminology means anything to you. Perhaps you're not ready for this, and should first focus on learning the prerequisite terminology and knowledge referenced in the A QUICK START TO DKIM SIGNING (or VERIFICATION).

You can test the configuration by sending mail via the signed domain to: sa-test@sendmail.net.
 
  


Reply


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
The meaning of SU... custangro Linux - General 34 11-10-2014 10:18 PM
Postfix: postfix: fatal: chdir(/usr/libexec/postfix) Micro420 Ubuntu 2 07-13-2008 12:21 PM
Meaning of -R, --g, -G shipon_97 Linux - Newbie 1 11-23-2006 11:02 AM
port meaning. bruse Linux - Newbie 2 01-25-2006 08:21 AM
Meaning of mask number on the mynetworks under Postfix blur Linux - Software 0 05-05-2004 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration