i install ispconfig 3.1 problem with gmail get emails from my domain name

Discussion in 'General' started by jivko790, Oct 9, 2016.

  1. jivko790

    jivko790 New Member

    i install ispconfig 3.1 problem with gmail get emails from my domain name have creat mx records on cloudflare.com

    can some one tell me whats wrong ?

    regards
    jivko
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check your mail log file.
     
  3. jivko790

    jivko790 New Member

    Oct 9 06:27:17 sd-100195 postfix/anvil[29940]: statistics: max connection rate 1/60s for (smtp:177.18.78.194) at Oct 9 06:17:37
    Oct 9 06:27:17 sd-100195 postfix/anvil[29940]: statistics: max connection count 1 for (smtp:177.18.78.194) at Oct 9 06:17:37
    Oct 9 06:27:17 sd-100195 postfix/anvil[29940]: statistics: max message rate 1/60s for (smtp:177.18.78.194) at Oct 9 06:17:37
    Oct 9 06:27:17 sd-100195 postfix/anvil[29940]: statistics: max cache size 4 at Oct 9 06:17:37
    Oct 9 06:28:21 sd-100195 postfix/smtpd[873]: connect from condef008-v.nifty.com[210.131.4.245]
    Oct 9 06:28:23 sd-100195 postfix/smtpd[873]: NOQUEUE: filter: RCPT from condef008-v.nifty.com[210.131.4.245]: <[email protected]>:
     
  4. jivko790

    jivko790 New Member

    /var/log/mail.log ?
     
  5. jivko790

    jivko790 New Member

    postfix.service - LSB: Postfix Mail Transport Agent
    Loaded: loaded (/etc/init.d/postfix)
    Drop-In: /run/systemd/generator/postfix.service.d
    └─50-postfix-$mail-transport-agent.conf
    Active: active (running) since Sun 2016-10-09 17:20:03 CEST; 1h 32min ago
    Process: 1387 ExecStart=/etc/init.d/postfix start (code=exited, status=0/SUCCESS)
    CGroup: /system.slice/postfix.service
    ├─ 1178 smtpd -n smtp -t inet -u -c -o stress= -s 2
    ├─ 1202 proxymap -t unix -u
    ├─ 1524 /usr/lib/postfix/master
    ├─ 1525 pickup -l -t unix -u -c
    ├─ 1526 qmgr -l -t unix -u
    ├─ 1541 trivial-rewrite -n rewrite -t unix -u -c
    ├─ 1549 tlsmgr -l -t unix -u -c
    ├─11720 anvil -l -t unix -u -c
    └─30081 smtpd -n smtp -t inet -u -c -o stress= -s 2

    Oct 09 18:51:02 server.bgmyserver.com postfix/smtpd[1178]: connect from unknown[117.203.188.222]
    Oct 09 18:51:11 server.bgmyserver.com postfix/smtpd[1178]: NOQUEUE: filter: RCPT from unknown[117.203.188.222]: <[email protected]>: Sender address triggers F....188.222]>
    Oct 09 18:51:11 server.bgmyserver.com postfix/smtpd[1178]: NOQUEUE: filter: RCPT from unknown[117.203.188.222]: <[email protected]>: Sender address triggers F....188.222]>
    Oct 09 18:51:12 server.bgmyserver.com postfix/smtpd[1178]: NOQUEUE: reject: RCPT from unknown[117.203.188.222]: 554 5.7.1 Service unavailable; Client host [117.203.188.222] blocked us...
    Oct 09 18:51:14 server.bgmyserver.com postfix/smtpd[1178]: lost connection after DATA from unknown[117.203.188.222]
    Oct 09 18:51:14 server.bgmyserver.com postfix/smtpd[1178]: disconnect from unknown[117.203.188.222]
    Oct 09 18:52:09 server.bgmyserver.com postfix/smtpd[30081]: connect from condef008-v.nifty.com[210.131.4.245]
    Oct 09 18:52:12 server.bgmyserver.com postfix/smtpd[30081]: NOQUEUE: filter: RCPT from condef008-v.nifty.com[210.131.4.245]: <[email protected]>: Sender address triggers F...nifty.com>
    Oct 09 18:52:12 server.bgmyserver.com postfix/smtpd[30081]: NOQUEUE: filter: RCPT from condef008-v.nifty.com[210.131.4.245]: <[email protected]>: Sender address triggers F...nifty.com>
    Oct 09 18:52:12 server.bgmyserver.com postfix/smtpd[30081]: NOQUEUE: reject: RCPT from condef008-v.nifty.com[210.131.4.245]: 454 4.7.1 <[email protected]>: Rela...nifty.com>
    Hint: Some lines were ellipsized, use -l to show in full.
    root@server:/var/log#
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Send an email from your server to gmail, then check the log file with e.g.:

    tail -n 200 /var/log/mail.log

    to get the log lines that have been added for your sending attempt.

    Sending emails to an larger provider requires that your server has a fixed IP address (not a dynamic IP) and that you have a correct PTR (reverse) record set for the IP address of your server.
     
  7. jivko790

    jivko790 New Member

    Hi Thancks for reapley me
    ptr records my records look Name : domain.net Canonical Hostname mail.domain.net ttl 3600
    Thats corects ?
    This is my log
    Oct 10 15:15:41 server postfix/error[6476]: 7E2B6AE47AB: to=<[email protected]>, relay=none, delay=10524, delays=10524/0.03/0/0.05, dsn=4.3.5, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=smtp.bgmyserver.com type=AAAA: Host found but no data record of requested type)
    Oct 10 15:15:41 server postfix/error[6476]: 7E2B6AE47AB: to=<[email protected]>, relay=none, delay=10524, delays=10524/0.03/0/0.05, dsn=4.3.5, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=smtp.bgmyserver.com type=AAAA: Host found but no data record of requested type)
    Oct 10 15:15:41 server postfix/error[6476]: 7E2B6AE47AB: to=<[email protected]>, relay=none, delay=10524, delays=10524/0.03/0/0.06, dsn=4.3.5, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=smtp.bgmyserver.com type=AAAA: Host found but no data record of requested type)
    Oct 10 15:15:41 server postfix/error[6476]: 7E2B6AE47AB: to=<[email protected]>, relay=none, delay=10524, delays=10524/0.03/0/0.07, dsn=4.3.5, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=smtp.bgmyserver.com type=AAAA: Host found but no data record of requested type)
    Oct 10 15:15:41 server postfix/error[6476]: 7E2B6AE47AB: to=<[email protected]>, relay=none, delay=10524, delays=10524/0.03/0/0.08, dsn=4.3.5, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=smtp.bgmyserver.com type=AAAA: Host found but no data record of requested type)
    Oct 10 15:15:41 server postfix/error[6476]: 7E2B6AE47AB: to=<[email protected]>, relay=none, delay=10524, delays=10524/0.03/0/0.09, dsn=4.3.5, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=smtp.bgmyserver.com type=AAAA: Host found but no data record of requested type)
    Oct 10 15:15:41 server postfix/qmgr[1526]: E4868B09385: from=<[email protected]>, size=210257, nrcpt=4 (queue active)
    Oct 10 15:15:41 server postfix/cleanup[4959]: 93DE2B46EC0: message-id=<[email protected]>
    Oct 10 15:15:41 server postfix/submission/smtpd[1172]: 283DEB46EF3: filter: RCPT from unknown[31.173.230.10]: <[email protected]>: Sender address triggers FILTER amavis:[127.0.0.1]:10026; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<[127.0.0.1]>
    Oct 10 15:15:41 server postfix/smtpd[24646]: 8312DB46EFA: client=localhost[127.0.0.1]
    Oct 10 15:15:41 server postfix/cleanup[3194]: 8312DB46EFA: message-id=<[email protected]>
    Oct 10 15:15:41 server postfix/smtpd[1198]: NOQUEUE: filter: RCPT from unknown[183.114.156.204]: <[email protected]>: Sender address triggers FILTER amavis:[127.0.0.1]:10026; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<[127.0.0.1]>
    Oct 10 15:15:41 server postfix/smtpd[1198]: 8B8E8B46EFB: client=unknown[183.114.156.204], sasl_method=PLAIN, sasl_username=[email protected]
    Oct 10 15:15:41 server amavis[3326]: (03326-01-384) Passed CLEAN {RelayedOutbound}, ORIGINATING LOCAL [119.1.226.191]:1758 [119.1.226.191] <[email protected]> -> <[email protected]>,<[email protected]>,<[email protected]>,<[email protected]>, Queue-ID: ED618B04790, Message-ID: <[email protected]>, mail_id: vdQ6g-W1DrY8, Hits: -0.998, size: 13981, queued_as: 8312DB46EFA, dkim_new=default:private-escort-girls.de, 485 ms
    Oct 10 15:15:41 server postfix/smtp[5939]: ED618B04790: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10026, conn_use=384, delay=18171, delays=12019/6152/0/0.49, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as 8312DB46EFA)
    Oct 10 15:15:41 server postfix/smtp[5939]: ED618B04790: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10026, conn_use=384, delay=18171, delays=12019/6152/0/0.49, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as 8312DB46EFA)
    Oct 10 15:15:41 server postfix/smtp[5939]: ED618B04790: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10026, conn_use=384, delay=18171, delays=12019/6152/0/0.49, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as 8312DB46EFA)
    Oct 10 15:15:41 server postfix/smtp[5939]: ED618B04790: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10026, conn_use=384, delay=18171, delays=12019/6152/0/0.49, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as 8312DB46EFA)
    Oct 10 15:15:41 server postfix/qmgr[1526]: ED618B04790: removed
    Oct 10 15:15:41 server postfix/qmgr[1526]: 1001FB2234D: from=<[email protected]>, size=14862, nrcpt=11 (queue active)
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    You missed to set the IPv6 DNS record for smtp.bgmyserver.com.
     
  9. jivko790

    jivko790 New Member

  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Then you should disable ipv6 in postfix main.cf file:

    inet_protocols = ipv4
    You posted above that you use CloudFlare dns, so there should not be a dns record at ispconfig.
     

Share This Page