<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19046">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi Frank</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Charles spotted a good point.  I used <A 
href="http://www.intodns.com">www.intodns.com</A> and both the domains are 
returning errors; sort these first and the trouble shooting of the aliases will 
be far easier:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><A 
href="http://www.intodns.com/systea.net">http://www.intodns.com/systea.net</A></DIV>
<DIV><A 
href="http://www.intodns.com/systea.fr">http://www.intodns.com/systea.fr</A></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Regards, Richard</FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=charlesebowman@googlemail.com 
  href="mailto:charlesebowman@googlemail.com">Charles Bowman</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=blueonyx@mail.blueonyx.it 
  href="mailto:blueonyx@mail.blueonyx.it">BlueOnyx General Mailing List</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, May 21, 2011 2:40 
PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [BlueOnyx:07340] Re: alias 
  (virtusertable ?) issue</DIV>
  <DIV><BR></DIV>
  <DIV>Hi Frank,</DIV>
  <DIV><BR></DIV>
  <DIV>there appear to be DNS and hostname issues.</DIV>
  <DIV><BR></DIV>
  <DIV>The hostname "<A href="http://systea.fr">systea.fr</A>" uses CNAME 
  records.</DIV>
  <DIV>Will not work, use A records only.</DIV>
  <DIV><BR></DIV>
  <DIV>Cheers,</DIV>
  <DIV>C</DIV><BR>
  <DIV class=gmail_quote>On 21 May 2011 10:29, <A 
  href="mailto:fsoyer@systea.net">fsoyer@systea.net</A> <SPAN dir=ltr><<A 
  href="mailto:fsoyer@systea.net">fsoyer@systea.net</A>></SPAN> wrote:<BR>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
  class=gmail_quote>Hi guys<BR><BR>On a BO box already in production, emails 
    are working, but I now want<BR>use mail aliases.<BR>But all aliases return 
    "user unknown...". It's like<BR>virtusertable file was not used, but 
    aliases.db ? I've no more idea.<BR>Please heeeelp !<BR><BR>I tried 
    :<BR> makemap hash /etc/mail/mailertable < 
    /etc/mail/mailertable<BR> makemap hash /etc/mail/access.db < 
    /etc/mail/access<BR> makemap hash /etc/mail/virtusertable.db < 
     /etc/mail/virtusertable<BR> /etc/init.d/sendmail 
    restart<BR><BR>and then to be sure :<BR> cd /etc/mail<BR> make 
    clean<BR> make<BR> /etc/init.d/sendmail restart<BR><BR>For 
    example, I've an alias "frank.soyer" on a "fsoyer" user :<BR># sendmail -bv 
    <A 
    href="mailto:fsoyer@systea.net">fsoyer@systea.net</A><BR>fsoyer@systea.net... 
    deliverable: mailer local, user fsoyer<BR><BR># sendmail -bv <A 
    href="mailto:frank.soyer@systea.net">frank.soyer@systea.net</A><BR>frank.soyer@systea.net... 
    User unknown<BR><BR>I also have an alias "f.soyer" on this user.  But 
    on another domain<BR>"<A href="http://systea.fr" 
    target=_blank>systea.fr</A>" on the same host I have a *user* 
    f.soyer.<BR>Normally, <A 
    href="mailto:f.soyer@systea.net">f.soyer@systea.net</A> should point to 
    fsoyer in the domain<BR><A href="http://systea.net" 
    target=_blank>systea.net</A>, but :<BR># sendmail -bv <A 
    href="mailto:f.soyer@systea.net">f.soyer@systea.net</A><BR>f.soyer@systea.net... 
    deliverable: mailer local, user f.soyer<BR><BR>And more : I tried alias 
    names "support" and "info", and receive :<BR># sendmail -bv <A 
    href="mailto:support@systea.net">support@systea.net</A><BR>admin... 
    deliverable: mailer local, user admin<BR># sendmail -bv <A 
    href="mailto:info@systea.net">info@systea.net</A><BR>admin... deliverable: 
    mailer local, user admin<BR><BR>"admin" ??? Oh yes : this two aliases are in 
    aliases file, pointing to<BR>the user admin !<BR>So I suppose that sendmail 
    use aliases.db but not virtusertable.db.<BR><BR>Then :<BR># sendmail -d60.5 
    -bv <A 
    href="mailto:frank.soyer@systea.net">frank.soyer@systea.net</A><BR>map_lookup(dequote, 
    root, %0=root) => NOT FOUND (0)<BR>map_lookup(host, <A 
    href="http://systea.net" target=_blank>systea.net</A>, %0=<A 
    href="http://systea.net" target=_blank>systea.net</A>) => <A 
    href="http://systea.net" target=_blank>systea.net</A>. 
    (0)<BR>map_lookup(virtuser, <A 
    href="mailto:frank.soyer@systea.net">frank.soyer@systea.net</A>, %0=<A 
    href="mailto:frank.soyer@systea.net">frank.soyer@systea.net</A>,<BR>%1=frank.soyer) 
    => NOT FOUND (0)<BR>map_lookup(virtuser, @<A href="http://systea.net" 
    target=_blank>systea.net</A>, %0=@<A href="http://systea.net" 
    target=_blank>systea.net</A>, %1=frank.soyer) =><BR><A 
    href="mailto:frank.soyer@www.systea.net">frank.soyer@www.systea.net</A> 
    (0)<BR>map_lookup(host, <A href="http://www.systea.net" 
    target=_blank>www.systea.net</A>, %0=<A href="http://www.systea.net" 
    target=_blank>www.systea.net</A>) => <A href="http://www2.systea.fr" 
    target=_blank>www2.systea.fr</A>.<BR>(0)<BR>map_lookup(virtuser, <A 
    href="mailto:frank.soyer@www2.systea.fr">frank.soyer@www2.systea.fr</A>, 
    %<BR>0=<A 
    href="mailto:frank.soyer@www2.systea.fr">frank.soyer@www2.systea.fr</A>, 
    %1=frank.soyer) => NOT FOUND (0)<BR>map_lookup(virtuser, @<A 
    href="http://www2.systea.fr" target=_blank>www2.systea.fr</A>, %0=@<A 
    href="http://www2.systea.fr" target=_blank>www2.systea.fr</A>, 
    %<BR>1=frank.soyer) => NOT FOUND (0)<BR>frank.soyer@systea.net... User 
    unknown<BR><BR>You see ? What is strange is the line :<BR>map_lookup(host, 
    <A href="http://www.systea.net" target=_blank>www.systea.net</A>, %0=<A 
    href="http://www.systea.net" target=_blank>www.systea.net</A>) => <A 
    href="http://www2.systea.fr" 
    target=_blank>www2.systea.fr</A>.<BR>(0)<BR>where <A 
    href="http://www2.systea.fr" target=_blank>www2.systea.fr</A> is the local 
    hostname. On another BO working fine<BR>(I use it to try to find differences 
    with the sick one, without<BR>success...) this line point to the vhost name 
    (with the right domain<BR>name) not to the hostname !<BR><BR>And without 
    surprise, I find :<BR># sendmail -d60.5 -bv <A 
    href="mailto:info@systea.net">info@systea.net</A><BR>map_lookup(dequote, 
    root, %0=root) => NOT FOUND (0)<BR>map_lookup(host, <A 
    href="http://systea.net" target=_blank>systea.net</A>, %0=<A 
    href="http://systea.net" target=_blank>systea.net</A>) => <A 
    href="http://systea.net" target=_blank>systea.net</A>. 
    (0)<BR>map_lookup(dequote, info, %0=info) => NOT FOUND 
    (0)<BR>map_lookup(virtuser, <A 
    href="mailto:info@systea.net">info@systea.net</A>, %0=<A 
    href="mailto:info@systea.net">info@systea.net</A>, %1=info) =><BR>NOT 
    FOUND (0)<BR>map_lookup(virtuser, @<A href="http://systea.net" 
    target=_blank>systea.net</A>, %0=@<A href="http://systea.net" 
    target=_blank>systea.net</A>, %1=info) =><BR><A 
    href="mailto:info@www.systea.net">info@www.systea.net</A> 
    (0)<BR>map_lookup(host, <A href="http://www.systea.net" 
    target=_blank>www.systea.net</A>, %0=<A href="http://www.systea.net" 
    target=_blank>www.systea.net</A>) => <A href="http://www2.systea.fr" 
    target=_blank>www2.systea.fr</A>.<BR>(0)<BR>map_lookup(dequote, info, 
    %0=info) => NOT FOUND (0)<BR>map_lookup(virtuser, <A 
    href="mailto:info@www2.systea.fr">info@www2.systea.fr</A>, %0=<A 
    href="mailto:info@www2.systea.fr">info@www2.systea.fr</A>, %<BR>1=info) 
    => NOT FOUND (0)<BR>map_lookup(virtuser, @<A href="http://www2.systea.fr" 
    target=_blank>www2.systea.fr</A>, %0=@<A href="http://www2.systea.fr" 
    target=_blank>www2.systea.fr</A>, %1=info) =><BR>NOT FOUND 
    (0)<BR>map_lookup(dequote, postmaster, %0=postmaster) => NOT FOUND 
    (0)<BR>map_lookup(dequote, root, %0=root) => NOT FOUND 
    (0)<BR>map_lookup(dequote, admin, %0=admin) => NOT FOUND (0)<BR>admin... 
    deliverable: mailer local, user admin<BR><BR>returning the alias (from 
    aliases.db) "info" to "admin" (via postmaster,<BR>then root, then 
    admin).<BR><BR>A part of the virtusertable file :<BR><------ snip<BR><A 
    href="mailto:support@www.systea.net">support@www.systea.net</A>   
        support<BR><A 
    href="mailto:info@www.systea.net">info@www.systea.net</A>     
       support<BR>@<A href="http://systea.net" 
    target=_blank>systea.net</A>     %<A 
    href="mailto:1@www.systea.net">1@www.systea.net</A><BR><------ 
    snip<BR><BR><A href="http://sendmail.mc" target=_blank>sendmail.mc</A> (I 
    have regenerated <A href="http://sendmail.cf" target=_blank>sendmail.cf</A> 
    from this one with m4) :<BR>...<BR>define(`ALIAS_FILE',`/etc/mail/aliases, 
    /etc/mail/aliases.majordomo')dnl<BR>...<BR>FEATURE(`mailertable',`hash -o 
    /etc/mail/mailertable.db')dnl<BR>FEATURE(`virtusertable',`hash -o 
    /etc/mail/virtusertable.db')dnl<BR>FEATURE(redirect)dnl<BR>FEATURE(always_add_domain)dnl<BR>...<BR><BR>So 
    in the .cf I have<BR>Kvirtuser hash -o 
    /etc/mail/virtusertable.db<BR><BR><BR>How many hours on that 
    problem.......<BR>Thank you for any suggestion ! 
    :/<BR>Frank<BR><BR>_______________________________________________<BR>Blueonyx 
    mailing list<BR><A 
    href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</A><BR><A 
    href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" 
    target=_blank>http://mail.blueonyx.it/mailman/listinfo/blueonyx</A><BR></BLOCKQUOTE></DIV><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Blueonyx mailing 
  list<BR>Blueonyx@mail.blueonyx.it<BR>http://mail.blueonyx.it/mailman/listinfo/blueonyx<BR></BLOCKQUOTE></BODY></HTML>