Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    113

    Default EXIM sending mail to the wrong user!

    It looks like since cpanel STABLE_90 any mail sent to a main user @ virtualdomain.com is being sent to the wrong user! For instance when I send to mainuser@virtualdomain.com the message get\'s sent to the main account for the reseller of their virtual domain (as setup in WHM)... does that make sense? I\'m tempted to revert to the /ect/exim.conf that is pre STABLE_90... does you know if that would cause more problems?

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    113

    Default

    does anyone else have this problem?

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    113

    Default I just upgraded to 4.4.0-STABLE_26... no fix.


  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    113

    Default

    I just replaced my current exim.conf file with one from STABLE_83 and I still have the problem

  5. #5
    Member
    Join Date
    Aug 2001
    Posts
    113

    Default

    Okay, I\'ve found out that it has nothing to do with the reseller, the mail get\'s bounced to my own email address regardless of the reseller the account is under. Why my address? I don\'t know. I\'ve searched /etc/exim.conf, valiases/, and domainalias configuration files and didn\'t see anything out of the ordinary. Anybody have any ideas?

  6. #6
    bdraco
    Guest

    Default

    ls -l /etc/valiases/`hostname`


    What does this return ?

  7. #7
    Member
    Join Date
    Aug 2001
    Posts
    113

    Default

    Good to hear from you

    it says:

    -rw-r--r-- 1 username mail 130 Feb 5 16:54 /etc/valiases/virtualdomain.com

  8. #8
    Member
    Join Date
    Aug 2001
    Posts
    113

    Default

    The pertinent line in /var/log/exim_mainlog looks like:

    2002-02-05 17:04:08 16YDh9-0003j6-00 => myusername <otherusername@virtualdomain.com> D=localuser T=local_delivery

    I would expect to see:

    2002-02-05 17:04:08 16YDh9-0003j6-00 => otherusername <otherusername@virtualdomain.com> D=localuser T=local_delivery

  9. #9
    Member
    Join Date
    Aug 2001
    Posts
    113

    Default /scripts/fixpop

    I found that running /scripts/fixpop on the main username for each domain fixes the problem, but it sticks the mail in
    /home/mainusername/mail/mainusername/inbox
    instead of in:
    /home/mainusername/mail/inbox
    like it did before... is that a problem?

  10. #10
    Member
    Join Date
    Aug 2001
    Posts
    113

    Default /scripts/fixpop solution

    Okay, I ran the /script/fixpop program on the accounts and they seems to be recieving their mail properly, but one side effect I\'ve noticed is that in their cpanel add/remove mail accounts page their main address is now listed twice... it\'s in there once as the main account (with no @virtualdomain.com after it) and then listed a second time just like a normal address. Is this a problem?

  11. #11
    bdraco
    Guest

    Default

    Try

    rm -f /etc/valiases/`hostname`

Similar Threads & Tags
Similar threads

  1. Which user is sending mail massive
    By pablolibo in forum E-mail Discussions
    Replies: 2
    Last Post: 11-07-2009, 03:31 AM
  2. Sending Mail As user@domain.com
    By SonServers in forum E-mail Discussions
    Replies: 7
    Last Post: 10-24-2007, 09:38 AM
  3. User nobody sending mail - Which account is it?
    By redlorry919 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-12-2005, 01:16 PM
  4. Exim sending all email for user to /dev/null
    By jsteel in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-01-2004, 02:46 PM
  5. prevent user nobody from sending out mail
    By cazny in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-12-2004, 12:36 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube