* delimiter problem
@ 2007-12-21 16:12 Oliver Gading
2007-12-24 22:30 ` Morten K. Poulsen
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Oliver Gading @ 2007-12-21 16:12 UTC (permalink / raw)
To: mlmmj
[-- Attachment #1: Type: text/plain, Size: 636 bytes --]
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.
list-mylist+subscribe@domain.tld
Are there any plans to make it possible to use list-mylist@domain.tld named
lists with the "-"-delimiter?
Oliver
[-- Attachment #2: Type: text/html, Size: 2007 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: delimiter problem
2007-12-21 16:12 delimiter problem Oliver Gading
@ 2007-12-24 22:30 ` Morten K. Poulsen
2007-12-26 21:49 ` Oliver Gading
2007-12-29 19:20 ` Morten K. Poulsen
2 siblings, 0 replies; 4+ messages in thread
From: Morten K. Poulsen @ 2007-12-24 22:30 UTC (permalink / raw)
To: mlmmj
Oliver Gading wrote:
> 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.
> 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?
> Are there any plans to make it possible to use list-mylist@domain.tld
> named lists with the "-"-delimiter?
Not if your mail server does not export the "recipient extra" data. It
is impossible to tell if "list-faq@example.com" is for "list" with "faq"
as extra data, or if it is for "list-faq" with no extra data.
Merry Christmas,
Morten
--
Morten K. Poulsen <morten@afdelingp.dk>
http://www.afdelingp.dk/
^ permalink raw reply [flat|nested] 4+ messages in thread* RE: delimiter problem
2007-12-21 16:12 delimiter problem Oliver Gading
2007-12-24 22:30 ` Morten K. Poulsen
@ 2007-12-26 21:49 ` Oliver Gading
2007-12-29 19:20 ` Morten K. Poulsen
2 siblings, 0 replies; 4+ messages in thread
From: Oliver Gading @ 2007-12-26 21:49 UTC (permalink / raw)
To: mlmmj
Hello Morten
> -----Original Message-----
> From: Morten K. Poulsen [mailto:morten@afdelingp.dk]
> Sent: Monday, December 24, 2007 11:30 PM
> To: mlmmj@mmj.dk
> Subject: Re: delimiter problem
>
> Oliver Gading wrote:
> > 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.
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.
>
> > 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.
>
> > Are there any plans to make it possible to use
> list-mylist@domain.tld
> > named lists with the "-"-delimiter?
>
> Not if your mail server does not export the "recipient extra"
> data. It is impossible to tell if "list-faq@example.com" is
> for "list" with "faq"
> as extra data, or if it is for "list-faq" with no extra data.
See my notes above.
Oliver
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: delimiter problem
2007-12-21 16:12 delimiter problem Oliver Gading
2007-12-24 22:30 ` Morten K. Poulsen
2007-12-26 21:49 ` Oliver Gading
@ 2007-12-29 19:20 ` Morten K. Poulsen
2 siblings, 0 replies; 4+ messages in thread
From: Morten K. Poulsen @ 2007-12-29 19:20 UTC (permalink / raw)
To: mlmmj
Hi Oliver,
Sorry about the delay - I've been snow boarding.
Oliver Gading wrote:
> I wrote a small shell script which executes "env"
...
> USER=list-mylist
> LOCAL=list-mylist_subscribe
> EXTENSION=subscribe
Ok. Then mlmmj will (or at least should) use the EXTENSION variable.
> 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
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
--
Morten K. Poulsen <morten@afdelingp.dk>
http://www.afdelingp.dk/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-12-29 19:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-21 16:12 delimiter problem Oliver Gading
2007-12-24 22:30 ` Morten K. Poulsen
2007-12-26 21:49 ` Oliver Gading
2007-12-29 19:20 ` Morten K. Poulsen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.