LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-31-2008, 05:04 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Amavisd-new Config File Missing?


I am running Debian as a new email server (Lenny) and installed amavisd-new from apt-get:

Code:
mail:/# apt-cache policy amavisd-new
amavisd-new:
  Installed: 1:2.6.0.dfsg-2
  Candidate: 1:2.6.0.dfsg-2
  Version table:
 *** 1:2.6.0.dfsg-2 0
        500 http://ftp.us.debian.org lenny/main Packages
        100 /var/lib/dpkg/status
I then made sure that the service is running fine on the system which it appears to be...

Code:
mail:/# /etc/init.d/amavis start
Starting amavisd: (already running).
mail:/# ps -ef | grep amavis
amavis    7492     1  0 17:12 ?        00:00:00 amavisd (master)
amavis    7493  7492  0 17:12 ?        00:00:00 amavisd (virgin child)
amavis    7494  7492  0 17:12 ?        00:00:00 amavisd (virgin child)
So now I am looking for the config file which normally would be located in /etc/amavisd.conf however its not there. I checked in /etc/amavis/ and I am unable to locate this anywhere and I even did a locate after updatedb. There does not appear to be a config file. How is this possible?

Code:
mail:/# cd /etc/amavis/
mail:/etc/amavis# ls -l
total 12
drwxr-xr-x 2 root root 4096 2008-07-31 17:12 conf.d
drwxr-xr-x 2 root root 4096 2008-07-31 17:12 en_US
-rw-r--r-- 1 root root  978 2008-07-02 16:37 README.l10n
mail:/etc/amavis# cd conf.d/
mail:/etc/amavis/conf.d# ls -l
total 56
-rw-r--r-- 1 root root  1640 2008-07-02 16:37 01-debian
-rw-r--r-- 1 root root   692 2008-07-02 16:37 05-domain_id
-rw-r--r-- 1 root root   235 2008-07-02 16:37 05-node_id
-rw-r--r-- 1 root root 13907 2008-07-02 16:37 15-av_scanners
-rw-r--r-- 1 root root   554 2008-07-02 16:37 15-content_filter_mode
-rw-r--r-- 1 root root  9248 2008-07-02 16:37 20-debian_defaults
-rw-r--r-- 1 root root   573 2008-07-02 16:37 25-amavis_helpers
-rw-r--r-- 1 root root  2130 2008-07-02 16:37 30-template_localization
-rw-r--r-- 1 root root   318 2008-07-02 16:37 50-user
 
Old 07-31-2008, 05:13 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Doesn't /etc/init.d/amavis give you any hints?

What about locate amavis*

or find / -name amavis
 
Old 08-01-2008, 01:08 AM   #3
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Debian breaks the config file into pieces. See:

http://www200.pair.com/mecham/spam/d...new_2.4.2.html
 
Old 08-01-2008, 07:20 AM   #4
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by Mr. C. View Post
Debian breaks the config file into pieces. See:

http://www200.pair.com/mecham/spam/d...new_2.4.2.html
I just found that out and this is very annoying and messy in my opinion. Debating on throwing this on CentOS for that very reason. If I am following a guide and the 1st step says:

Go to your /etc/amavisd.conf file and add the "re-inject" paramters for Postfix:

Code:
 $notify_method  = 'smtp:[127.0.0.1]:10025';
 $forward_method = 'smtp:[127.0.0.1]:10025';
Now if Debian splits it up into 8-10 different files, how am I suppose to know which files the suggested above strings are to be added to?
 
Old 08-01-2008, 11:07 AM   #5
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Each file is documented. You should look at each one, and your question should be answered.

While I don't like that each distro feels this compulsion to change every this and that to suite their personal taste (and thus breaking existing documentation, and requiring additional documentation and learning for everyone), that's the way of the distro. Each has its idiosyncrasies. Someday this software industry of ours will wise up and realize the enormity of the wasted money in the constant churn.

If this is your only reason for changing, that seems almost glib or petty. One of the key amavisd-new mailing list helpers wrote the articles I referenced, and uses Debian, so you are in good hands.

And you always have the option of just using the source (amavisd is a single file and a config file!).

Last edited by Mr. C.; 08-01-2008 at 01:25 PM.
 
Old 08-01-2008, 11:42 AM   #6
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
I believe you are talking about Alex Wirt and yes he has been extremely helpful with Amavisd on Debian. I will try and move forward.
 
Old 08-01-2008, 01:26 PM   #7
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
I was actually talking about GaryV who wrote the articles I gave as references. I saw your thread on the amavis list and agree Alex was very helpful.
 
  


Reply



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
500VSFTPD Error [OOPS: missing value in config file for: ] rhonneil Linux - Newbie 1 04-20-2006 01:56 AM
Running Firestarter: Missing config file ! Biased turkey Mandriva 4 01-20-2005 08:42 AM
Upgraded to Kernel ver. 2.6.1 and the config.in file is missing massai Debian 4 01-28-2004 12:50 PM
Lan Config file / internet config file Raven_X_Neo Linux - Networking 1 10-30-2002 01:05 PM
gtk-config file for 'configure' missing under Suse 7.1 tonderai Linux - General 3 12-05-2001 11:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:38 PM.

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