Re: Postfix + Mailman - unknown user



On Thu, 27 Mar 2008 01:01:32 -0300
"AlexanDER Franca" <alexander@xxxxxxxxxxxxx> wrote:

Hi.

... to=<test8-subscribe@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
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@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

$ restart postfix
$ restart mailman

$ send email (by my home machine, not inside mail server) to
"test8-subscribe@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", Postfix croac:

... to=<test8-subscribe@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
relay=local, delay=0.08, delays=0.06/0/0/0.02, dsn=5.1.1,
status=bounced (unknown user: "test8-subscribe") ...

[]'s
Alexander


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • upgrade of postfix broke Mailman
    ... I recently apt-get dist-upgrade'd Postfix. ... After the upgrade, I first found that virtual users no longer received ... I found that attempts to deliver to Mailman no ... So with 'local_recipient_maps' I can deliver to my virtual users but not ...
    (Debian-User)
  • Re: Mailman with postfix
    ... with se3tting up Mailman with postfix? ... You don't have to change much for mailman to integrate with postfix. ... If you have SELinux enabled, you may need to toggle some booleans or ... SELinux there (I tried emailing fedora-selinux first, ...
    (Fedora)
  • Re: two questions about mailman
    ... redirect one of the ports either smtp or pop but I think it's smtp. ... The Qmail comment was a joke. ... The telnet test suggests that the problem's down to your postfix. ... I have a couple of questions concerning mailman. ...
    (Ubuntu)
  • Re: Mailman
    ... > to see if that will rebuild the config. ... > module is called mailman. ... machine I get an error: "Deferred: 450: User unknown in local user ... I can send and receive from that machine so Postfix; ...
    (alt.os.linux.suse)
  • Re: Postfix Mail Server / Mailman
    ... check the mailman site documentation but all that is need is ... permissions and added the addeing teh follwing lines to postfix config ... - user the virtual users table in postfix, webmin can help you set this up easy ...
    (Fedora)