Subject: The mailing list for listmasters using Sympa
List archive
- From: "John Levine" <address@concealed>
- To: address@concealed
- Cc: address@concealed
- Subject: Re: [sympa-users] Qmail Configuration
- Date: 21 Aug 2020 22:20:52 -0400
In article <address@concealed> you write:
>Hi All,
>
> I'm working on a new Sympa installation. I have most things
>working, but a few things still elude me. Qmail is my service providers
>MTA. I created the initial set of aliases. However, when I create a new
>list using the wwsympa interface on the web, everything looks fine until
>I try to send email to the list. It bounces back saying there no mail
>user. This makes me think create list command is not creating mail
>aliases correctly for the new list. Does anyone have any tips for
>configuring sympa with Qmail? There was some mention in the archives of
>tweaks to one of the sympa scripts.
Sympa works fine with qmail with suitable scripts
I use this script as the alias_manager. My qmail virtualdomains file has
lines like this:
lists.iecc.com:sympa-lists.iecc.com
and I have this script as the alias manager.
================
#!/usr/local/bin/bash
#
# add or remove aliases for a list
log() {
logger -ip local2.info -t$(basename $0) "$*"
}
cd /home/sympa
log "$*"
list=${2:?"missing list name"}
domain=${3:?"missing domain"}
case "$1" in
add)
echo "|bin/queue $list@$domain" > .qmail-${domain//./:}-$list
echo "|bin/queue $list-request@$domain" >
.qmail-${domain//./:}-$list-request
echo "|bin/queue $list-editor@$domain" >
.qmail-${domain//./:}-$list-editor
echo "|bin/bouncequeue $list@$domain" >
.qmail-${domain//./:}-$list-owner
echo "|bin/queue $list-subscribe@$domain" >
.qmail-${domain//./:}-$list-subscribe
echo "|bin/queue $list-unsubscribe@$domain" >
.qmail-${domain//./:}-$list-unsubscribe
log "added aliases for $list@$domain"
;;
del)
rm -f .qmail-${domain//./:}-$list .qmail-${domain//./:}-$list-*
log "deleted aliases for $list@$domain"
;;
*)
log "??? mystery $*"
exit 1
esac
exit 0
================
--
Regards,
John Levine, address@concealed, Primary Perpetrator of "The Internet for
Dummies",
Please consider the environment before reading this e-mail. https://jl.ly
-
[sympa-users] Qmail Configuration,
Tony Castelletto, 08/21/2020
- Re: [sympa-users] Qmail Configuration, John Levine, 08/22/2020
Archive powered by MHonArc 2.6.19+.