ISPConfig & Nameserver

Discussion in 'General' started by StevenD, Oct 24, 2008.

  1. lubos

    lubos New Member

    Your welcome, make sure that you use dns-nameservers of your internet provider in all three, router, server and your PC internet settings and you should be able to connect to your website from inside of LAN. If you use your internal domain servers (router's or server's) it can point to your router. Who is your IPS btw? If its Virgin or NTL you can use 192.168.4.100 and 192.168.8.100. Other I do not know.
     
  2. StevenD

    StevenD Member

    Hi,

    Just a quick question about setting up the mail.

    I setup an email account on isp for www.mydomain.co.uk lets say [email protected].

    I can log into squirrel mail on this domain. Now if I send an email to [email protected] I get the following failure notice.

    Code:
    Hi. This is the qmail-send program at yahoo.com.
    I'm afraid I wasn't able to deliver your message to the following addresses.
    This is a permanent error; I've given up. Sorry it didn't work out.
    
    <[email protected]>:
    77.xxx.xxx.xxx does not like recipient.
    Remote host said: 554 5.7.1 <[email protected]>: Relay access denied
    Giving up on 77.xxx.xxx.xxx.
    Now the IP address given is the IP Address of my server, so the @ CNAME is working correctly at 123-reg.co.uk but it seems to be getting rejected by my server.

    Is it because mydomain is re-routed through NOIP to my dynamic IP address?

    Or have I missed something during the setup of ISPConfig?

    Thanks

    Steve
     
  3. StevenD

    StevenD Member

    Hi,

    Here is a bit more info.

    This is from mail.log.ispconfigsave. I tried to send mail to a yahoo account from squirrelmail from [email protected] but it looks like it tried to send it from [email protected]???

    Code:
    Nov 11 21:22:25 server postfix/smtp[8839]: B1D252DC6D6: host mx2.mail.eu.yahoo.com[77.238.177.142] refused to talk to me: 553 Mail from 77.xxx.xxx.xxx not allowed - 5.7.1 [BL21] Connections not accepted from IP addresses on Spamhaus PBL; see http://postmaster.yahoo.com/550-bl21.html [550
    This is the part of the log if I try sending in the opposite direction ie yahoo to [email protected]

    Code:
    Nov 12 12:57:09 server postfix/smtpd[26770]: connect from web25808.mail.ukl.yahoo.com[217.12.10.193]
    Nov 12 12:57:09 server postfix/smtpd[26770]: NOQUEUE: reject: RCPT from web25808.mail.ukl.yahoo.com[217.12.10.193]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<web25808.mail.ukl.yahoo.com>
    Nov 12 12:57:09 server postfix/smtpd[26770]: disconnect from web25808.mail.ukl.yahoo.com[217.12.10.193]
    Thanks

    Steve
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    dig mx mydomain.co.uk
    ?

    You must set the correct sender address in the SquirrelMail settings of your account.
     
  5. StevenD

    StevenD Member

    Hi Falko,

    Contents of dig mx mydomain.co.uk is this.

    Code:
    ; <<>> DiG 9.3.4-P1.1 <<>> mx mydomain.co.uk
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28347
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;mydomain.co.uk.              IN      MX
    
    ;; ANSWER SECTION:
    mydomain.co.uk.       86400   IN      CNAME   myserver.servehttp.com.
    
    ;; AUTHORITY SECTION:
    servehttp.com.          60      IN      SOA     nf1.no-ip.com. hostmaster.no-ip. com. 2007134962 90 120 604800 60
    
    ;; Query time: 448 msec
    ;; SERVER: 192.168.2.1#53(192.168.2.1)
    ;; WHEN: Wed Nov 12 17:57:38 2008
    ;; MSG SIZE  rcvd: 128
    
    Also I have had a look into the problem with yahoo, rejecting the email because it is from an ip address
    Code:
    553 5.7.1 [BL21] Connections not accepted from IP addresses on Spamhaus PBL
    
    In our continuing efforts to protect our users from unsolicited email, Yahoo! Mail does not accept SMTP connections from dynamic or residential IP addresses, as determined by the Spamhaus PBL. If you are seeing this error message, please do not retry sending your message using the same IP address. Instead, please contact your ISP for information on which SMTP server you are authorized to use for your outbound email.
    
    If you think that your IP address has been listed in error, you or your email administrator should contact Spamhaus. Once your IP is de-listed by Spamhaus, Yahoo! Mail will automatically unblock your IP within 48 hours.
    Have I set something up incorrectly or is it always sent via an IP address?

    Just a note it works fine if I send to an email address that is not yahoo, but that is not very good for any clients.

    Thanks

    Steve
     
    Last edited: Nov 12, 2008
  6. falko

    falko Super Moderator ISPConfig Developer

  7. StevenD

    StevenD Member

    Hi Falko,

    Thanks for that, I will try to set it up to relay the messages.

    Could you help me with the problem I have as to me not receiving emails?

    Thanks

    Steve
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Your MX record is looking weird. You did a dig mx mydomain.co.uk, and in the ANSWER section it shows a CNAME instead of an MX. I've never seen this before. Can you post the real domain name so that I can test myself?
     
  9. StevenD

    StevenD Member

    Hi Falko,

    Its www.f-football.co.uk

    This is being rerouted from 123-reg.co.uk where I purchased my domain name from, so i setup the DNS as you said with @ CNAME writables.servehttp.com and www CNAME writables.servehttp.com

    The writables.servehttp.com is from NOIP.com that points to my dynamic ip.

    Thanks

    Steve
     
  10. falko

    falko Super Moderator ISPConfig Developer

    I'm getting this as well:

    Code:
    mh1:~# dig mx f-football.co.uk
    
    ; <<>> DiG 9.3.4 <<>> mx f-football.co.uk
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59898
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;f-football.co.uk.              IN      MX
    
    ;; ANSWER SECTION:
    f-football.co.uk.       86400   IN      CNAME   writables.servehttp.com.
    
    ;; AUTHORITY SECTION:
    servehttp.com.          60      IN      SOA     nf1.no-ip.com. hostmaster.no-ip.com. 2007144169 90 120 604800 60
    
    ;; Query time: 248 msec
    ;; SERVER: 213.191.92.84#53(213.191.92.84)
    ;; WHEN: Sat Nov 15 13:21:52 2008
    ;; MSG SIZE  rcvd: 128
    
    mh1:~#
    Can you try to set up the MX record as follows?

    Code:
    f-football.co.uk.         IN      MX 10   writables.servehttp.com.
     
  11. StevenD

    StevenD Member

    Hi Falko,

    I have adjusted that and I now get.

    Code:
     <<>> DiG 9.3.4-P1.1 <<>> mx f-football.co.uk
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39248
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;f-football.co.uk.              IN      MX
    
    ;; ANSWER SECTION:
    f-football.co.uk.       86400   IN      MX      10 writables.servehttp.com.
    
    ;; Query time: 62 msec
    ;; SERVER: 192.168.2.1#53(192.168.2.1)
    ;; WHEN: Sun Nov 16 10:46:39 2008
    ;; MSG SIZE  rcvd: 73
    
    If I send an email internally on ISP i.e. from ste at f-football.co.uk I get it see below header information.

    Code:
    Return-Path: <[email protected]>
    X-Original-To: [email protected]
    Delivered-To: [email protected]
    Received: from 192.168.2.3 (localhost [127.0.0.1])
         by server.home2 (Postfix) with ESMTP id 556312DC59B
         for <[email protected]>; Sun, 16 Nov 2008 11:05:46 +0000 (GMT)
    Received: from 192.168.2.3
         (SquirrelMail authenticated user web8_ste)
         by www.writables.co.uk with HTTP;
         Sun, 16 Nov 2008 11:05:46 -0000 (UTC)
    Message-ID: <[email protected]>
    Date: Sun, 16 Nov 2008 11:05:46 -0000 (UTC)
    Subject: Testing from myself
    From: [email protected]
    To: [email protected]
    Reply-To: [email protected]
    User-Agent: SquirrelMail/1.5.1
    MIME-Version: 1.0
    Content-Type: text/plain;charset=iso-8859-1
    Content-Transfer-Encoding: 8bit
    X-Confirm-Reading-To: [email protected]
    Disposition-Notification-To: [email protected]
    Return-Receipt-To: [email protected]
    If I send externally i.e from ste at f-football.co.uk to another domain on a different server I get the following header.
    Code:
    Return-path: <[email protected]>
    Envelope-to: [email protected]
    Delivery-date: Sun, 16 Nov 2008 05:52:28 -0500
    Received: from 77-xxx-xxx-xxx.myisp.co.uk ([77.xxx.xxx.xxx] helo=server.home2)
         by server.ezytools.net with esmtps (TLSv1:AES256-SHA:256)
         (Exim 4.69)
         (envelope-from <[email protected]>)
         id 1L1fEw-00042K-2J
         for [email protected]; Sun, 16 Nov 2008 05:52:26 -0500
    Received: from 192.168.2.3 (localhost [127.0.0.1])
         by server.home2 (Postfix) with ESMTP id 34BF72DC59B
         for <[email protected]>; Sun, 16 Nov 2008 10:52:23 +0000 (GMT)
    Received: from 192.168.2.3
         (SquirrelMail authenticated user web8_ste)
         by www.writables.co.uk with HTTP;
         Sun, 16 Nov 2008 10:52:23 -0000 (UTC)
    Message-ID: <[email protected]>
    Date: Sun, 16 Nov 2008 10:52:23 -0000 (UTC)
    Subject: {Spam?} Test123
    From: [email protected]
    To: [email protected]
    Reply-To: [email protected]
    User-Agent: SquirrelMail/1.5.1
    MIME-Version: 1.0
    Content-Type: text/plain;charset=iso-8859-1
    X-Confirm-Reading-To: [email protected]
    Disposition-Notification-To: [email protected]
    Return-Receipt-To: [email protected]
    Content-Transfer-Encoding: quoted-printable
    X-ExyMemset-MailScanner-Information: Please contact the ISP for more information
    X-ExyMemset-MailScanner-ID: 1L1fEw-00042K-2J
    X-ExyMemset-MailScanner: Found to be clean
    X-ExyMemset-MailScanner-SpamCheck: spam, SpamAssassin (not cached,
         score=5.156, required 5, BAYES_50 0.00, RCVD_IN_PBL 0.91,
         RDNS_DYNAMIC 0.10, TVD_RCVD_IP 1.93, TVD_SPACE_RATIO 2.22)
    X-ExyMemset-MailScanner-SpamScore: sssss
    X-ExyMemset-MailScanner-From: [email protected]
    X-ExyMemset-MailScanner-Watermark: 1227437546.68634@T5trzJ390slPm2TqLyhaLg
    But if I now send from external to ste at f-football.co.uk, I get no error message back, but i don't receive the email at ste at f-football.co.uk either.

    Thanks again

    Steve
     
    Last edited: Nov 16, 2008
  12. falko

    falko Super Moderator ISPConfig Developer

    Do you see anything in your mail log when you send an email to your account? If there's nothing in the mail log, that means that the mail goes somewhere else - probably because your DNS changes haven't fully propagated yet. This can take up to 72 hours.
     
  13. StevenD

    StevenD Member

    Thanks Falko,

    All up and running now.
     

Share This Page