Oliver Glueck wrote:
I think, the problem is open xchange: I don't know, where I have to configure the special files. Not really.
Could be. But, these are not Mailman questions, and while I do know something about Postfix and a bit about fetchmail and can try to help with that, These questions might better be answered elsewhere.
<snip>
Sorry for the long log file. But I need help :-( Remember: If I add entries about-dummy@....in postfix/virtual, it works! But I don't have to do it so.
Feb 27 08:48:07 mail postfix/smtpd[31884]: connect from localhost[127.0.0.1] Feb 27 08:48:07 mail postfix/smtpd[31884]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <about-dummy@localhost>: Recipient address rejected: User unknown in local recipient table; from=glueck@company.com> to=<about-dummy@localhost> proto=ESMTP helo=<mail.intern.company.de>
OK. Here Postfix has received the connect from fetchmail and rejected the mail for <about-dummy@localhost> because "User unknown in local recipient table".
Feb 27 08:48:07 mail fetchmail[32117]: Nachricht about-dummy@company.com@www.company.de:1 von 1 wird gelesen (2791 Bytes) (Log-Meldung unvollständig) Feb 27 08:48:07 mail fetchmail[32117]: SMTP-Fehler: 550 5.1.1 <about-dummy@localhost>: Recipient address rejected: User unknown in local recipient table
And here fetchmail reports the reject.
You say if you have entries for about-dummy@... in postfix/virtual, it works. Do these look like
about-dummy@localhost about-dummy
If so, it appears that without this, Postfix is not treating about-dummy@localhost as the local address about-dummy, even though it says it's looking for a local recipient.
You could try telling fetchmail
user "about-dummy@company.com" there with password "secret" is "about-dummy@company.com" here ;
Then you could put
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['company.com']
in mm_cfg.py to make Mailman-Postfix integration create virtual-mailman with entries like
about-dummy@company.com about-dummy
Then you also add hash:/usr/local/mailman/data/virtual-mailman to virtual_alias_maps and company.com to virtual_alias_domains in main.cf.
Either that, or perhaps you can make fetchmail deliver to just about-dummy instead of about-dummy@localhost.
I don't really understand why it isn't working as it is if Postfix is actually seeing the Mailman aliases.
You could try putting a
about-dummy: "|/usr/local/mailman/mail/mailman post about-dummy"
alias in /etc/aliases and running "newaliases" and see if that works. It probably won't "work", but it may deliver to Mailman and return a group mismatch error. If so, then postfix is not seeing the Mailman aliases in usr/local/mailman/data/aliases(.db) for some reason.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan