Postfix + Mailman - unknown user

Dan Farrell dan at spore.ath.cx
Fri Mar 28 20:07:41 UTC 2008


On Thu, 27 Mar 2008 01:01:32 -0300
"AlexanDER Franca" <alexander at nautae.eti.br> wrote:

> Hi.
> 
> ... to=<test8-subscribe at host1.onesubdomain.itsmydomain.com>,
> relay=local, delay=0.08, delays=0.06/0/0/0.02, dsn=5.1.1,
> status=bounced (unknown user: "test8-subscribe") ...

One of the most valuable resouce for postfix I've yet found is here:

http://www.postfix.org/postconf.5.html

The other is the postfix mailing list.  


> 
> /etc/postfix/main.cf
> ----------------------------------------
> local_recipient_maps =

should this be blank?   Probably not.  Blank is not the same as
default!!  Right now, it's going to bounce every mail most likely, 
since there are no local recipients as far as Postfix knows.  

http://www.postfix.org/postconf.5.html#local_recipient_maps

> myhostname = host1.onesubdomain.itsmydomain.com
> mydestination = host1.onesubdomain.itsmydomain.com,
> myorigin = /etc/mailname

hmm.  I don't think these are quite right.  Better check the doc.  

> mynetworks = 127.0.0.0/8
> mailbox_size_limit = 0
> recipient_delimiter = +
> inet_interfaces = all
> 
> relay_domains = lists.onesubdomain.itsmydomain.com

http://www.postfix.org/postconf.5.html#relay_domains

> transport_maps = hash:/etc/postfix/transport
> mailman_destination_recipient_limit = 1
> 
> 
> /etc/postfix/master.cf
> ---------------------------------------------------------------------------------------------------------
> mailman   unix  -       n       n       -       -       pipe
>   flags=FR user=list argv=/var/lib/mailman/bin/postfix-to-mailman.py
>   ${nexthop} ${mailbox}
> 
> 
> /etc/postfix/transport
> -------------------------------------------------------------------------------------------------------
> lists.onesubdomain.itsmydomain.com    mailman:
> 
> 
> # Of course, run: postmap /etc/postfix/transport (the file
> transport.db was generated).
> 
> 
> /etc/mailman/mm_config.py
> -------------------------------------------------------------------------------------------------------
> DEFAULT_EMAIL_HOST = 'host1.onesubdomain.itsmydomain.com'
> DEFAULT_URL_HOST   = 'host1.onesubdomain.itsmydomain.com'
> MTA=None   # Misnomer, suppresses alias output on newlist
> DEB_LISTMASTER = 'postmaster at lists.onesubdomain.itsmydomain.com'
> 
> $ restart postfix
> $ restart mailman
> 
> $ send email (by my home machine, not inside mail server) to
> "test8-subscribe at lists.onesubdomain.itsmydomain.com", Postfix croac:
> 
> ... to=<test8-subscribe at host1.onesubdomain.itsmydomain.com>,
> relay=local, delay=0.08, delays=0.06/0/0/0.02, dsn=5.1.1,
> status=bounced (unknown user: "test8-subscribe") ...
> 
> []'s
> Alexander
> 




More information about the ubuntu-users mailing list