Rename server

Discussion in 'Installation/Configuration' started by seowebmaster, Apr 3, 2015.

  1. seowebmaster

    seowebmaster New Member

    Hello,
    I have a VPS which runs Debian 6.0 x64. Server hostname is seoserver and in ispconfig 3 it has been associated to a specific website (I call it old domain.com). So, instead of the IP I could refer to seoserver.olddomain.com, which was the server's domain.
    But, some days ago I moved the olddomain.com to another hosting and this solution led to some issue.
    • I cannot send email to gmail:
      Code:
      Our system has
      detected an unusual rate of 550-5.7.1 unsolicited mail originating from
      your IP address. To protect our 550-5.7.1 users from spam, mail sent from
      your IP address has been blocked. 550-5.7.1 Please visit
      http://www.google.com/mail/help/bulk_mail.html
      I saw some specs of this error and I really suspect that it has to do with the name of the server
    • Of course I cannot reuse that domain anywhere (ftp server, ispconfig url), but this isn't really an important issue.
    My question is how can I connect server's domain to another website, so that the first issue listed is solved?

    Thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The server domain name and websites are not directly related. the server name is the hostname of the server, this hstname shall not exist as website. The error that you posted above indicates that your server has sent out spam, you should chacke the mail.log and postqueue if there is any spam sent, e.g. trough a hacked website.
     
  3. seowebmaster

    seowebmaster New Member

    I checked but I don't think I've sent spam.
    I tried to resend an email to a gmail account and this is what I get in al.log (I've changed the emails)
    Code:
    Apr  3 11:43:10 seoserver pop3d: Connection, ip=[::ffff:178.174.0.32]
    Apr  3 11:43:10 seoserver pop3d: LOGIN, [email protected], ip=[::ffff:178.174.0.32], port=[50181]
    Apr  3 11:43:11 seoserver pop3d: LOGOUT, [email protected], ip=[::ffff:178.174.0.32], port=[50181], top=0, retr=0, rcvd=31, sent=178, time=1, stls=1
    Apr  3 11:43:22 seoserver postfix/smtpd[16849]: connect from 32.0.174.178.dynamic.wline.lns.sme.cust.swisscom.ch[178.174.0.32]
    Apr  3 11:43:22 seoserver postfix/smtpd[16849]: CB62B91C5DE: client=32.0.174.178.dynamic.wline.lns.sme.cust.swisscom.ch[178.174.0.32], sasl_method=PLAIN, [email protected]
    Apr  3 11:43:22 seoserver postfix/cleanup[16903]: CB62B91C5DE: message-id=<[email protected]>
    Apr  3 11:43:22 seoserver postfix/qmgr[1592]: CB62B91C5DE: from=<[email protected]>, size=23518, nrcpt=1 (queue active)
    Apr  3 11:43:23 seoserver postfix/pickup[14754]: 2CE5991C60B: uid=5555 from=<[email protected]>
    Apr  3 11:43:23 seoserver postfix/pipe[16904]: CB62B91C5DE: to=<[email protected]>, relay=spamassassin, delay=0.4, delays=0.14/0.01/0/0.25, dsn=2.0.0, status=sent (delivered via spamassassin service)
    Apr  3 11:43:23 seoserver postfix/qmgr[1592]: CB62B91C5DE: removed
    Apr  3 11:43:23 seoserver postfix/cleanup[16903]: 2CE5991C60B: message-id=<[email protected]>
    Apr  3 11:43:23 seoserver postfix/qmgr[1592]: 2CE5991C60B: from=<[email protected]>, size=23898, nrcpt=1 (queue active)
    Apr  3 11:43:23 seoserver postfix/smtp[16910]: connect to gmail-smtp-in.l.google.com[2a00:1450:4013:c01::1a]:25: Network is unreachable
    Apr  3 11:43:23 seoserver postfix/smtp[16910]: certificate verification failed for gmail-smtp-in.l.google.com[74.125.136.26]:25: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
    Apr  3 11:43:23 seoserver postfix/smtp[16910]: 2CE5991C60B: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[74.125.136.26]:25, delay=0.6, delays=0.02/0.02/0.25/0.31, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[74.125.136.26] said: 550-5.7.1 [146.228.113.103      12] Our system has detected that this message is 550-5.7.1 likely unsolicited mail. To reduce the amount of spam sent to Gmail, 550-5.7.1 this message has been blocked. Please visit 550-5.7.1 http://support.google.com/mail/bin/answer.py?hl=en&answer=188131 for 550 5.7.1 more information. j2si13309313wjn.102 - gsmtp (in reply to end of DATA command))
    Apr  3 11:43:23 seoserver postfix/cleanup[16903]: C31C791C60A: message-id=<[email protected]>
    Apr  3 11:43:23 seoserver postfix/bounce[16911]: 2CE5991C60B: sender non-delivery notification: C31C791C60A
    Apr  3 11:43:23 seoserver postfix/qmgr[1592]: C31C791C60A: from=<>, size=26554, nrcpt=1 (queue active)
    Apr  3 11:43:23 seoserver postfix/qmgr[1592]: 2CE5991C60B: removed
    Apr  3 11:43:23 seoserver postfix/pipe[16912]: C31C791C60A: to=<[email protected]>, relay=maildrop, delay=0.06, delays=0.01/0.02/0/0.03, dsn=2.0.0, status=sent (delivered via maildrop service)
    Apr  3 11:43:23 seoserver postfix/qmgr[1592]: C31C791C60A: removed
    Apr  3 11:43:26 seoserver pop3d: Connection, ip=[::ffff:178.174.0.32]
    Apr  3 11:43:26 seoserver pop3d: LOGIN, [email protected], ip=[::ffff:178.174.0.32], port=[50185]
    Apr  3 11:43:28 seoserver pop3d: LOGOUT, [email protected], ip=[::ffff:178.174.0.32], port=[50185], top=0, retr=26204, rcvd=35, sent=144942, time=2, stls=1
    
    I am not an expert in these things and I really don't know how to proceed...
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The message from gmail is clear, they receievd spam mails from your IP address and thefore blacklisted your IP.

    Pleasecheck if your IP is n other blacklists as well, e.g. here: http://mxtoolbox.com/blacklists.aspx
     
  5. seowebmaster

    seowebmaster New Member

    I've already checked that and everything is ok. None of them has blacklisted my IP.
    I had a similar problem like 1 or 2 months ago, where around 5/100 blacklisted my IP and I didn't have any problem with gmail. Now that issue has been solved, but I cannot send to gmail....
    It's really strange... is there any way to remove my Ip from GMAIL blacklist?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Not as far as I know.

    What you can do is this to build ip more trust:

    1) Check that the server hostname exists in dns and that it points to the correct IP.
    2) Check that the IP has a reverse dns record that points to the hostname.
    3) Add SPF text records for your domains that allow sending from this server in the dns zones of your domain.

    4) If 1-3 dont help, then you should consider to use dkim signing for your dns zones. there exoists a patch for ispconfig.
     
  7. seowebmaster

    seowebmaster New Member

    Thank you for the prompt replies...
    In order:
    1. As I said at the beginning, it could be that my server hostname seoserver.olddomain.ch is not pointing to the right IP, since I have transferred olddomain.ch to another hosting. Since hostname is a subdomain it is pointing to the new IP, probably... Actually I just added a new dns zone for that domain to point seoserver to the previous IP.
    2. Reverse DNS is seoserver.olddomain.ch or am I missing something?
    3. Don't know actually what is that about... I'll take a look about that...
     
  8. seowebmaster

    seowebmaster New Member

    After making point my subdomain/hostname to my IP, I did manage to solve my issue...
    Now, I can send email to gmail accounts. There were probably some incongruences at a dns zone level.

    Thanks you anyway
     

Share This Page