Mail forward problem

Discussion in 'Installation/Configuration' started by badben, Sep 17, 2006.

  1. badben

    badben ISPConfig Developer ISPConfig Developer

    I have set-up a mail forward on the catchall address fro a domain.

    The problem is that the email doesn't get forwarded.

    If I set it to keep copy the copy is kept in inbox but not forwarded and I can't see why.

    There are no entries in the error or warning logs for the message bnut the output of info is:

    Sep 17 00:57:15 tidy-hosting postfix/smtpd[29601]: connect from py-out-1112.google.com[64.233.166.177]
    Sep 17 00:57:16 tidy-hosting postfix/smtpd[29601]: 321F7164589D: client=py-out-1112.google.com[64.233.166.177]
    Sep 17 00:57:16 tidy-hosting postfix/qmgr[3080]: 321F7164589D: from=<[email protected]>, size=1586, nrcpt=1 (queue active)
    Sep 17 00:57:16 tidy-hosting postfix/pickup[3079]: 98B17164589F: uid=10020 from=<xxxxxx.co.uk>
    Sep 17 00:57:16 tidy-hosting postfix/qmgr[3080]: 98B17164589F: from=<[email protected]>, size=43
    4, nrcpt=1 (queue active)
    Sep 17 00:57:16 tidy-hosting postfix/qmgr[3080]: 98B17164589F: removed
    Sep 17 00:57:23 tidy-hosting postfix/cleanup[29720]: A814A164589E: message-id=<[email protected]
    ail.gmail.com>
    Sep 17 00:57:23 tidy-hosting postfix/qmgr[3080]: A814A164589E: from=<[email protected]>, size=1754, nrcpt=2 (queue active)
    Sep 17 00:57:23 tidy-hosting postfix/qmgr[3080]: 321F7164589D: removed
    Sep 17 00:57:26 tidy-hosting postfix/smtp[30119]: A814A164589E: to=<[email protected]>, orig_to=<[email protected]>
    , relay=gmail-smtp-in.l.google.com[64.233.183.27], delay=3, status=sent (250 2.0.0 OK 1158451046 o53si2713049nfa)
    Sep 17 00:57:46 tidy-hosting postfix/smtpd[29601]: disconnect from py-out-1112.google.com[64.233.166.177]
    Sep 17 00:57:54 tidy-hosting postfix/smtp[30120]: connect to mx3.hotmail.com[64.4.50.179]: Connection timed out (port 25)
    Sep 17 00:57:56 tidy-hosting postfix/smtp[30120]: A814A164589E: to=<[email protected]>, orig_to=<[email protected]>, relay=mx3.hotmail.com[65.54.244.72], delay=33, status=sent (250 <[email protected]
    .gmail.com> Queued mail for delivery)
    Sep 17 00:57:56 tidy-hosting postfix/qmgr[3080]: A814A164589E: removed


    Any ideas.

    P.s on Mandrake 10.2 using perfect setup
     
    Last edited: Sep 24, 2006
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please have a look at the procmail recipes in the home directory of the user, is the procmail recipe for forwarding is included in the .procmail.rc file and does the forward recipe contain the correct email address?
     
  3. badben

    badben ISPConfig Developer ISPConfig Developer

    where is this file?

    I have looked in /home/www/web19/user/XXX.co.uk/ and there is only index.html

    Thanks in advance
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The files are hidden, you mus use the command ls -la in the home directory of the user to see the files.
     
  5. badben

    badben ISPConfig Developer ISPConfig Developer

    I have just had a look and this file and it does not exist. this would appear to be the problem I think.

    Any suggestions?
     
  6. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    grep [I]<username>[/I] /etc/passwd
    ?
     
  7. badben

    badben ISPConfig Developer ISPConfig Developer

    grep xxxxxxxxx /etc/passwd
    xxxxxxxxx:x:10020:10019:xxxxxxxxx:/home/www/web19:/bin/bash
    xxxxxxxxx:x:10023:10019:Bryan Haworth:/home/www/web19/user/xxxxxxxxx:/bin/bash
    xxxxxxxxx.co.ukpaul:x:10024:10019:paul Murphy:/home/www/web19/user/xxxxxxxxx:/bin/bash
    xxxxxxxxx.co.ukgary:x:10022:10019:Gary Bentley:/home/www/web19/user/xxxxxxxxx:/dev/null
     
    Last edited: Sep 24, 2006
  8. falko

    falko Super Moderator ISPConfig Developer

    You have multiple users with the homedir /home/www/web19/user/xxxxxxxxx? How does that come? :confused:

    What's the output of
    Code:
    ls -la /home/www/web19/user/xxxxxxxxx
    ?
     
  9. badben

    badben ISPConfig Developer ISPConfig Developer

    total 116
    drwxr-xr-x 3 xxxxxxxxx web19 4096 Sep 17 00:58 ./
    drwxr-xr-x 6 xxxxxxxxx web19 4096 Sep 13 19:15 ../
    -rw-r--r-- 1 root root 103 Sep 17 00:58 .antivirus.rc
    -rw-r--r-- 1 root root 771 Sep 17 00:58 .autoresponder.rc
    -rw-r--r-- 1 root root 67866 Sep 17 00:58 .html-trap.rc
    -rw-r--r-- 1 root root 3889 Sep 17 00:58 .local-rules.rc
    -rw-r--r-- 1 root root 180 Sep 17 00:58 .mailsize.rc
    -rw-r--r-- 1 root root 656 Sep 17 00:58 .quota.rc
    -rw-r--r-- 1 root root 1159 Sep 17 00:58 .spamassassin.rc
    -rw-r--r-- 1 root root 2000 Sep 17 00:58 .user_prefs
    -rw-r--r-- 1 root root 32 Sep 17 00:58 .vacation.msg
    drwxrwxr-x 2 xxxxxxxx web19 4096 Aug 22 08:36 web/
     
  10. falko

    falko Super Moderator ISPConfig Developer

    I see no .forward file in that directory. Is xxxxxxxxx the site admin or a "normal" user?
     
  11. badben

    badben ISPConfig Developer ISPConfig Developer

    site admin
     
  12. falko

    falko Super Moderator ISPConfig Developer

    Ok, what's in /home/www/web19/.forward?
     

Share This Page