Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jul 2003
    Posts
    10

    Default /etc/valiases being overwritten when adding forwarder

    When I add a forwarder in cpanel, it is supposed to write to a file that corresponds to the domain within /etc/valiases/, but for some reason, if you try to add a forwarder, it deletes EVERYTHING in this file instead.

    This happened after an update to WHM 9.4.0 cPanel 9.4.1-S56 - previously it was WHM 9.4.0 cPanel 9.4.1-R21 and I did this to fix the redirect for domain.com/cpanel (which does now work) so I would not have to disable suexec. I even tried going back to the release version (R55, I believe it was) and that still did not solve this problem.

    The cpanel GUI says it was successfully added, but when you view the forwarders, it is blank. I was able to rescue the file from a backup and insert it manually into the domain's file in /etc/valiases and that restored the functionality.

    I checked the file perms and they are correct and I've rebuilt exim with /scripts/updatenow and /scripts/exim4 and restarted cpanel and exim, all to no avail. I've searched through the forums and tried some of the suggestions (although, none I found had these exact symptoms).

    I'm not out of space, either...

    Anyone have any ideas? I have no problem doing this manually, but there is sure to be a mess when some of the domains on this box try to add forwards to their domains...

    Thanks...

  2. #2
    Member Stephanie_R's Avatar
    Join Date
    Mar 2004
    Posts
    36

    Default

    I have exactly the same issue with this we are using (R 55)
    In some cases the file /etc/valiases/domain.com is not written to or it either wipes the file completely or deletes it.
    All permissions are fine and restoring from a backup resolves this.
    It then goes on to function normally.
    Ideas anyone ??

  3. #3
    Member
    Join Date
    May 2003
    Posts
    8

    Default

    Having this same problem here on a server any idea of the fix?

    CP-Version: 9.9.8-STABLE_6

    Scooter

  4. #4
    Member
    Join Date
    Aug 2003
    Posts
    77

    Default

    I know, it's an old topic, but when using the searchfunctionality i saw this topic. There are no (are just two or three) similar topics.

    We have the same issue:
    permissions and ownerships on /etc/valiases/domain.com are correct. When adding a forwarder, it completely wipe out all of the earlier made forwarders, and we just see a blank /etc/valiases/domain.com file....

    /scripts/fixvaliases does not solve it
    /scripts/eximup --force: not solving
    /scripts/upcp --force: not solving

    Info: WHM 10.8.0 cPanel 10.9.0-R139 FreeBSD 5.4-RELEASE i386 - WHM X v3.1.0

Similar Threads & Tags
Similar threads

  1. Adding forwarder via script
    By shiznatix in forum E-mail Discussions
    Replies: 1
    Last Post: 06-02-2009, 01:58 PM
  2. Automated adding of email forwarder
    By MHz in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-29-2007, 02:52 PM
  3. Adding forwarder users to a domain from a script?
    By mrcpu in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-19-2005, 02:31 PM
  4. adding forwarder
    By AG-Soft in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-01-2004, 05:42 PM
  5. Adding Forwarder at Cpanel.
    By Jorang in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-30-2001, 06:00 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube