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.

Email... Question....

Discussion in 'E-mail Discussions' started by powerhouse, Oct 26, 2002.

  1. powerhouse

    powerhouse Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Ok
    Ok, I am playing around with the email. in fact its here:

    /home/username/mail

    inside of mail there are domain names ie:

    user1
    user2
    mydomain.com
    user3
    user4
    more

    inside of mydomain.com are the same exact directories
    as in mail except no mydomain.com

    When email is sent to user1@mydomain.com
    both inbox files in both mail and mail/mydomain.com
    get the information, when it has been deleted they are
    removed from both.

    However, when I delete an account, it ONLY removes it from mail not from mydomain.com

    Now I've written a script in perl to allow for FREE email accounts to be given away from our domain, I have it write 2 directories:
    mail/whatever
    mail/mydomain.com/whatever

    do I have to add it to both?
    Or just to mail?
    cause in etc I have the same directory
    etc/mydomain.com/shadow
    etc/mydomain.com/passwd
    etc/mydomain.com/quota
    also same files in etc

    I only have it write it to etc/shadow and so forth,
    but it ends up in both.
    So, which do I do?

    Why does it not remove both the directories in mail and in mail/mydomain.com when I have cpanel remove the account?
    is that a bug, or there for a backup?

    Thank you for any light you can shed upon my confusion.
    Of course, I've been working on this since 8am(+/-) and it's now 4:06am so I'm kinda trippin over it :)

    Thank you.
    Richard.
     
  2. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    [quote:36e6c33d50][i:36e6c33d50]Originally posted by powerhouse[/i:36e6c33d50]

    Ok, I am playing around with the email. in fact its here:

    /home/username/mail

    inside of mail there are domain names ie:

    user1
    user2
    mydomain.com
    user3
    user4
    more

    inside of mydomain.com are the same exact directories
    as in mail except no mydomain.com

    When email is sent to user1@mydomain.com
    both inbox files in both mail and mail/mydomain.com
    get the information, when it has been deleted they are
    removed from both.

    However, when I delete an account, it ONLY removes it from mail not from mydomain.com

    Now I've written a script in perl to allow for FREE email accounts to be given away from our domain, I have it write 2 directories:
    mail/whatever
    mail/mydomain.com/whatever

    do I have to add it to both?
    Or just to mail?
    cause in etc I have the same directory
    etc/mydomain.com/shadow
    etc/mydomain.com/passwd
    etc/mydomain.com/quota
    also same files in etc

    I only have it write it to etc/shadow and so forth,
    but it ends up in both.
    So, which do I do?

    Why does it not remove both the directories in mail and in mail/mydomain.com when I have cpanel remove the account?
    is that a bug, or there for a backup?

    Thank you for any light you can shed upon my confusion.
    Of course, I've been working on this since 8am(+/-) and it's now 4:06am so I'm kinda trippin over it :)

    Thank you.
    Richard.
    [/quote:36e6c33d50]
    I answered this question in another thread in details:
    just click on the link
    http://forums.cpanel.net/read.php?TID=5064&page=1
     
  3. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    Another post you'll find useful:
    http://forums.cpanel.net/read.php?TID=3942&page=2#19520
     
  4. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    [quote:b229868d03][i:b229868d03]Originally posted by powerhouse[/i:b229868d03]

    Why does it not remove both the directories in mail and in mail/mydomain.com when I have cpanel remove the account?
    is that a bug, or there for a backup?

    [/quote:b229868d03]
    hard link, I wrote in details in another thread:
    http://forums.cpanel.net/read.php?TID=5064&page=1
     
Loading...

Share This Page