Can't send email to non-local recipients

Hi, I've been trying for days now to get a test mailman list to work. When I send an email to the list "larry-test@mydomain.tld", only users that have an unix account on the server itself receive the email. I've searched and tried the examples in the READMEs that came with the distribution, main.cf.default, the internet, and nothing works. I've got amavisd-new working with SASL, SpamAssassin, ClamAV, and Dovecot, SquirrelMail, but I can't get Mailman to work.
I'm using Postfix 2.3.3-2 and Mailman 2.1.9-2.
This is the current config that does'nt work:
In /etc/aliases:
## larry mailing list larry-test: "|/usr/lib/mailman/mail/mailman post larry-test" larry-test-admin: "|/usr/lib/mailman/mail/mailman admin larry-test" larry-test-bounces: "|/usr/lib/mailman/mail/mailman bounces larry-test" 2.1.9-2 larry-test-confirm: "|/usr/lib/mailman/mail/mailman confirm larry-test" larry-test-join: "|/usr/lib/mailman/mail/mailman join larry-test" larry-test-leave: "|/usr/lib/mailman/mail/mailman leave larry-test" larry-test-owner: "|/usr/lib/mailman/mail/mailman owner larry-test" larry-test-request: "|/usr/lib/mailman/mail/mailman request larry-test" larry-test-subscribe: "|/usr/lib/mailman/mail/mailman subscribe larry-test" larry-test-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe larry-test"
In /etc/postfix/main.cf:
mydestination = $myhostname, localhost.$mydomain, localhost, mydomain.tld, fully-qualified hostname local_recipient_maps = virtual_alias_maps = hash:/etc/postfix/virtual
In /etc/postfix/virtual:
larry-test@create.ucsb.edu larry-test larry-test-admin@create.ucsb.edu larry-test-admin larry-test-bounces@create.ucsb.edu larry-test-bounces larry-test-confirm@create.ucsb.edu larry-test-confirm larry-test-join@create.ucsb.edu larry-test-join larry-test-leave@create.ucsb.edu larry-test-leave larry-test-owner@create.ucsb.edu larry-test-owner larry-test-request@create.ucsb.edu larry-test-request larry-test-subscribe@create.ucsb.edu larry-test-subscribe larry-test-unsubscribe@create.ucsb.edu larry-test-unsubscribe
And the errors:
Dec 29 21:43:10 sonic postfix/trivial-rewrite[21282]: fatal: open database /etc/postfix/virtual.db: No such file or directory Dec 29 21:43:10 sonic postfix/smtpd[21281]: fatal: open database /etc/postfix/virtual.db: No such file or directory Dec 29 21:43:11 sonic postfix/master[21166]: warning: process /usr/libexec/postfix/smtpd pid 21281 exit status 1 Dec 29 21:43:11 sonic postfix/master[21166]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling Dec 29 21:43:11 sonic postfix/master[21166]: warning: process /usr/libexec/postfix/trivial-rewrite pid 21282 exit status 1 Dec 29 21:43:11 sonic postfix/master[21166]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
Thanks for any tips.
Larry

Thanks for the reply Charles. When I type the command "postalias virtual", it complains about the format, as if it wants the format in the /etc/aliases file. I changed it the /etc/aliases format, but either way, it still does'nt work.
# postalias virtual postalias: warning: virtual, line 1: name must be local postalias: warning: virtual, line 2: name must be local postalias: warning: virtual, line 3: name must be local postalias: warning: virtual, line 4: name must be local postalias: warning: virtual, line 5: name must be local postalias: warning: virtual, line 6: name must be local postalias: warning: virtual, line 7: name must be local postalias: warning: virtual, line 8: name must be local postalias: warning: virtual, line 9: name must be local postalias: warning: virtual, line 10: name must be local #
I can't believe mailman is so hard to get working... What good is a maillist that does'nt send out of the box it's on?
Regards, Larry
On Dec 30, 2007 6:13 AM, Charles Marcus <CMarcus@media-brokers.com> wrote:

On 12/30/07, Larry Zins wrote:
I can't believe mailman is so hard to get working... What good is a maillist that does'nt send out of the box it's on?
Before blaming Mailman, you might want to try to have some sort of minimal understanding of how the other parts of a mail system work, and how Mailman fits into that overall picture.
Blaming your car for being a piece of crap and not working isn't a particularly useful or accurate activity to participate in, if you couldn't be bothered to refill the fuel tank.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>

On 12/29/07, Larry Zins wrote:
Dec 29 21:43:10 sonic postfix/trivial-rewrite[21282]: fatal: open database /etc/postfix/virtual.db: No such file or directory
You've got to create the virtual.db file first. To do this, try "postmap virtual". Don't use postalias, because that's just used for real local alias files, not virtual alias files.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>

Thanks for the reply Charles. When I type the command "postalias virtual", it complains about the format, as if it wants the format in the /etc/aliases file. I changed it the /etc/aliases format, but either way, it still does'nt work.
# postalias virtual postalias: warning: virtual, line 1: name must be local postalias: warning: virtual, line 2: name must be local postalias: warning: virtual, line 3: name must be local postalias: warning: virtual, line 4: name must be local postalias: warning: virtual, line 5: name must be local postalias: warning: virtual, line 6: name must be local postalias: warning: virtual, line 7: name must be local postalias: warning: virtual, line 8: name must be local postalias: warning: virtual, line 9: name must be local postalias: warning: virtual, line 10: name must be local #
I can't believe mailman is so hard to get working... What good is a maillist that does'nt send out of the box it's on?
Regards, Larry
On Dec 30, 2007 6:13 AM, Charles Marcus <CMarcus@media-brokers.com> wrote:

On 12/30/07, Larry Zins wrote:
I can't believe mailman is so hard to get working... What good is a maillist that does'nt send out of the box it's on?
Before blaming Mailman, you might want to try to have some sort of minimal understanding of how the other parts of a mail system work, and how Mailman fits into that overall picture.
Blaming your car for being a piece of crap and not working isn't a particularly useful or accurate activity to participate in, if you couldn't be bothered to refill the fuel tank.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>

On 12/29/07, Larry Zins wrote:
Dec 29 21:43:10 sonic postfix/trivial-rewrite[21282]: fatal: open database /etc/postfix/virtual.db: No such file or directory
You've got to create the virtual.db file first. To do this, try "postmap virtual". Don't use postalias, because that's just used for real local alias files, not virtual alias files.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
participants (3)
-
Brad Knowles
-
Charles Marcus
-
Larry Zins