From majordomo-users-owner@greatcircle.com Thu Jul 27 14:54:41 2006 X-Original-To: majordomo-users@greatcircle.com X-Greylist: delayed 60 seconds by postgrey-1.24 at mycroft; Thu, 27 Jul 2006 14:54:40 PDT Received: from bay0-omc1-s2.bay0.hotmail.com (bay0-omc1-s2.bay0.hotmail.com [65.54.246.74]) by mycroft.greatcircle.com (Postfix) with ESMTP id 186F419C8A5 for ; Thu, 27 Jul 2006 14:54:40 -0700 (PDT) Received: from hotmail.com ([207.46.8.95]) by bay0-omc1-s2.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 27 Jul 2006 14:53:35 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 27 Jul 2006 14:53:35 -0700 Message-ID: Received: from 207.46.8.123 by by117fd.bay117.hotmail.msn.com with HTTP; Thu, 27 Jul 2006 21:53:32 GMT X-Originating-IP: [207.212.42.120] X-Originating-Email: [notinhnotien7@hotmail.com] X-Sender: notinhnotien7@hotmail.com From: "notinh notien" To: majordomo-users@greatcircle.com Subject: Postfix: user unknown in virtual alias table Date: Fri, 28 Jul 2006 04:53:32 +0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 27 Jul 2006 21:53:35.0398 (UTC) FILETIME=[1C0ED460:01C6B1C7] X-Archive-Number: 200607/1 X-Sequence-Number: 5489 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= to=<:include:/var/majordomo/lists/test@myhost.com> proto=ESMTP helo= 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 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: 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 : 127.0.0.1 said: 550 5.1.0 : 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/ From majordomo-users-owner@greatcircle.com Fri Jul 28 14:18:06 2006 X-Original-To: majordomo-users@greatcircle.com X-Greylist: delayed 8044 seconds by postgrey-1.24 at mycroft; Fri, 28 Jul 2006 14:18:04 PDT Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by mycroft.greatcircle.com (Postfix) with ESMTP id A225719C774 for ; Fri, 28 Jul 2006 14:18:04 -0700 (PDT) Received: from fe-amer-02.sun.com ([192.18.108.176]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k6SJ3wOU014395 for ; Fri, 28 Jul 2006 13:03:58 -0600 (MDT) Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0J3400E01N9MTM00@mail-amer.sun.com> (original mail from dliston@sonny.org) for majordomo-users@greatcircle.com; Fri, 28 Jul 2006 13:03:58 -0600 (MDT) Received: from [70.58.223.140] by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0J3400BD2NMLOLD1@mail-amer.sun.com>; Fri, 28 Jul 2006 13:03:58 -0600 (MDT) Date: Fri, 28 Jul 2006 14:04:02 -0500 From: Daniel Liston Subject: Re: Postfix: user unknown in virtual alias table In-reply-to: To: notinh notien Cc: majordomo-users@greatcircle.com Message-id: <44CA5FA2.6090507@sonny.org> Organization: Sonny Networks MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en References: User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20060120 X-Archive-Number: 200607/2 X-Sequence-Number: 5490 Are you hosting or hosted by another domain? Is your majordomo list alias information also in the /etc/postfix/virtual file? Did you execute postalias and restart postfix after making any changes to your configuration files? There is some good information regarding majordomo in the FAQ at www.postfix.com, and in the archives at www.greatcircle.com. I really don't know much about postfix other than what I have seen come through this list, but something you can try if you want to make sure your aliases are working, is to set an alias that expands directly to your address, another that :include:'s a file containing only your address, and finally one that pipes to a script or other executable that sends your address a message. If all that is working, majordomo should also work. Dan Liston notinh notien wrote: > 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= > to=<:include:/var/majordomo/lists/test@myhost.com> proto=ESMTP > helo= > > > 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 > > 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: > 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 > : 127.0.0.1 said: > 550 5.1.0 : 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/ >