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":
It was working but I was also get a bounce because of this section so I commented it out: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
What is the purpose of the "virtual_aliases" section - am I setting myself up to miss something by commenting 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
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



LinkBack URL
About LinkBacks
Reply With Quote




