On 05/26/2015 01:49 PM, EyeLand wrote:
> 
> /var/log/mail.log
> https://gist.githubusercontent.com/eyeland/84ca2edc3f07ca507a8d/raw/aae9c95eb3dd0830726a4cf1632ef6c38dc4a507/gistfile1.txt


I see things like the following in the log.

May 26 14:44:30 vps1 postfix/local[12807]: 4B7BD80F0C:
to=<[email protected]>, relay=local, delay=0.37,
delays=0.26/0.03/0/0.08, dsn=2.0.0, status=sent (delivered to command:
/var/lib/mailman/mail/mailman post mailman)


This is a message To: [email protected] which is delivered
directly to mailman via the 'mailman' alias because vps1.ournet.biz is a
local domain in Postfix, i.e., its in mydestination in Postfix.



May 26 14:44:50 vps1 postfix/smtpd[12792]: NOQUEUE: reject: RCPT from
forward15o.cmail.yandex.net[37.9.109.212]: 550 5.1.1
<[email protected]>: Recipient address rejected: User unknown in
virtual mailbox table; from=<[email protected]>
to=<[email protected]> proto=ESMTP helo=<forward15o.cmail.yandex.net>


This is a message to [email protected] which is rejected because
list.ournet.biz is not a Postfix local domain and the address
[email protected] is not mapped to the local transport in
transport maps nor is it mapped to the local mailman address via virtual
alias maps


May 26 14:45:25 vps1 postfix/local[12807]: 6460280F0C:
to=<[email protected]>, orig_to=<[email protected]>,
relay=local, delay=0.13, delays=0.05/0/0/0.07, dsn=2.0.0, status=sent
(delivered to command: /var/lib/mailman/mail/mailman post mailman)


And this is a message to [email protected] which is mapped to the
local transport via transport maps and is thus accepted.


> the main server domain is vps1.ournet.biz,
> secondary domains are test2.ournet.biz,
> list.ournet.biz, list.mobilier.md


You are using transport maps to map list addresses in non-local domains
such as list.ournet.biz and list.mobilier.md to Postfix's local
transport. The method you are using only generates mappings for the
list's host_name domain which in the case of the mailman list is
list.mobilier.md. Thus mail to [email protected] is properly
delivered to Mailman, but mail to [email protected] is not
deliverable because the address is not in transport maps or virtual
alias maps and list.ournet.biz is not a local domain.

So the question is why are you trying to mail to [email protected]
in the first place. If you really want to be able to mail to mailman@
any of the domains, you could manually replicate the 'mailman' stanza in
both data/virtual-mailman and data/transport-mailman changing the
list.mobilier.md domain to list.ournet.biz in the replicated stanzas.
That should work until you rebuild those files completely with
bin/genaliases.

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to