Results 1 to 8 of 8

Thread: .forward files assistance please :)

  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    105

    Default .forward files assistance please :)

    I was successful at placing a .forward file in my /root/ directory to forward root\'s email to a specific address.

    What I need to know is how I can make sure that email sent to nobody@host.domain.com and other system wide usernames is also delivered to a specific address. I tried placing a .forward file in the root partition ( / ) and that didn\'t do it.

    Let me know if any of you have figured a way to do accomplish this task.

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    105

    Default

    Anyone?

    It\'s important that a server admin be able to receive email that is sent to nobody@host.domain.com

    The way cpanel is structured, I see no way to do this. I\'ve tried adding a .forward file containing an email address to forward to, but that doesn\'t work.

    If the .forward file does indeed work, please let me know it\'s content and it\'s required location.

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    164

    Default

    I was always wondering how to check the email that goes to /root.

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    105

    Default

    For email sent to root just create a .forward file in the /root directory containing the email address you wish to forward root\'s email to and that should do the trick. It works on our servers

    Now, just need to figure out how to get nobody\'s email

  5. #5
    Member
    Join Date
    Aug 2001
    Posts
    76

    Default

    [quote:e58c89da2b]
    Now, just need to figure out how to get nobody\'s email [/quote:e58c89da2b]

    Anybody know how to do it??

  6. #6
    Member
    Join Date
    Aug 2001
    Posts
    105

    Default

    It doesn\'t look like anyone knows how to perform this task unfortunately. This is one area where cpanel/whm lacks. Basic configuration of a server should allow you to specify where email for any user is sent to.

  7. #7
    bdraco
    Guest

    Default

    Edit your exim.conf

    Switch the following 2 blocks

    localuser:
    driver = localuser
    transport = local_delivery


    system_aliases:
    driver = aliasfile
    file = /etc/aliases
    search_type = lsearch
    # user = exim
    file_transport = address_file
    pipe_transport = address_pipe



    Then

    echo \"nobody: /dev/null\" >> /etc/aliases

  8. #8
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    I\'ve always been able to rig this up when the need arose- each server is different though. Sometimes I had to make a directory /mail in the root of the ENTIRE server and then tweak permissions so that exim could deliver there, and apache could dump shite there.... sometimes directory structure had to be made elsewhere.

    Basically exim_mainlog will tell you how apache/exim work in tandem to deliver mail to \"nobody@YOURSERVER\" whether it functions correctly or not..... it will at least give you an error that explains which directory structure fail during the deliverance, so then you can begin to piece something together to get ahold of it.

    And/or Nick just posted something that is probably about 2823 times better technically then what I mentioned.

    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

Similar Threads

  1. Forward or don't forward an email, depending on attachment
    By Lista in forum New User Questions
    Replies: 2
    Last Post: 09-11-2009, 12:31 PM
  2. .forward files
    By simonthebrit in forum E-mail Discussions
    Replies: 2
    Last Post: 04-26-2009, 02:15 AM
  3. Exim: Not using .forward files?
    By tbenoit in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 02-15-2004, 06:42 PM
  4. Local->Local->Forward to Remote: Forward doesn't work
    By payne in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 08-26-2003, 10:14 AM
  5. Need some assistance
    By jmc67 in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 07-20-2003, 12:47 PM