FAQ
I'm running Postfix as my MTA with Mailman, and I'm having a bit of
trouble. I've created a list, added subscribers, and stuck the info
into /etc/aliases. However, when I email the listname at domain.com
address, it bounces back as "Unknown User." Here's what shows up in
/var/log/maillog:

Nov 5 00:24:51 fanime postfix/smtpd[18966]: connect from
rproxy.gmail.com[64.233.170.198]
Nov 5 00:24:51 fanime postfix/smtpd[18966]: 2144F20BA:
client=rproxy.gmail.com[64.233.170.198]
Nov 5 00:24:51 fanime postfix/cleanup[18969]: 2144F20BA:
message-id=<4b398499041105002321e617d9 at mail.gmail.com>
Nov 5 00:24:51 fanime postfix/qmgr[18963]: 2144F20BA:
from=<zainie at gmail.com>, size36, nrcpt=1 (queue active)
Nov 5 00:24:51 fanime postfix/virtual[18970]: 2144F20BA:
to=<famine at fanime.kicks-ass.net>, relay=virtual, delay=0,
status=bounced (unknown user: "famine at fanime.kicks-ass.net")
Nov 5 00:24:51 fanime postfix/cleanup[18969]: 3C5E620BC:
message-id=<20041105082451.3C5E620BC at fanime.kicks-ass.net>
Nov 5 00:24:51 fanime postfix/qmgr[18963]: 3C5E620BC: from=<>,
size)56, nrcpt=1 (queue active)
Nov 5 00:24:51 fanime postfix/qmgr[18963]: 2144F20BA: removed
Nov 5 00:24:51 fanime postfix/smtpd[18966]: disconnect from
rproxy.gmail.com[64.233.170.198]
Nov 5 00:24:53 fanime postfix/smtp[18972]: 3C5E620BC:
to=<zainie at gmail.com>, relay=gsmtp171.google.com[64.233.171.27],
delay=2, status=sent (250 2.0.0 OK 1099643002)
Nov 5 00:24:53 fanime postfix/qmgr[18963]: 3C5E620BC: removed

Here's my main.cf file for Postfix: http://fanime.kicks-ass.net/main.cf
I've been following the instructions on this page:
http://www.syntheticzero.com/howto/vmail.php

If I had to guess, I'd say my problem was the relay... The log entry
for recieving the email says relay=virtual while the log entry for
sending the "User Unkown" email back to the server says
"relay=gsmtp171.google.com[64.233.171.27]"... and the latter works.

Can anyone tell me what I'm doing wrong?

Search Discussions

  • Mark Sapiro at Nov 5, 2004 at 4:35 pm

    Zain Memon wrote:
    I'm running Postfix as my MTA with Mailman, and I'm having a bit of
    trouble. I've created a list, added subscribers, and stuck the info
    into /etc/aliases.
    Why not /usr/local/mailman/data/aliases which mailman will update
    automatically with the right settings in mm_cfg.py
    However, when I email the listname at domain.com
    address, it bounces back as "Unknown User." Here's what shows up in
    /var/log/maillog:

    Nov 5 00:24:51 fanime postfix/smtpd[18966]: connect from
    rproxy.gmail.com[64.233.170.198]
    Nov 5 00:24:51 fanime postfix/smtpd[18966]: 2144F20BA:
    client=rproxy.gmail.com[64.233.170.198]
    Nov 5 00:24:51 fanime postfix/cleanup[18969]: 2144F20BA:
    message-id=<4b398499041105002321e617d9 at mail.gmail.com>
    Nov 5 00:24:51 fanime postfix/qmgr[18963]: 2144F20BA:
    from=<zainie at gmail.com>, size36, nrcpt=1 (queue active)
    Nov 5 00:24:51 fanime postfix/virtual[18970]: 2144F20BA:
    to=<famine at fanime.kicks-ass.net>, relay=virtual, delay=0,
    status=bounced (unknown user: "famine at fanime.kicks-ass.net")
    Nov 5 00:24:51 fanime postfix/cleanup[18969]: 3C5E620BC:
    message-id=<20041105082451.3C5E620BC at fanime.kicks-ass.net>
    Nov 5 00:24:51 fanime postfix/qmgr[18963]: 3C5E620BC: from=<>,
    size)56, nrcpt=1 (queue active)
    Nov 5 00:24:51 fanime postfix/qmgr[18963]: 2144F20BA: removed
    Nov 5 00:24:51 fanime postfix/smtpd[18966]: disconnect from
    rproxy.gmail.com[64.233.170.198]
    Nov 5 00:24:53 fanime postfix/smtp[18972]: 3C5E620BC:
    to=<zainie at gmail.com>, relay=gsmtp171.google.com[64.233.171.27],
    delay=2, status=sent (250 2.0.0 OK 1099643002)
    Nov 5 00:24:53 fanime postfix/qmgr[18963]: 3C5E620BC: removed

    Here's my main.cf file for Postfix: http://fanime.kicks-ass.net/main.cf
    I've been following the instructions on this page:
    http://www.syntheticzero.com/howto/vmail.php
    Did you follow the "mailman postfix howto" that's linked from the
    Mailman section near the bottom of that page?
    If I had to guess, I'd say my problem was the relay... The log entry
    for recieving the email says relay=virtual while the log entry for
    sending the "User Unkown" email back to the server says
    "relay=gsmtp171.google.com[64.233.171.27]"... and the latter works.
    This seems definitely to be an alias problem. Did you run Postfix
    "newaliases" or did you run Mailman bin/genaliases?

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Zain Memon at Nov 5, 2004 at 6:00 pm
    I've tried sticking it into both /etc/aliases and
    /usr/local/mailman/data/aliases.My postfix $alias_maps variable
    includes both these locations. Yeah, I've ran both newaliases and
    genaliases. I've ran a postalias on both as well. Followed the
    INSTALL, README, and README.POSTFIX down to the dot.

    For postfix, my $relay_domains variable is set to $transport_maps,
    which is set to mysql:/etc/postfix/sql/transport (according to the
    tutorial). Why the mysql:? Do I need to add any data into a MySQL
    table?

    On Fri, 5 Nov 2004 08:35:56 -0800, Mark Sapiro wrote:
    Zain Memon wrote:
    I'm running Postfix as my MTA with Mailman, and I'm having a bit of
    trouble. I've created a list, added subscribers, and stuck the info
    into /etc/aliases.
    Why not /usr/local/mailman/data/aliases which mailman will update
    automatically with the right settings in mm_cfg.py


    However, when I email the listname at domain.com
    address, it bounces back as "Unknown User." Here's what shows up in
    /var/log/maillog:

    Nov 5 00:24:51 fanime postfix/smtpd[18966]: connect from
    rproxy.gmail.com[64.233.170.198]
    Nov 5 00:24:51 fanime postfix/smtpd[18966]: 2144F20BA:
    client=rproxy.gmail.com[64.233.170.198]
    Nov 5 00:24:51 fanime postfix/cleanup[18969]: 2144F20BA:
    message-id=<4b398499041105002321e617d9 at mail.gmail.com>
    Nov 5 00:24:51 fanime postfix/qmgr[18963]: 2144F20BA:
    from=<zainie at gmail.com>, size36, nrcpt=1 (queue active)
    Nov 5 00:24:51 fanime postfix/virtual[18970]: 2144F20BA:
    to=<famine at fanime.kicks-ass.net>, relay=virtual, delay=0,
    status=bounced (unknown user: "famine at fanime.kicks-ass.net")
    Nov 5 00:24:51 fanime postfix/cleanup[18969]: 3C5E620BC:
    message-id=<20041105082451.3C5E620BC at fanime.kicks-ass.net>
    Nov 5 00:24:51 fanime postfix/qmgr[18963]: 3C5E620BC: from=<>,
    size)56, nrcpt=1 (queue active)
    Nov 5 00:24:51 fanime postfix/qmgr[18963]: 2144F20BA: removed
    Nov 5 00:24:51 fanime postfix/smtpd[18966]: disconnect from
    rproxy.gmail.com[64.233.170.198]
    Nov 5 00:24:53 fanime postfix/smtp[18972]: 3C5E620BC:
    to=<zainie at gmail.com>, relay=gsmtp171.google.com[64.233.171.27],
    delay=2, status=sent (250 2.0.0 OK 1099643002)
    Nov 5 00:24:53 fanime postfix/qmgr[18963]: 3C5E620BC: removed

    Here's my main.cf file for Postfix: http://fanime.kicks-ass.net/main.cf
    I've been following the instructions on this page:
    http://www.syntheticzero.com/howto/vmail.php
    Did you follow the "mailman postfix howto" that's linked from the
    Mailman section near the bottom of that page?
    If I had to guess, I'd say my problem was the relay... The log entry
    for recieving the email says relay=virtual while the log entry for
    sending the "User Unkown" email back to the server says
    "relay=gsmtp171.google.com[64.233.171.27]"... and the latter works.
    This seems definitely to be an alias problem. Did you run Postfix
    "newaliases" or did you run Mailman bin/genaliases?

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Nov 5, 2004 at 7:33 pm

    Zain Memon wrote:
    I've tried sticking it into both /etc/aliases and
    /usr/local/mailman/data/aliases.My postfix $alias_maps variable
    includes both these locations. Yeah, I've ran both newaliases and
    genaliases. I've ran a postalias on both as well. Followed the
    INSTALL, README, and README.POSTFIX down to the dot.

    For postfix, my $relay_domains variable is set to $transport_maps,
    which is set to mysql:/etc/postfix/sql/transport (according to the
    tutorial). Why the mysql:? Do I need to add any data into a MySQL
    table?
    Your getting beyond anything I know here, but "Why the mysql:?" would
    be my question. The how to you're following is integrating mysql for
    some purpose, but it is certainly not required for a basic Mailman
    installation which only requires an MTA (Postfix in your case) and
    Mailman plus a web server.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Zain Memon at Nov 7, 2004 at 11:32 pm
    I wonder why they want me to put in mysql stuff.

    What is a "normal" value for the $relay_domains variable?

    On Fri, 5 Nov 2004 11:33:14 -0800, Mark Sapiro wrote:
    Zain Memon wrote:


    I've tried sticking it into both /etc/aliases and
    /usr/local/mailman/data/aliases.My postfix $alias_maps variable
    includes both these locations. Yeah, I've ran both newaliases and
    genaliases. I've ran a postalias on both as well. Followed the
    INSTALL, README, and README.POSTFIX down to the dot.

    For postfix, my $relay_domains variable is set to $transport_maps,
    which is set to mysql:/etc/postfix/sql/transport (according to the
    tutorial). Why the mysql:? Do I need to add any data into a MySQL
    table?
    Your getting beyond anything I know here, but "Why the mysql:?" would
    be my question. The how to you're following is integrating mysql for
    some purpose, but it is certainly not required for a basic Mailman
    installation which only requires an MTA (Postfix in your case) and
    Mailman plus a web server.

    --


    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Nov 7, 2004 at 11:59 pm

    Zain Memon wrote:
    I wonder why they want me to put in mysql stuff.
    It has something to do with using a mysql database to validate
    something for Postfix or something. As I mentioned before, the How To
    you are following is for something much more complicated than a
    straightforward Mailman - Postfix installation.
    What is a "normal" value for the $relay_domains variable?
    $relay_domains is the domain(s) to which Postfix will relay mail. The
    normal value would be the default ($mydestination) which I think means
    that Postfix will accept mail from the outside world only for delivery
    locally. I assume this is appropriate for a Mailman - Postfix
    installation, but as I said previously, this is really beyond what I
    know about.

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedNov 5, '04 at 8:26a
activeNov 7, '04 at 11:59p
posts6
users2
websitelist.org

2 users in discussion

Zain Memon: 3 posts Mark Sapiro: 3 posts

People

Translate

site design / logo © 2022 Grokbase