Mail sent to og2list is being rejected because "User unknown in local recipient table"

Postfix 2.2 on Debian 3.2
url ww2.greenparty.ca
user (admin and group owner) email is neila@magma.ca
group is webstrategy
group mailing list is enabled, moderation is disabled, comments published etc.

here is the mail.log entry ( I get a similar message from ISP mail returned)

Aug 11 17:54:50 ww2 postfix/smtpd[25863]: connect from mx3-2.spamtrap.magma.ca[209.217.78.169]
Aug 11 17:54:50 ww2 postfix/smtpd[25863]: NOQUEUE: reject: RCPT from mx3-2.spamtrap.magma.ca[209.217.78.169]: 550 : Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo=
Aug 11 17:54:52 ww2 postfix/smtpd[25863]: disconnect from mx3-2.spamtrap.magma.ca[209.217.78.169]

mysql> select * from og2list_groups;
+-----+-------------+--------+----------+
| nid | recipient | status | moderate |
+-----+-------------+--------+----------+
| 2 | webstrategy | 1 | 0 |
+-----+-------------+--------+----------+
1 row in set (0.00 sec)

I can't figure out how to check the "local recipient table" for the user addresses
I've tried the relevant debug steps in og2list postfix.install
I've googled, drupalled and looked through the mysql 5.0 manual but just get more confused

Is this relevant? http://drupal.org/node/74736

A pointer to the proper mysql incantations or other suggestions would be much appreciated.

Neil

Comments

killes@www.drop.org’s picture

mx3-2.spamtrap.magma.ca[209.217.78.169]: 550 : Recipient address rejected: User unknown in local recipient table; from= to=

Apparently the addresses don't get passed to postfix. Please check that the formatting of the postfix config files is ok. Whitespace is significant in this case.

Neil Adair’s picture

Title: og2list sending but not receiving » og2list not receiving, postfix .cf

master.cf
drupal unix - n n - - pipe
flags=DRhu user=og2list argv=/home/og2list/mail-in.pl \
-f ${sender} -t ${recipient}

I also tried
drupal unix - n n - - pipe
flags=DRhu user=og2list argv=/home/og2list/mail-in.pl -f ${sender} -t ${recipient}

main.cf
myhostname = ww2.greenparty.ca
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = ww2.greenparty.ca, localhost.greenparty.ca, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
relay_domains = ww2.greenparty.ca
transport_maps = hash:/etc/postfix/transport

Shouldn't ?
alias_database = hash:/etc/aliases.db

tried it but no change, recipient delimiter?

Neil

Neil Adair’s picture

PS. doesn't display here but there are 2 spaces in front of flags=DRhu ...

Neil Adair’s picture

On anaother server with CiviMail installed (not by me) I see in main.cf

# Virtual address to catch VERP headers
virtual_alias_domains = dev3.greenparty.ca

virtual_alias_maps = hash:/home/dev3/dev3-virtuals

any chance that's needed?

killes@www.drop.org’s picture

I have a postfix install that works. the line in master.cf is

drupal unix - n n - - pipe
flags=DRhu user=og2list argv=/home/og2list/mail-in.pl -f ${sender} -t ${recipient}

in main.cf, the domain that is used for og2list is listed in relay_domains

Amazon’s picture

Status: Active » Closed (fixed)

Confirmed this is not set up and working.