The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

problem with Exim .forward

Discussion in 'E-mail Discussions' started by Vagabundo, Jun 11, 2007.

  1. Vagabundo

    Vagabundo Member

    Joined:
    Jan 3, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dominican Republic
    I have a problem with Exim .forward
    It is really in the home directory of the user, but the forward file is not used.
    After receiving an email there is not entry in the logfile.

    Christian

    my .forward:

    # Exim Filter

    logfile $home/eximfilter.log
    logwrite "$tod_log $header_From: $header_Subject: $header_To:"

    # Filter "test"
    if $header_To: contains "test@my-domain.de"
    then
    deliver "sales@my-domain.de"
    endif

    There is no file eximfilter.log after receiving an email and all mails is test@....

    If I try to add a forward in CPanel > accounts > mail > forwardings
    a forward is working, but there is not built an user .forward file. Where do CPanle entry this forward???

    And I need to COPY a incoming email to an second user. I found no solution to do this with CPanel
     
  2. deadlock

    deadlock Well-Known Member

    Joined:
    May 12, 2002
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Filters are also kept in /etc/vfilters which takes precedence over the local user .forward file, so you might have more luck by placing it there. Also, try creating the blank logfiles, it might be happy writing to them but not creating, just an idea. Also, try $header_to: (lowercase).

    You can send a copy like this:

    unseen deliver other@user.com

    'unseen' tells it to do the action and also carry on processing the mail afterwards.
     
Loading...

Share This Page