Send mail outside = User unknow

Discussion in 'Installation/Configuration' started by tornade69, Mar 30, 2015.

  1. tornade69

    tornade69 New Member

    Hi,
    I have trouble with send mail outside IPSConfig domain.
    I receive mail from outside, i receive mail from inside (from contact@local.fr to contact@local.fr)
    I fixe mydestination = , and restart postfix, same result.
    Please help, i don't understand what wrong, the server is new last debian 7.8 and clean install.
    local.fr and ouside.fr are anonymous domain, and outside.fr received perfectly mail, via google apps mx

    Code:
    Mar 30 08:53:39 viivi11 amavis[2903]: (02903-10) Passed CLEAN {RelayedOpenRelay}, <contact@local.fr> -> <cedric@outside.fr>, Message-ID: <50185318d20f6529fee5d45b831f35c1@local.fr>, mail_id: JI8hsreVyG4V, Hits: 0, size: 1667, queued_as: 662D281133, 217 ms
    Mar 30 08:53:39 viivi11 postfix/smtp[5669]: 320EB81125: to=<cedric@outside.fr>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.23, delays=0.01/0/0/0.22, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 662D281133)
    Mar 30 08:53:39 viivi11 postfix/qmgr[5662]: 320EB81125: removed
    Mar 30 08:53:39 viivi11 postfix/pipe[5716]: 662D281133: to=<cedric@outside.fr>, relay=dovecot, delay=0.03, delays=0/0.01/0/0.01, dsn=5.1.1, status=bounced (user unknown)
    in main.cf : mydestination = (empty)
    master.cf
    Code:
    submission inet n       -       -       -       -       smtpd
      -o syslog_name=postfix/submission
      -o smtpd_tls_security_level=encrypt
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    #  -o milter_macro_daemon_name=ORIGINATING
    smtps     inet  n       -       -       -       -       smtpd
      -o syslog_name=postfix/smtps
      -o smtpd_tls_wrappermode=yes
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    #  -o milter_macro_daemon_name=ORIGINATING
    
    and the htf_report.txt
    Code:
    
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    IP-address(es) (as per ifconfig): ***.***.***.***
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.0.5.4p5
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 5.4.39-0+deb7u2
    [INFO] php-cgi (used for cgi php in default vhost!) is version 5.4.39-0+deb7u2
    
    ##### PORT CHECK #####
    
    ##### MAIL SERVER CHECK #####
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
            Apache 2 (PID 2943)
    [INFO] I found the following mail server(s):
            Postfix (PID 5653)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 3760)
    [INFO] I found the following imap server(s):
            Dovecot (PID 3760)
    [INFO] I found the following ftp server(s):
            PureFTP (PID 3755)
    
    ##### LISTENING PORTS #####
    (seulement              ()
    Adresse         (distante)
    [localhost]:10024               (2901/amavisd-new)
    [localhost]:10025               (5653/master)
    [anywhere]:3306         (3646/mysqld)
    [anywhere]:587          (5653/master)
    [localhost]:11211               (3021/memcached)
    [anywhere]:110          (3760/dovecot)
    
    [anywhere]:143          (3760/dovecot)
    [anywhere]:465          (5653/master)
    [anywhere]:21           (3755/pure-ftpd)
    ***.***.***.***:53              (2420/named)
    [localhost]:53          (2420/named)
    [anywhere]:22           (3256/sshd)
    [anywhere]:25           (5653/master)
    [localhost]:953         (2420/named)
    [anywhere]:993          (3760/dovecot)
    [anywhere]:995          (3760/dovecot)
    *:*:*:*::*:587          (5653/master)
    [localhost]10           (3760/dovecot)
    [localhost]43           (3760/dovecot)
    *:*:*:*::*:8080         (2943/apache2)
    *:*:*:*::*:80           (2943/apache2)
    *:*:*:*::*:465          (5653/master)
    *:*:*:*::*:8081         (2943/apache2)
    *:*:*:*::*:21           (3755/pure-ftpd)
    *:*:*:*::*:53           (2420/named)
    *:*:*:*::*:22           (3256/sshd)
    *:*:*:*::*:25           (5653/master)
    *:*:*:*::*:953          (2420/named)
    *:*:*:*::*:443          (2943/apache2)
    *:*:*:*::*:993          (3760/dovecot)
    *:*:*:*::*:995          (3760/dovecot)
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    fail2ban-dovecot-pop3imap  tcp  --  [anywhere]/0            [anywhere]/0
    fail2ban-pureftpd  tcp  --  [anywhere]/0            [anywhere]/0            mul
    fail2ban-sasl  tcp  --  [anywhere]/0            [anywhere]/0            multipo
    fail2ban-ssh  tcp  --  [anywhere]/0            [anywhere]/0            multipor
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain fail2ban-dovecot-pop3imap (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain fail2ban-pureftpd (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain fail2ban-sasl (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain fail2ban-ssh (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you use outside.fr anywhere on your server, e.g. as hostname?
     
  3. tornade69

    tornade69 New Member

    thanks for anwser,
    but no, i use outside.net on host and hostname.

    I found i do a domain local, with outside.fr, but no email, so i think it use mx for lookup.

    It solved when i remove the domain in email, and stay in web site.
    Thanks for all
     
    Last edited: Mar 30, 2015

Share This Page