---- Quoting Federico Sevilla III's message, sent 07/13/00 5:51pm ----
[some portion snipped]
> I've setup my Postfix installation to use Maildir's, which I still
> prefer over the /var/spool/mail/$USER system (Maildir's are
> actually why I moved to QMail in the first place), and am using
> maildrop-0.75 as my MDA, which is working very well and is
> supposed to be more efficient than procmail. To set maildrop to be
> the MDA for all users without the need for some eccentric per-user
> setup, I put the following line in my main.cf:
For qmail-style delivery (maildir), add a trailing '/' to your
`home_mailbox' parameter (i.e. home_mailbox = Maildir/)
> mailbox_command = /usr/local/bin/maildrop -d $USER
>
> Then I created a file .mailfilter in /etc/skel (and in the home
> directories of each of my existing users) containing:
>
> DEFAULT="$HOME/Maildir"
>
> I've also found out why fetchmail's nobouncemail didn't work for
> my initial setup, which got me flooded with a lot of bounce
> messages for invalid users instead of getting them to my fetchmail
> postmaster user. To get things to work I uncommented the line:
>
> local_recipient_maps = $relocated_maps $alias_maps unix:passwd.byname
>
> in main.cf. This is documented in the FAQ under "Postfix accepts
> mail for non-existing local users".
>
> I have a question for those already using PostFix: I'm not very
> comfortable with maintaining my aliases using the standard
> text/hash format, and was hoping to try out dbm. What program do I
> use to maintain dbm files? QMail's one-file-per-alias system is
> pretty neat in some ways, I have to admit. I have yet to check out
> dbm, though.
If you want to use dbm, just specify your map file as `dbm' --
alias_maps = dbm:/etc/postfix/aliases
> Another thing: anyone have an existing solution for mapping an
> alias, say, 'everybody' to all users with UID >= 500? With my
> QMail setup (that I'm hoping to move to PostFix for no particular
> reason) I maintain a file ~alias/.qmail-everybody with a list of
> all my users with e-mail addresses (all those in the passwd file
> that are not system accounts, and therefore have UID >= 500 in my
> RedHat system). I could do the same with my text/hash format, or
> with dbm if and when I find out how to work on that format, but
> perhaps there's a more manageable method.
You can create a script that can be executed once in a while that
extracts all users with UID >= 500 from your /etc/passwd file and
dumping them all to an alias file which Postfix can access. Just make
sure that you're the only one who can send to that alias as this
'feature' can be abused.
--
francis vidal university of st. la salle, bacolod city, philippines
. . . . . . . PGP key available via e-mail / subject: get PGP key
u s l s N E T tel nos. (+63.34).433.3526 / fax (+63.34).434.0415
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]