Re: Postfix: user unknown in virtual alias table

Daniel Liston <[email protected]>
Newsgroups gmane.mail.majordomo.general,gmane.spam.detected
Organization Sonny Networks
Message-ID <[email protected]>
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/[email protected]>: Recipient address 
> rejected: User unknown in virtual alias table; 
> from=<[email protected]> 
> to=<:include:/var/majordomo/lists/[email protected]> 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 [email protected], 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
> 
> <[email protected]> (expanded from <-l>): invalid recipient syntax:
> "[email protected]" "
> 
> And another message with :
> 
> Return-Path: <[email protected]>
> 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/[email protected]>: Recipient 
> address rejected: User unknown in virtual alias table
> <[email protected]>: 127.0.0.1 said:
> 550 5.1.0 <[email protected]>: 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 [email protected]>: 
> Recipient address rejected: User unknown in virtual alias table
> <|/var/majordomo/[email protected]>: 127.0.0.1 said:
> 550 5.1.0 <|/var/majordomo/[email protected]>: 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/
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.