* [mlmmj] Using mlmmj with Postfix using non-virtual aliases ERROR: unknown user
@ 2014-05-04 12:41 Emil Hemdal
2014-05-07 21:34 ` Ben Schmidt
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Emil Hemdal @ 2014-05-04 12:41 UTC (permalink / raw)
To: mlmmj
Hello,
I'm having issues utilizing mlmmj with Postfix using non-virtual aliases.
I followed all the steps mentioned in the readme page for Postfix
http://mlmmj.org/docs/readme-postfix/ while using the non-virtual
aliases aliases part of the readme.
I use mlmmj on Debian 7 64bit.
mail.log is complaining when subscribing:
May 4 13:37:19 mydomain postfix/qmgr[7227]: EED2181041:
from=<asdf@gmail.com>, size\x1917, nrcpt=1 (queue active)
May 4 13:37:19 mydomain postfix/smtpd[7244]: disconnect from
mail-la0-f43.google.com[209.85.215.43]
May 4 13:37:19 mydomain postfix/local[7254]: EED2181041:
to=<list_info+subscribe@localhost.mlmmj>,
orig_to=<list_info+subscribe@mydomain.tld>, relay=local, delay=0.14,
delays=0.08/0.02/0/0.04, dsn=5.1.1, status=bounced (unknown user:
"list_info+subscribe")
May 4 13:37:19 mydomain postfix/cleanup[7253]: 0F87081062:
message-id=<20140504113719.0F87081062@mydomain.tld>
May 4 13:37:19 mydomain postfix/bounce[7256]: EED2181041: sender
non-delivery notification: 0F87081062
May 4 13:37:19 mydomain postfix/qmgr[7227]: 0F87081062: from=<>,
size847, nrcpt=1 (queue active)
May 4 13:37:19 mydomain postfix/qmgr[7227]: EED2181041: removed
Or when I try to send a message to the list directly:
May 4 14:22:40 mensamailtest postfix/local[7317]: D993481062:
to=<list_info@localhost.mlmmj>, orig_to=<list_info@mydomain.tld>,
relay=local, delay=0.14, delays=0.08/0.03/0/0.03, dsn=5.1.1,
status=bounced (unknown user: "list_info")
postconf -n:
alias_database = hash:/etc/aliases, hash:/var/spool/mlmmj/aliases
alias_maps = hash:/etc/aliases, mysql:/etc/postfix/mysql-aliases.cf,
mysql:/etc/postfix/mysql-group-aliases.cf, hash:/var/spool/mlmmj/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command mailbox_size_limit = 0
mlmmj_destination_recipient_limit = 1
mydestination = mydomain.tld, lists.mydomain.tld, localhost
myhostname = mydomain.tld
mynetworks = 127.0.0.0/8
myorigin = mydomain.tld
propagate_unmatched_extensions = alias
readme_directory = no
recipient_delimiter = +
relay_domains = mydomain.tld
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_helo_restrictions = reject_invalid_helo_hostname,
reject_non_fqdn_helo_hostname, reject_unknown_helo_hostname
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = hash:/var/spool/mlmmj/transport
My transport file contains:
mydomain.tld--list_info@localhost.mlmmj mlmmj:mydomain.tld/list_info
My aliases file contains:
list_info: list_info@localhost.mlmmj
What can I do to resolve this issue I'm experiencing?
/Emil Hemdal
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mlmmj] Using mlmmj with Postfix using non-virtual aliases ERROR: unknown user
2014-05-04 12:41 [mlmmj] Using mlmmj with Postfix using non-virtual aliases ERROR: unknown user Emil Hemdal
@ 2014-05-07 21:34 ` Ben Schmidt
2014-05-08 6:25 ` Emil Hemdal
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Ben Schmidt @ 2014-05-07 21:34 UTC (permalink / raw)
To: mlmmj
> May 4 13:37:19 mydomain postfix/local[7254]: EED2181041:
> to=<list_info+subscribe@localhost.mlmmj>,
> orig_to=<list_info+subscribe@mydomain.tld>, relay=local, delay=0.14,
> delays=0.08/0.02/0/0.04, dsn=5.1.1, status=bounced (unknown user:
> "list_info+subscribe")
...
> My transport file contains:
> mydomain.tld--list_info@localhost.mlmmj mlmmj:mydomain.tld/list_info
>
> My aliases file contains:
> list_info: list_info@localhost.mlmmj
After a very quick look, I think the transport file should read:
list_info@localhost.mlmmj mlmmj:list_info
I.e. if you're not using virtual domains, no need to include
mydomain.tld. The important thing is that the left hand side of
transport matches the right hand side of aliases
(list_info@loclahost.mlmmj) and the part after mlmmj: matches the name
of the list directory (relative to the list spool directory).
Ben.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mlmmj] Using mlmmj with Postfix using non-virtual aliases ERROR: unknown user
2014-05-04 12:41 [mlmmj] Using mlmmj with Postfix using non-virtual aliases ERROR: unknown user Emil Hemdal
2014-05-07 21:34 ` Ben Schmidt
@ 2014-05-08 6:25 ` Emil Hemdal
2014-05-08 8:53 ` Ben Schmidt
2014-05-08 10:17 ` Emil Hemdal
3 siblings, 0 replies; 5+ messages in thread
From: Emil Hemdal @ 2014-05-08 6:25 UTC (permalink / raw)
To: mlmmj
[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]
Hello,
I followed the README instead of the README.postfix and it solved my
problem!
Thanks for the help!
/Emil
2014-05-07 23:34 GMT+02:00 Ben Schmidt <mail_ben_schmidt@yahoo.com.au>:
> May 4 13:37:19 mydomain postfix/local[7254]: EED2181041:
>> to=<list_info+subscribe@localhost.mlmmj>,
>> orig_to=<list_info+subscribe@mydomain.tld>, relay=local, delay=0.14,
>> delays=0.08/0.02/0/0.04, dsn=5.1.1, status=bounced (unknown user:
>> "list_info+subscribe")
>>
> ...
>
> My transport file contains:
>> mydomain.tld--list_info@localhost.mlmmj mlmmj:mydomain.tld/list_info
>>
>> My aliases file contains:
>> list_info: list_info@localhost.mlmmj
>>
>
> After a very quick look, I think the transport file should read:
>
> list_info@localhost.mlmmj mlmmj:list_info
>
> I.e. if you're not using virtual domains, no need to include
> mydomain.tld. The important thing is that the left hand side of
> transport matches the right hand side of aliases
> (list_info@loclahost.mlmmj) and the part after mlmmj: matches the name
> of the list directory (relative to the list spool directory).
>
> Ben.
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 1931 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mlmmj] Using mlmmj with Postfix using non-virtual aliases ERROR: unknown user
2014-05-04 12:41 [mlmmj] Using mlmmj with Postfix using non-virtual aliases ERROR: unknown user Emil Hemdal
2014-05-07 21:34 ` Ben Schmidt
2014-05-08 6:25 ` Emil Hemdal
@ 2014-05-08 8:53 ` Ben Schmidt
2014-05-08 10:17 ` Emil Hemdal
3 siblings, 0 replies; 5+ messages in thread
From: Ben Schmidt @ 2014-05-08 8:53 UTC (permalink / raw)
To: mlmmj
OK, cool.
Just be aware of the possible security problems detailed in README.postfix if you
don't use a transport or similarly secure mechanism with Postfix. They might not
matter in your setup, but you should at least be aware of them.
Smiles,
Ben.
On 8/05/14 4:25 PM, Emil Hemdal wrote:
> Hello,
>
> I followed the README instead of the README.postfix and it solved my problem!
>
> Thanks for the help!
>
> /Emil
>
>
> 2014-05-07 23:34 GMT+02:00 Ben Schmidt <mail_ben_schmidt@yahoo.com.au
> <mailto:mail_ben_schmidt@yahoo.com.au>>:
>
> May 4 13:37:19 mydomain postfix/local[7254]: EED2181041:
> to=<list_info+subscribe@__localhost.mlmmj>,
> orig_to=<list_info+subscribe@__mydomain.tld>, relay=local, delay=0.14,
> delays=0.08/0.02/0/0.04, dsn=5.1.1, status=bounced (unknown user:
> "list_info+subscribe")
>
> ...
>
> My transport file contains:
> mydomain.tld--list_info@__localhost.mlmmj mlmmj:mydomain.tld/list_info
>
> My aliases file contains:
> list_info: list_info@localhost.mlmmj
>
>
> After a very quick look, I think the transport file should read:
>
> list_info@localhost.mlmmj mlmmj:list_info
>
> I.e. if you're not using virtual domains, no need to include
> mydomain.tld. The important thing is that the left hand side of
> transport matches the right hand side of aliases
> (list_info@loclahost.mlmmj) and the part after mlmmj: matches the name
> of the list directory (relative to the list spool directory).
>
> Ben.
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mlmmj] Using mlmmj with Postfix using non-virtual aliases ERROR: unknown user
2014-05-04 12:41 [mlmmj] Using mlmmj with Postfix using non-virtual aliases ERROR: unknown user Emil Hemdal
` (2 preceding siblings ...)
2014-05-08 8:53 ` Ben Schmidt
@ 2014-05-08 10:17 ` Emil Hemdal
3 siblings, 0 replies; 5+ messages in thread
From: Emil Hemdal @ 2014-05-08 10:17 UTC (permalink / raw)
To: mlmmj
[-- Attachment #1: Type: text/plain, Size: 1837 bytes --]
Ah, that the transport solves the permission issue so that mlmmj is run
with the mlmmj user.
/Emil
2014-05-08 10:53 GMT+02:00 Ben Schmidt <mail_ben_schmidt@yahoo.com.au>:
> OK, cool.
>
> Just be aware of the possible security problems detailed in README.postfix
> if you don't use a transport or similarly secure mechanism with Postfix.
> They might not matter in your setup, but you should at least be aware of
> them.
>
> Smiles,
>
> Ben.
>
>
>
>
> On 8/05/14 4:25 PM, Emil Hemdal wrote:
>
>> Hello,
>>
>> I followed the README instead of the README.postfix and it solved my
>> problem!
>>
>> Thanks for the help!
>>
>> /Emil
>>
>>
>> 2014-05-07 23:34 GMT+02:00 Ben Schmidt <mail_ben_schmidt@yahoo.com.au
>> <mailto:mail_ben_schmidt@yahoo.com.au>>:
>>
>>
>> May 4 13:37:19 mydomain postfix/local[7254]: EED2181041:
>> to=<list_info+subscribe@__localhost.mlmmj>,
>> orig_to=<list_info+subscribe@__mydomain.tld>, relay=local,
>> delay=0.14,
>>
>> delays=0.08/0.02/0/0.04, dsn=5.1.1, status=bounced (unknown user:
>> "list_info+subscribe")
>>
>> ...
>>
>> My transport file contains:
>> mydomain.tld--list_info@__localhost.mlmmj
>> mlmmj:mydomain.tld/list_info
>>
>>
>> My aliases file contains:
>> list_info: list_info@localhost.mlmmj
>>
>>
>> After a very quick look, I think the transport file should read:
>>
>> list_info@localhost.mlmmj mlmmj:list_info
>>
>> I.e. if you're not using virtual domains, no need to include
>> mydomain.tld. The important thing is that the left hand side of
>> transport matches the right hand side of aliases
>> (list_info@loclahost.mlmmj) and the part after mlmmj: matches the
>> name
>> of the list directory (relative to the list spool directory).
>>
>> Ben.
>>
>>
>>
>>
>>
[-- Attachment #2: Type: text/html, Size: 2795 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-05-08 10:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-04 12:41 [mlmmj] Using mlmmj with Postfix using non-virtual aliases ERROR: unknown user Emil Hemdal
2014-05-07 21:34 ` Ben Schmidt
2014-05-08 6:25 ` Emil Hemdal
2014-05-08 8:53 ` Ben Schmidt
2014-05-08 10:17 ` Emil Hemdal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox