|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Theodore Knab (tjk
annapolislinux.org)Date: Sun Mar 03 2002 - 14:03:24 CST
I am having difficulty with mailman and postfix.
I think the problem is my regular expression in
/etc/postfix/virtual-regexp
Below is everything except my kitchen sink ( error followed by my postfix settings):
Hopefully, someone else can use at a a model when fixed.
*******************
Postfix Reload error:
*******************
Mar 3 14:48:34 www postfix/master[13889]: reload configuration
Mar 3 14:48:34 www postfix/qmgr[5414]: warning:
/etc/postfix/virtual-regexp, line 5: error in regexp: Invalid range end.
Mar 3 14:48:34 www postfix/qmgr[5414]: warning:
/etc/postfix/virtual-regexp, line 6: error in regexp: Invalid range end.
*******************
Mailman errors:
----------------
*******************
The Postfix program <lugstuff-request
annapolislinux.org>: Command died
with status 1: "/var/lib/mailman/mail/wrapper mailcmd $EXTENSION"
Command output: Mailman error: mailcmd got no listname.
Final-Recipient: rfc822; lugstuff-request
annapolislinux.org
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; Command died with status 1:
"/var/lib/mailman/mail/wrapper mailcmd $EXTENSION". Command output:
Mailman error: mailcmd got no listname.
lugstuff-request
annapolislinux.org
Subject: Re: Lugstuff -- confirmation of subscription -- request 226273
Mail-Followup-To: lugstuff-request
annapolislinux.org
X-Envelope-Sender: Thedore Knab <tjk
annapolislinux.org>
confirm 226273
*******************
Postfix Settings:
*******************
annapolislinux:/etc/postfix# postfix -n
*******************
postfix: invalid option -- n
postfix: fatal: usage: postfix [-c config_dir] [-v] command
breezysolutions:/etc/postfix#
breezysolutions:/etc/postfix# postconf -n
alias_database = $alias_maps
alias_maps = hash:/etc/aliases
biff = no
body_checks = regexp:/etc/postfix/body_checks
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
default_privs = nobody
disable_vrfy_command = yes
header_checks = regexp:/etc/postfix/header_check
local_destination_concurrency_limit = 2
mail_spool_directory = /var/spool/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
maps_rbl_domains = blackholes.mail-abuse.org,
relays.mail-abuse.org, bl.spamcop.net, inputs.orbz.org,
outputs.orbz.org, relays.ordb.org
message_size_limit = 204800
mydestination = $myhostname, localhost.$mydomain, $mydomain,
mail.$mydomain, virtual.domain
mydomain = annapolislinux.org
mynetworks = 192.168.1.0/24, 127.0.0.0/8
myorigin = $mydomain
notify_classes = bounce, delay, policy, protocol, resource, software
program_directory = /usr/lib/postfix
recipient_delimiter = +
setgid_group = postdrop
smtpd_banner = $myhostname NO UCE ESMTP (To Hell Spammer)
smtpd_delay_reject = yes
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination reject_maps_rbl
reject_unknown_sender_domain reject_invalid_hostname permit
smtpd_sender_restrictions =
virtual_maps = hash:$config_directory/virtual,
regexp:/etc/postfix/virtual-regexp
annapolislinux: cat /etc/postfix/virtual
*******************
annapolis-linux.org annapolislinux.org
tjk
annapolis-linux.org tjk
linuxlovers.dhs.org annapolislinux.org
tjk
linuxlovers.dhs.org tjk
annapolislinux:/etc/postfix# cat virtual-regexp
*******************
# mandatory
/^(postmaster|root|abuse)
annapolislinux\.org$/ $1
annapolislinux.org
# commands
/^([\-a-zA-Z0-9_]+)-(post|admin|request|owner|on|off)
annapolislinux\.org$/
mailman-$2+$1
# lists (command -post)
/^([\-a-zA-Z0-9_]+)
annapolislinux\.org$/ mailman-post+$1
annapolislinux:/etc/postfix# cat /etc/aliases
*******************
postmaster :root
root : tjk
daemon : root
bin : root
sys : root
sync : root
games : root
man : root
lp : root
mail : root
news : root
uucp : root
proxy : root
majordom : root
postgres : root
www-data : root
backup : root
msql : root
operator : root
list : root
irc : root
gnats : root
nobody : root
mailman : tjk
mailer-daemon : postmaster
webmaster : root
mailman-post: "|/var/lib/mailman/mail/wrapper post $EXTENSION"
mailman-admin: "|/var/lib/mailman/mail/wrapper mailowner $EXTENSION"
mailman-request: "|/var/lib/mailman/mail/wrapper mailcmd $EXTENSION"
mailman-owner: "|/var/lib/mailman/mail/wrapper mailowner $EXTENSION"
mailman-on: "|formail -I'Subject: \
subscribe'|/var/lib/mailman/mail/wrapper mailcmd $EXTENSION"
mailman-off: "|formail -I'Subject: unsubscribe \
f'|/var/lib/mailman/mail/wrapper mailcmd $EXTENSION"
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]