delimiter problem
Hi
i have some lists named "list-mylist", with a dash ("-").
In previous postings I read, that it's not possible to use the "-"-delimiter in that cases. But the "+"-delimiter would be possible.
In Germany we have a very well known freemail hoster (web.de), and their webmail gui does not accept the "+"-character within email addresses. People who want to subscribe to (or unsubscribe from) an mlmmj based list via a freemailer's webmail gui are not able to send emails to i.e. [email protected]
Are there any plans to make it possible to use [email protected] named lists with the "-"-delimiter?
Oliver
Quoted 3 lines · Oliver Gading
i have some lists named "list-mylist", with a dash ("-"). In previous postings I read, that it's not possible to use the "-"-delimiter in that cases. But the "+"-delimiter would be possible.
Well, it depends on your mail server software. If it exports the "recipient extra" data as an environment variable, it will work just fine. Examples of such fine mail server software is qmail, Postfix and Exim.
Quoted 2 lines
In Germany we have a very well known freemail hoster (web.de), and their webmail gui does not accept the "+"-character within email addresses.
That is bad. Have you told them about the issue?
Quoted 2 lines
Are there any plans to make it possible to use [email protected] named lists with the "-"-delimiter?
Not if your mail server does not export the "recipient extra" data. It is impossible to tell if "[email protected]" is for "list" with "faq" as extra data, or if it is for "list-faq" with no extra data.
Merry Christmas,
Morten
Signature · 2 lines
Morten K. Poulsen <[email protected]> http://www.afdelingp.dk/
Hello Morten
Quoted 10 lines
-----Original Message-----
From: Morten K. Poulsen [mailto:[email protected]]
Sent: Monday, December 24, 2007 11:30 PM
To: [email protected]
Subject: Re: delimiter problemQuoted 3 lines · Oliver Gading
i have some lists named "list-mylist", with a dash ("-"). In previous postings I read, that it's not possible to use the "-"-delimiter in that cases. But the "+"-delimiter would be
Quoted 6 lines
possible.
Well, it depends on your mail server software. If it exports the "recipient extra" data as an environment variable, it will work just fine. Examples of such fine mail server software is qmail, Postfix and Exim.
I wrote a small shell script which executes "env" and writes its output to a log file. In postfix aliases file I replaced mlmmj-receive with my shell script. Following environment variables are exported by postfix:
USER=list-mylist
LOCAL=list-mylist_subscribe
EXTENSION=subscribe
DOMAIN=<MAILHOSTNAME>.<MAILHOSTDOMAIN(.TLD)>
LOGNAME=list-mylist
When changing postfix's recipient_delimiter to "-" and also the mlmmj lists delimiter to "-" then following line appears in the mail.log file:
---------------------------------------------------------
<DATE> <HOST> /usr/local/bin/mlmmj-process[13838]: listcontrol.c:740:
Unknown command "mylist". Ignoring mail: Success
---------------------------------------------------------
The mail is not being delivered to the subscribers.
But when changing back the delimiter to i.e. "_" (or "+") then all things work properly.
Quoted 6 lines
Quoted 3 lines
In Germany we have a very well known freemail hoster (web.de), and their webmail gui does not accept the "+"-character within
email addresses.
That is bad. Have you told them about the issue?
No. But this is the only free-webmailer I was testing. May be there are other webmail companies around who are not supporting a "+"-sign within email addresses.
Quoted 9 lines
Quoted 2 lines
Are there any plans to make it possible to use
Quoted 1 line
named lists with the "-"-delimiter?
Not if your mail server does not export the "recipient extra" data. It is impossible to tell if "[email protected]" is for "list" with "faq"
as extra data, or if it is for "list-faq" with no extra data.
See my notes above.
Oliver
Hi Oliver,
Sorry about the delay - I've been snow boarding.
Quoted 1 line · Oliver Gading
I wrote a small shell script which executes "env"
...
Quoted 3 lines
USER=list-mylist
LOCAL=list-mylist_subscribe
EXTENSION=subscribe
Ok. Then mlmmj will (or at least should) use the EXTENSION variable.
Quoted 6 lines
When changing postfix's
recipient_delimiterto "-" and also the mlmmj lists delimiter to "-" then following line appears in the mail.log file:---------------------------------------------------------
<DATE> <HOST> /usr/local/bin/mlmmj-process[13838]: listcontrol.c:740:
Unknown command "mylist". Ignoring mail: Success
This means that mlmmj is using a part of the list name as the command. It could be because there was no EXTENSION variable and mlmmj used the fall-back (parsing the Delivered-To header).
Could you test this (delimiter in the name and no extension) with your env-script? If Postfix does not export the EXTENSION variable if there is no extension, then you need to patch out the fall-back code.
Morten
Signature · 2 lines
Morten K. Poulsen <[email protected]> http://www.afdelingp.dk/