3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] sql, aliases and ...
FromSent OnAttachments
Tim HunterAug 9, 2002 12:39 pm 
Nick RiemondiAug 9, 2002 1:15 pm 
Randall ShawAug 9, 2002 1:39 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] sql, aliases and mailing listsActions...
From:Nick Riemondi (ni@outerscape.net)
Date:Aug 9, 2002 1:15:39 pm
List:net.sourceforge.lists.courier-users

ti@brokenbits.com writes:

I think the true courier method is to edit in /etc/courier/alises but I don't want anything to execute as root for security reasons.

I went through this as well, though I can't imagine tackling it without using scripts executing as root. I've built a complete web front end as which maintains all of our services. Users and domains are all stored in a postgres database and I use scripts which run as cron jobs to write the necessary files. I just set a flag in the db, every minute the script runs, if the flag is set it updates the necessary files.

I'm using my domains table to populate the esmtpacceptmailfor and hosteddomains files (and also to create my named.conf and zonefiles! but that's a different story). I also create a forwards and aliases file in etc/aliases.

I assume since you're using postgres all your mailusers are virtual. If you set permissions correctly I can't think of any security issues.

What is your security concern?

Nick