Recipient address rejected: User unknown in local recipient table - both with individual list & dedicated domain configs
Hopefully this is my last basic question before I get things up and running to test. Using Debian + Postfix + Schleuder my incoming test messages are bouncing due to "Recipient address rejected: User unknown in local recipient table". I've tried both the individual list & dedicated domain configuration and the behavior remains the same.
/etc/postfix/master.cf:
schleuder unix - n n - - pipe
flags=DRhu user=schleuder argv=/usr/bin/schleuder work ${recipient}
/etc/postfix/main.cf (individual):
schleuder_destination_recipient_limit = 1
transport_maps = hash:/etc/postfix/transport_schleuder
/etc/postfix/transport_schleuder:
test@subdomain.example.com schleuder:
test-request@subdomain.example.com schleuder:
test-owner@subdomain.example.com schleuder:
test-bounce@subdomain.example.com schleuder:
test-sendkey@subdomain.example.com schleuder:
/etc/postfix/main.cf (dedicated domain):
schleuder_destination_recipient_limit = 1
virtual_mailbox_domains = sqlite:/etc/postfix/schleuder_domain_sqlite.cf
virtual_transport = schleuder
virtual_alias_maps = hash:/etc/postfix/virtual_aliases
virtual_mailbox_maps = sqlite:/etc/postfix/schleuder_list_sqlite.cf
/etc/postfix/schleuder_domain_sqlite.cf
dbpath = /var/lib/schleuder/db.sqlite
query = select distinct substr(email, instr(email, '@') + 1) from lists
where email like '%%%s'
/etc/postfix/virtual_aliases:
postmaster@subdomain.example.com root@example.com
abuse@subdomain.example.com root@example.com
MAILER-DAEMON@subdomain.example.com root@example.com
root@subdomain.example.com root@example.com
/etc/postfix/schleuder_list_sqlite.cf:
dbpath = /var/lib/schleuder/db.sqlite
query = select 'present' from lists
where email = '%s'
or email = replace('%s', '-bounce@', '@')
or email = replace('%s', '-owner@', '@')
or email = replace('%s', '-request@', '@')
or email = replace('%s', '-sendkey@', '@')
Edited by fleish