Mail to myself is not ariving myself but [email protected]

Discussion in 'General' started by tom, Oct 13, 2006.

  1. tom

    tom Member

    If I send a email from [email protected] to [email protected] it is not arriving [email protected] but it is going to [email protected]ldomain. But why?
    Code:
    Oct 13 01:25:04 server-x postfix/cleanup[6504]: 44598BCFA: message-id=<[email protected]>
    Oct 13 01:25:04 server-x postfix/qmgr[5838]: 44598BCFA: from=<[email protected]>, size=690, nrcpt=1 (queue active)
    Oct 13 01:25:04 server-x postfix/smtpd[6501]: disconnect from dslb-x[88.3.79.167]
    Oct 13 01:25:04 server-x postfix/pickup[5837]: D6EEDBD00: uid=10001 from=<web1_admin>
    Oct 13 01:25:04 server-x postfix/cleanup[6504]: D6EEDBD00: message-id=<[email protected]>
    Oct 13 01:25:04 server-x postfix/qmgr[5838]: D6EEDBD00: from=<[email protected]>, size=383, nrcpt=1 (queue active)
    Oct 13 01:25:05 server-x postfix/local[6523]: D6EEDBD00: to=<[email protected]>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
    Oct 13 01:25:05 server-x postfix/qmgr[5838]: D6EEDBD00: removed
    That's a new behavior from postfix on the server and it was'nt like this before. What I did is installing exim4 at the same machine but that was'nt my purpose and I've removed it an half an hour later. Could it habe something to do with this strange new behavior?
    How do I get rid of it?

    :confused:
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, installing exim may have messed up your email setup.

    The email is not delivered to amdispconfig, thats only the mail size to generate the mail statistics. This happens on all ISPConfig installations.

    Please redo the configuration steps for postfix from the perfect setup to fix your error.
     
  3. tom

    tom Member

    I'v reinstalled postfix but nothing changed but now somthing is wrong whith the asaslauthd. Postfix now does'nt support ssl_authentication anymore only:
    Code:
    250-PIPELINING
    250-SIZE 204800
    250-VRFY
    250-ETRN
    250 8BITMIME
    :mad:

    Code:
    postfix/smtpd[14021]: warning: smtpd_sasl_auth_enable is true, but SASL support is not compiled in
    I've installed even a new cert but what means is not compiled in?

    Do you now what the exim4 installation exacly does whith the postfix configuration?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Exim4 is a MTA like postfix. If you install exim4, postfix and related pacakges are uninstalled.

    If you use debian, please run this command again:
    #

    If you use another linux distribution, please use the package install command from the corresponding howto.
     
  5. tom

    tom Member

    ok, thats good to now:)

    Code:
    250-PIPELINING
    250-SIZE 204800
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH LOGIN PLAIN
    250-AUTH=LOGIN PLAIN
    250 8BITMIME
    
    But still:
    Code:
    Oct 14 14:00:10 server-x postfix/qmgr[7057]: 237F4BCE1: from=<[email protected]>, size=383, nrcpt=1 (queue active)
    Oct 14 14:00:10 server-x postfix/local[21629]: 237F4BCE1: to=<[email protected]>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
    ???
     
  6. falko

    falko Super Moderator Howtoforge Staff

    It's normal that a mail is sent to admispconfig when you send a mail from your server. The mail contains the size of the sent mail (to generate mail statistics) andn ot the original mail. I don't think that your mail to [email protected] was sent to admispconfig because then it would look like this:

    Code:
    Oct 14 14:00:10 server-x postfix/local[21629]: 237F4BCE1: to=<[email protected]>, [B][COLOR="Red"]orig_to=<[email protected]>[/COLOR][/B], relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
    Is Maildir enabled or disabled in ISPConfig? What's the output of
    Code:
    netstat -tap
    ?
     
  7. tom

    tom Member

    yes, other emails are reach there recipient maildirs. Only the emails from myslef to myself are not ariving.
    Code:
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 *:mysql                 *:*                     LISTEN     1209/mysqld
    tcp        0      0 *:81                    *:*                     LISTEN     1537/ispconfig_http
    tcp        0      0 *:ftp                   *:*                     LISTEN     1766/proftpd: (acce
    tcp        0      0 server-x.top:domain *:*                     LISTEN     1751/named
    tcp        0      0 localhost:domain        *:*                     LISTEN     1751/named
    tcp        0      0 localhost:953           *:*                     LISTEN     1751/named
    tcp        0      0 *:smtp                  *:*                     LISTEN     1733/master
    tcp        0      0 localhost:58527         localhost:ftp           TIME_WAIT  -
    tcp        0      0 server-x.top:56923 server-x.top:smtp  TIME_WAIT  -
    tcp        0      0 server-x.top:smtp  server-x.top:58590 TIME_WAIT  -
    tcp        0      0 localhost:53001         localhost:www           TIME_WAIT  -
    tcp6       0      0 *:imaps                 *:*                     LISTEN     1096/couriertcpd
    tcp6       0      0 *:pop3s                 *:*                     LISTEN     1116/couriertcpd
    tcp6       0      0 *:pop3                  *:*                     LISTEN     1104/couriertcpd
    tcp6       0      0 *:imap2                 *:*                     LISTEN     1078/couriertcpd
    tcp6       0      0 *:www                   *:*                     LISTEN     1568/apache2
    tcp6       0      0 *:ssh                   *:*                     LISTEN     1417/sshd
    tcp6       0      0 localhost:953           *:*                     LISTEN     1751/named
    tcp6       0      0 *:smtp                  *:*                     LISTEN     1733/master
    tcp6       0      0 *:https                 *:*                     LISTEN     1568/apache2
    tcp6       0     52 ::ffff:10.0.1.1:ssh     dslb-088-073-091-:12621 
    ESTABLISHED1565/0
     
  8. falko

    falko Super Moderator Howtoforge Staff

    What's in /etc/aliases?
     
  9. tom

    tom Member

    Code:
    mailer-daemon: postmaster
    postmaster: root
    nobody: root
    hostmaster: root
    usenet: root
    news: root
    webmaster: root
    www: root
    ftp: root
    abuse: root
    noc: root
    security: root
    root: root
    
     
  10. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    grep web1_admin /etc/passwd
    ?
     
  11. tom

    tom Member

    server01:~# grep web1_admin /etc/passwd
    web1_admin:x:10001:10001::/var/www/web1:/bin/false
     
  12. falko

    falko Super Moderator Howtoforge Staff

    Ok, what's the output of
    Code:
    ls -la /var/www/web1
    ?
     

Share This Page