#
# aliases - an example of /etc/aliases for system use of abmail
#
# Copyright (C) 2006-2008 Taiji Yamada <taiji@aihara.co.jp>
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Affero General Public License for more details.
#
root: "|/opt/local/bin/procmail -Y -m ALIASES=foo,bar ANALIAS=root /etc/procmailrcs/aliases.rc || exit 75 #root"
sales: "|/opt/local/bin/procmail -Y -m ALIASES=foo,bar ANALIAS=sales /etc/procmailrcs/aliases.rc || exit 75 #sales"
#
# majordomo
#
majordomo: "|/opt/local/bin/procmail -Y -m OWNER=root ALIASES='\\\"|/opt/local/majordomo/wrapper majordomo\\\"' ANALIAS=majordomo /etc/procmailrcs/aliases.rc || exit 75 #majordomo"
owner-majordomo: majordomo-owner
majordomo-owner: root
#
# abmail-devel list
#
abmail-devel: "|/opt/local/majordomo/wrapper resend -l abmail-devel abmail-devel-list"
abmail-devel-list: "|/opt/local/bin/procmail -Y -m OWNER=bar ONLY_DELIVERED_TO=abmail-devel ALIASES=:include:/opt/local/majordomo/lists/abmail-devel ANALIAS=abmail-devel-list /etc/procmailrcs/aliases.rc || exit 75 #abmail-devel-list"
#abmail-devel-list: "|/opt/local/bin/procmail -Y -m /etc/procmailrcs/abmail-devel-list.rc || exit 75 #abmail-devel-list"
abmail-devel-request: abmail-devel-owner
owner-abmail-devel: abmail-devel-owner
abmail-devel-owner: bar
