Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th August 2007, 17:47
sicnarf sicnarf is offline
Junior Member
 
Join Date: Aug 2007
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Default Amavisd-new configuration with Virtual Users And Domains With Postfix

Hi all,

I have been performing this howto already, and everything has went well until I reach this page:

http://www.howtoforge.com/virtual_po...ota_courier_p3

My concern is about configuring amavisd-new. Using apt-get amavisd-new I think gets the new version of amavisd-new and it now has a different structure in terms of storing configuration files. It doesn't anymore have the amavisd.conf file in /etc, rather it now has different filed in /etc/amavis/conf.d.

Reading through the sample file given in the link below and the structure of the new files, the only thing I could not find is how to set the following line:

@lookup_sql_dsn = ( ['DBI:mysql:database=mail;host=127.0.0.1;port=3306' , 'mail_admin', 'mail_admin_password']

This line is supposed to set the database to the mysql database that was setup earlier. Grepping the entire directory, I can't find this line now. Reading through the manual of the new structure, I think it should be placed in 20-debian_defaults but i'm not sure.

I can volunteer to re-write this page(as well as page 2 for the vda patch) if somebody can provide me with the way to configure the new amavisd configuration file. I'm also looking at integrating roundcube with this howto, and if I will be successful, I'll write it up for all of us to scrutinize and improve.

Thanks in advance.

Sicnarf

Addendum:

After searching through the site, I found out that what I followed was the generic version of the howto. I found a howto for virtual user setup using ubuntu 6.10 and debian etch, but surprisingly there is already no mention of how to configure it to use mysql. Is it automatically configured then? I guess this is my real question now. =)

Thanks again.

Sicnarf

Last edited by sicnarf; 11th August 2007 at 19:21.
Reply With Quote
Sponsored Links
  #2  
Old 12th August 2007, 11:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

If you have a file /etc/amavis/conf.d/50-user, you should add the line

@lookup_sql_dsn =
( ['DBI:mysql:database=mail;host=127.0.0.1;port=3306' , 'mail_admin', 'mail_admin_password'] );

there.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th August 2007, 17:07
sicnarf sicnarf is offline
Junior Member
 
Join Date: Aug 2007
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
 
Cool Thanks Till

Thanks for the info till. Perhaps we should re-write the howto for ubuntu 7.04. I'm setting it up on this. I will give feedback once I get this to work. I'm also integrating roundcube with it now. Will also give feedback if this is successful. Thanks again.

Sicnarf
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues with Postfix using "Virtual Users And Domains With Postfix, Courier And MySQL" Kyse HOWTO-Related Questions 15 6th January 2007 15:35
Virtual Users And Domains With Postfix, Courier And MySQL [+ procmail ?] immobilia HOWTO-Related Questions 5 29th June 2006 23:20
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs mholownych HOWTO-Related Questions 10 29th May 2006 03:39
Problem with Virtual Users And Domains With Postfix, Courier And MySQL Howto fenix Server Operation 4 11th March 2006 02:53
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 01:41


All times are GMT +2. The time now is 22:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.