Konstantin Vasilyev wrote:
>
>But now I have another error in maillog
>> postfix/smtpd[46087]: NOQUEUE: reject: RCPT from
>> unknown[192.168.2.199]: 550 5.1.1 <mail...@cellnetrix.com>: Recipient
>> address rejected: User unknown in virtual mailbox table;
>> from=<ad...@cellnetrix.com> to=<mail...@cellnetrix.com> proto=ESMTP
>> helo=<[192.168.2.199]>


Which says that Postfix is using the virtual transport for this address.


>Here is my postconf -n
>
># postconf -n
>alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases

Good.

[...]
>transport_maps = hash:/usr/local/etc/postfix/transport,                
>hash:/usr/local/mailman/data/transport-mailman

Good. But, did you reload Postfix after adding the above? If so, I
don't know what the problem might be. But, see below.


[...]
>
>What am I doing wrong?


As I say above, if you reloaded Postfix after adding
hash:/usr/local/mailman/data/transport-mailman to transport_maps, I
don't know why this doesn't work, but, based on your Postfix
configuration, I don't know why you think you need to do this
transport_maps thing at all.

I think your Postfix will work if you do the following:

1) remove the

POSTFIX_MAP_CMD = '/path/to/data/virtual_to_transport'

line from mm_cfg.py.

2) run Mailman's bin/genaliases to create virtual-mailman.db

3) add "hash:/usr/local/mailman/data/virtual-mailman" to Postfix
main.cf virtual_alias_maps.

4) remove "hash:/usr/local/mailman/data/transport-mailman" from Postfix
main.cf transport_maps.

5)reload Postfix.

At this point, Postfix should deliver mail to Mailman. You can then
remove /usr/local/mailman/data/transport-mailman* as those files are
no longer used.

Note, you should also add

recipient_delimiter = +

to Postfix main.cf so that Mailman's VERP like addresses will work.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to