[Mailman-Users] Default domain email not work

Mark Sapiro mark at msapiro.net
Wed May 27 00:23:00 CEST 2015


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=<mailman at vps1.ournet.biz>, 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: mailman at vps1.ournet.biz 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
<mailman at list.ournet.biz>: Recipient address rejected: User unknown in
virtual mailbox table; from=<ournet-biz at yandex.com>
to=<mailman at list.ournet.biz> proto=ESMTP helo=<forward15o.cmail.yandex.net>


This is a message to mailman at list.ournet.biz which is rejected because
list.ournet.biz is not a Postfix local domain and the address
mailman at list.ournet.biz 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=<mailman at vps1.ournet.biz>, orig_to=<mailman at list.mobilier.md>,
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 mailman at list.mobilier.md 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 mailman at list.mobilier.md is properly
delivered to Mailman, but mail to mailman at list.ournet.biz 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 mailman at list.ournet.biz
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 <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list