specific dns not updating

Discussion in 'General' started by Waqas Saeed, Jul 11, 2024.

Tags:
  1. till

    till Super Moderator Staff Member ISPConfig Developer

    And if the webmail client did not show an error, then there must be something in the /var/log/mail.log file when sending.
     
  2. Waqas Saeed

    Waqas Saeed Member

    if i send email from [email protected] to [email protected] it works

    user@trendicons:~$ tail /var/log/mail.log

    2024-07-12T06:25:07.339839-07:00 trendicons postfix/pickup[267191]: 52713A57BD: uid=0 from=<root>

    2024-07-12T06:25:07.382174-07:00 trendicons postfix/cleanup[267467]: 52713A57BD: message-id=<[email protected]>

    2024-07-12T06:25:07.540197-07:00 trendicons postfix/qmgr[267192]: 52713A57BD: from=<[email protected]>, size=809, nrcpt=1 (queue active)

    2024-07-12T06:25:07.544841-07:00 trendicons postfix/trivial-rewrite[267466]: warning: do not list domain trendicons.com in BOTH mydestination and virtual_mailbox_domains

    2024-07-12T06:25:07.591702-07:00 trendicons postfix/local[267686]: 52713A57BD: to=<[email protected]>, orig_to=<root>, relay=local, delay=0.28, delays=0.23/0.04/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)

    2024-07-12T06:25:07.592208-07:00 trendicons postfix/qmgr[267192]: 52713A57BD: removed

    2024-07-12T06:25:09.317824-07:00 trendicons postfix/smtp[267518]: connect to websol.biz[208.91.198.96]:25: Connection timed out

    2024-07-12T06:25:09.357725-07:00 trendicons postfix/smtp[267518]: B6164A50BC: to=<[email protected]>, relay=none, delay=81891, delays=81840/5.5/45/0, dsn=4.4.1, status=deferred (connect to websol.biz[208.91.198.96]:25: Connection timed out)

    2024-07-12T06:25:09.953488-07:00 trendicons postfix/smtp[267521]: connect to websol.biz[208.91.198.96]:25: Connection timed out

    2024-07-12T06:25:10.296513-07:00 trendicons postfix/smtp[267521]: 477B0A03BD: to=<[email protected]>, relay=none, delay=184788, delays=184741/1.2/45/0, dsn=4.4.1, status=deferred (connect to websol.biz[208.91.198.96]:25: Connection timed out)

    user@trendicons:~$
    upload_2024-7-12_18-24-14.png
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, and you see that in the mail.log, right? Now send an email to an external address, you must see that in the mail.log file as well. And take care to check the mail.log file /var/log/mail.log using tail command, do not use the log from ISPConfig GUI as the ISPConfig GUI updates the log only once per minute.
     
  4. Waqas Saeed

    Waqas Saeed Member

    Code:
    user@trendicons:~$ tail /var/log/mail.log
    
    2024-07-12T06:30:03.150211-07:00 trendicons postfix/smtpd[267998]: connect from localhost[::1]
    
    2024-07-12T06:30:03.151334-07:00 trendicons postfix/smtpd[267998]: lost connection after CONNECT from localhost[::1]
    
    2024-07-12T06:30:03.151844-07:00 trendicons postfix/smtpd[267998]: disconnect from localhost[::1] commands=0/0
    
    2024-07-12T06:30:03.398477-07:00 trendicons postfix/smtp[267519]: connect to hotmail-com.olc.protection.outlook.com[52.101.73.31]:25: Connection timed out
    
    2024-07-12T06:30:08.426440-07:00 trendicons postfix/smtp[267870]: connect to mail.calunia.com[45.55.104.156]:25: Connection timed out
    
    2024-07-12T06:30:08.460278-07:00 trendicons postfix/smtp[267870]: 9CC4AA57C5: to=<[email protected]>, relay=none, delay=1369, delays=1319/0.12/50/0, dsn=4.4.1, status=deferred (connect to mail.calunia.com[45.55.104.156]:25: Connection timed out)
    
    2024-07-12T06:30:28.769247-07:00 trendicons postfix/smtp[267869]: connect to us2.mx2.mailhostbox.com[162.215.2.27]:25: Connection timed out
    
    2024-07-12T06:30:33.428739-07:00 trendicons postfix/smtp[267519]: connect to hotmail-com.olc.protection.outlook.com[52.101.42.11]:25: Connection timed out
    
    2024-07-12T06:30:43.688061-07:00 trendicons dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=268008, secured, session=<+d3j4gwd5qkAAAAAAAAAAAAAAAAAAAAB>
    
    2024-07-12T06:30:43.710640-07:00 trendicons dovecot: imap([email protected])<268008><+d3j4gwd5qkAAAAAAAAAAAAAAAAAAAAB>: Disconnected: Logged out in=91 out=1030 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
    
    got this updated only.
     
  5. Waqas Saeed

    Waqas Saeed Member

    Code:
    2024-07-12T06:30:08.426440-07:00 trendicons postfix/smtp[267870]: connect to mail.calunia.com[45.55.104.156]:25: Connection timed out
    this is the most common error coming while sending a email.
     
  6. Waqas Saeed

    Waqas Saeed Member

    Code:
    2024-07-12T06:30:08.426440-07:00 trendicons postfix/smtp[267870]: connect to mail.calunia.com[45.55.104.156]:25: Connection timed out
    this error always what is the issue?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    The issue is that your ISP is blocking port 25 outgoing. Have you set up mail relaying under system > server config > mail as you were instructed to do? The screenshots you posted only show that you configured a mail relay service for ISPConfig notification emails (which is not related to sending emails from an email client or your mail server trough that relay service), not that you configured a relay server for your mail server.
     
  8. Waqas Saeed

    Waqas Saeed Member

    can you help me with the steps. i do not know. about rely.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    See post #6 of this thread.
     
  10. Waqas Saeed

    Waqas Saeed Member

    i think am near to the solution. yes i have checked outgoing port of 25 telnet isn't responding on the server. now the solution is to change the port to 2525. do you know the step to do this ? or 465 ssl
    sorry for drilling ur brain too much
     
  11. Waqas Saeed

    Waqas Saeed Member

    The issue is that your ISP is blocking port 25 outgoing.
    it work by :2525
    @till
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not use port 2525 as other mail servers are not listening on that port. That's why you must use a relay service if your ISP blocks port 25, see post #6.
     
  13. Waqas Saeed

    Waqas Saeed Member

    yes am using smtp2go rely services; it is fine? like using mail.smtp2go.com:465 SSL works awesome.
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    Read what is described in post #6 and follow the instructions to set up the SMTP relay service. We have already wasted so much time simply because you rejected to follow the guidelines @pyte posted for you.
     
  15. Waqas Saeed

    Waqas Saeed Member

    yes am telling you i did the same and it worked. it is not wasted.
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    It was wasted because you received the correct solution in post 6, which you did not apply to your system. We are now at post 35, so you and us wasted the time to write the 29 posts. Next time, please apply the solutions you were presented with right away.
     
    ahrasis likes this.
  17. Waqas Saeed

    Waqas Saeed Member

    i applogize @till
     
    ahrasis likes this.
  18. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Just to note, in home server / lab, one may run almost all ISPConfig server services except mail and dns, because the assigned public IP is normally dynamic and the end user have no control over it. For this two services, you may want to use mail relay like SendGrid, Google Mail etc, and dns service like CloudFlare, Dyn, FreeDNS etc, free / paid, or you can build both them on supported cloud servers like Hetzner, OVH, AWS etc, and extend your ISPConfig server to them (you may have to get the right package or get their permission especially for mail server).
     
  19. Waqas Saeed

    Waqas Saeed Member

    i've static ip from my internet service provider. it works fine. but yes. it isn't a good practice. but i do not know the exact reason why email from gmail to my mail server isn't arriving in my webmail (ispconfig) i guess that should be due to rDNS (ip) not issued yet.

    root# host <ip address> resolves nothing.
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    Receiving email is not related to RDNS. RDNS matters only for sending, and it matters only for sending when not using a relay server. As you are using a relay server, RDNS does not matter for your system at all.

    So if you do not receive emails send from GMail, then you must have a different issue that is not RDNS related. First, verify that the MX record is correct for the domain that shall receive the email, check your DNS zone e.g. at intodns.com. Sent an email from GMAIL and then check the mail.log if anything gets added for that.
     

Share This Page