Results 1 to 2 of 2

Thread: email forwarding generate error [an error occurred while processing this directive]

  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    48

    Default email forwarding generate error [an error occurred while processing this directive]

    we had restored accounts on a new drive after the old one developed problems. after this email forwarding for a domain is not working. the existing mail forwarders already created work fine. when trying to create a new forwarder i get

    All email sent to user@clientdomain.com will now be redirected to abcd@xyzdomain.com[an error occurred while processing this directive]

    in the cpanel logs i see this:-

    (internal warning) Thu Dec 1 01:15:47 2005 [13687] warn: Cannot get file lock on

    /etc/valiases/i$
    SafeFile::safeopen('GLOB(0x979c118)', '>', '/etc/valiases/clientdomain.com') called

    at$
    Cpanel::Email::rebuildconf('clientdomain.com') called at

    /usr/local/cpanel/Cpanel/Emai$
    Cpanel::Email::addforward('user', 'user@xyzdomain.com',

    'clientdomain.com'$
    main::doemail('addforward($FORM{\'email\'},$FORM{\'forward\'},$FORM{\'domain\'}...')

    call$
    main::exectag('<cpanel Email="addforward($FORM{\'email\'},$FORM{\'forward\'},$F...')

    call$
    main::dotag(undef) called at cpanel.pl line 3430
    main:arsehtml('GLOB(0x97698f8)') called at cpanel.pl line 329


    Can someone tell me what is going on. both the domains exist on the same server.

    Thanks
    Sunny

  2. #2
    Member spiff06's Avatar
    Join Date
    Jan 2004
    Posts
    87

    Default

    I have a similar one: I've just tried to restore an account and although the forwarders have all been restored and are operating, I don't see any forwarder in cPanel. Is there some cleanup utility that will retrieve data from /etc/valiases/domain.com to display it again in the front-end area?

    Thanks, Eric

    FIXED (aka Chirpy to the rescue):
    • Ran /scripts/updateuserdomains
    • Edited /var/cpanel/users/theproblemaccount

    My problem was that the add-on domain hadn't been properly restored (that's why its aliases weren't showing up in the list). I put it back in the list (DNS1=addondomain.ext) and everything is clean again.
    Last edited by spiff06; 12-09-2005 at 12:08 PM.

Similar Threads

  1. Replies: 4
    Last Post: 06-08-2011, 06:49 PM
  2. Replies: 5
    Last Post: 08-05-2010, 08:14 PM
  3. [an error occurred while processing this directive]
    By mihaitza20 in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 12-10-2009, 12:51 PM
  4. [an error occurred while processing this directive]
    By greenba in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 10-23-2007, 02:35 AM
  5. [an error occurred while processing this directive]
    By gegervision in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 01-07-2006, 11:44 AM