Great Circle Associates Majordomo-Users
(July 2006)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Postfix: user unknown in virtual alias table
From: "notinh notien" <notinhnotien7 @ hotmail . com>
Date: Fri, 28 Jul 2006 04:53:32 +0700
To: majordomo-users @ greatcircle . com

Hi, all. I am a newbie with majordomo and postfix. I tried to set up open-exchange to have majordomo as the mailing list manager. Howerver, I kept getting this error message when tried to test the test list.

postfix/smtpd[14256]: 6B59511FF9: reject: RCPT from localhost[127.0.0.1]: 550 <:include:/var/majordomo/lists/test @
myhost .
com>: Recipient address rejected: User unknown in virtual alias table; from=<notinhnotien7 @
myhost .
com> to=<:include:/var/majordomo/lists/test @
myhost .
com> proto=ESMTP helo=<localhost>



postconf -n

alias_database = hash:/etc/aliases,ldap:ldapsharedfolder, hash:/etc/mail/aliases.majordomo
alias_maps = hash:/etc/aliases,ldap:ldapsharedfolder, hash:/etc/mail/aliases.majordomo
disable_dns_lookups = no
disable_vrfy_command = yes
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_exceptions = root
message_size_limit = 20971520
mydestination = $myhostname,localhost.$mydomain,localhost
recipient_delimiter = +
smtpd_helo_restrictions = permit_mynetworks, reject_non_fqdn_hostname, reject_invalid_hostname, permit
smtpd_recipient_restrictions = reject_unauth_pipelining, reject_non_fqdn_recipient, reject_unknown_recipient_domain, check_sender_access ldap:ldap_restrictions, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_rbl_client relays.ordb.org, reject_rbl_client list.dsbl.org, reject_rbl_client sbl-xbl.spamhaus.org, check_policy_service unix:/var/spool/postfix/postgrey/socket permit



smtpd_restriction_classes = local_only
local_only = check_recipient_access ldap:ldapvdom, reject
smtpd_sender_restrictions = check_sender_access ldap:ldapcheckexternal permit_mynetworks, warn_if_reject reject_non_fqdn_sender, warn_if_reject reject_unknown_sender_domain, permit


transport_maps = ldap:ldaptrans
local_recipient_maps =
unknown_local_recipient_reject_code = 550
virtual_alias_domains = ldap:ldapvdom
virtual_alias_maps = hash:/etc/postfix/virtual,ldap:ldapcoloc, hash:/etc/mail/aliases.majordomo
smtpd_restriction_classes = local_only
local_only = check_recipient_access ldap:ldapvdom, reject


# Majordomo's aliases
majordom:        majordomo
majordomo:       "|/var/majordomo/wrapper majordomo"
owner-majordomo: notinhnotien7
majordomo-owner: owner-majordomo
discard:         /dev/null

#test list aliases
test:           "|/var/majordomo/wrapper resend -l test test-list"
test-list:      ":include:/var/majordomo/lists/test"
test-request:   "|/var/majordomo/wrapper request-answer test"
test-approval:  owner-test
test-owner:     owner-test
owner-test:     notinhnotien7

I used newaliases -oAhash:/etc/mail/aliases.majordomo to update the alias file.

If I sent mail to test @
myhost .
com, I would get Undelivered Mail Returned to Sender and the error message in the body of the email:


"I'm sorry to have to inform you that your message could not be
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The Postfix program

<-l @
myhost .
com> (expanded from <-l>): invalid recipient syntax:
"-l @
myhost .
com" "

And another message with :

Return-Path: <notinhnotien7 @
myhost .
com>
Your message <20194629 .
1131154036040737 .
OPEN-XCHANGE .
WebMail .
tomcat @
gemini .
myhost .
com> could not be delivered to:
<":include:/var/majordomo/lists/test"@myhost.com>: 127.0.0.1 said:
550 5.1.0 <:include:/var/majordomo/lists/test @
myhost .
com>: Recipient address rejected: User unknown in virtual alias table
<resend @
myhost .
com>: 127.0.0.1 said:
550 5.1.0 <resend @
myhost .
com>: Recipient address rejected: User unknown in virtual alias table
<"|/var/majordomo/wrapper resend -l test test-list"@myhost.com>: 127.0.0.1 said:
550 5.1.0 <|/var/majordomo/wrapper resend -l test test-list @
myhost .
com>: Recipient address rejected: User unknown in virtual alias table
<|/var/majordomo/wrapper @
myhost .
com>: 127.0.0.1 said:
550 5.1.0 <|/var/majordomo/wrapper @
myhost .
com>: Recipient address rejected: User unknown in virtual alias table


Please help and show me what is wrong with this.

Thank you in advance,
NN.

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/




Follow-Ups:
Indexed By Date Previous:
From: (nil)
Next: Re: Postfix: user unknown in virtual alias table
From: Daniel Liston <dliston@sonny.org>
Indexed By Thread Previous:
From: (nil)
Next: Re: Postfix: user unknown in virtual alias table
From: Daniel Liston <dliston@sonny.org>