Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    1

    Default .conf and wild card local_name

    Hello,

    I am trying to set up a wildcard local_name - and I got it to work but I had to comment out a section... Here is what I changed in the directors section of the .conf file:

    All I did here is add the local_part_suffix lines (2 lines) right after the "driver=redirect":

    Code:
    virtual_aliases_nostar:
      driver = redirect
      local_part_suffix = -*
      local_part_suffix_optional
      allow_defer
      allow_fail
      data = ${if exists{/etc/valiases/$domain}{${lookup{$local_part@$domain}lsearch{/etc/valiases/$domain}}}}
      file_transport = address_file
      group = mail
      pipe_transport = virtual_address_pipe
      retry_use_local_part
      domains = lsearch;/etc/localdomains
      unseen
    It was working but I was also get a bounce because of this section so I commented it out:

    Code:
    #virtual_aliases:
    #  driver = redirect
    #  allow_defer
    #  allow_fail
    #  data = ${if exists{/etc/valiases/$domain}{${lookup{*}lsearch{/etc/valiases/$domain}}}}
    #  file_transport = address_file
    #  group = mail
    #  pipe_transport = virtual_address_pipe
    #  domains = lsearch;/etc/localdomains
    #  retry_use_local_part
    What is the purpose of the "virtual_aliases" section - am I setting myself up to miss something by commenting it out?

    UPDATE: Actually by commenting that out I still get a bounce message (even though the mail is delivered) after commenting that out the new bounce message is "Unrouteable address". Where and what else do I need to change in the Conf to get the desired effect?

    Ex:

    steve@domain.com is a mailbox
    steve@domain.com also has a forward to user@anotherdomain.com

    So:

    steve-tag@domain.com goes to the mailbox and gets forwarded

    BTW, I don't really use .forward files so I didn't play with those recipes - it doesn't seem that Cpanel creates the .forward files only the domain files in the /etc/valiases directory.

    Thanks,
    Steve

    Ref: http://bugzilla.cpanel.net/show_bug.cgi?id=5292
    Last edited by _steve_; 06-18-2007 at 10:13 PM. Reason: Update

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 12-24-2008, 09:30 AM
  2. setup your DNS with a wild card
    By cLub2Share in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-30-2005, 03:31 PM
  3. Wild Card Subdomain!
    By klowner in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 11-13-2005, 10:34 AM
  4. Wild Card SSL Cert
    By techdigits in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-15-2004, 07:07 PM
  5. wild card dns
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-25-2003, 04:19 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube