subdomain and mail relay configuration

Discussion in 'Installation/Configuration' started by aranthorn, Aug 20, 2007.

  1. aranthorn

    aranthorn New Member

    I used the perfect server for fedora 7 configuration following the step by step instructions here: http://www.howtoforge.com/perfect_server_fedora7

    Thanks to Falco for putting that together, BTW!

    But I have a couple issues.

    #1
    I can't get my subdomain to work (images.dancingmokey.com)
    When I go to http://www.dancingmokey.com/images/ I get a 403 error
    When I go to http://images.dancingmokey.com/ I get
    I'm at a loss.


    #2
    Also, when someone uses a contact link from the forum installed (vBulletin 3.6.8), I get the email just fine, but when I try to reply I get:
    What can I do? I'll post any information asked for, but I went through that perfect server setup word for word. Everything else works fine.

    Thanks in advance and yes, I did search these forums before posting
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) You get the shared IP error because you selected the wrong IP address for the website. If your server is behind a router, you must use the internal IP and not the external IP for the website.

    2) Is your server hsoted at home on a dsl line with a dynamic IP address?
     
  3. aranthorn

    aranthorn New Member

    I have a server that is colocated, it's not on dynamic dns or at home. The colo facility gave me block of IPs:
    xx.xx.xx.16/29:
    xx.xx.xx.16 Subnet Address
    xx.xx.xx.17 Router Address (as given by Colo)
    xx.xx.xx.18 ISPConfig Install Address (server.dancingmokey.com)
    xx.xx.xx.19 www.dancingmokey.com
    xx.xx.xx.20 www.phoebesfriends.com
    xx.xx.xx.21 not used
    xx.xx.xx.22 not used
    xx.xx.xx.23 Broadcast Address

    So, .18:81 is running the ISPConfig interface with no problem.

    .19 is running dancingmokey, no problem
    .20 is running phoebesfriends, no problem

    I try to setup another site (as has been suggested on this forum) for the subdomain and I get a "images.domain1.com" is already in use by another domain. Is this because I had at first set it up under the dancingmokey.com site and then removed it? ISPConfig shows no entries at all for images.dancingmokey.com and the DNS service has no entry for images.dancingmokey.com either, but when I do a lookup on it, it comes back as the .19 address. Oddly, the server.dancingmokey.com resolves to .19 as well.

    Here are the only entries I have for my dns. I use mydomain.com:
    Shoul I be adding CNAME or something else?


    As far as the relay thing goes, I have no idea what to do. Email works just fine unless I'm replying to the "contact us" form, etc.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's in Vhosts_ispconfig.conf, and what's the output of
    Code:
    ifconfig
    ?
    Please also check in ISPConfig's recycle bins. If you deleted that Co-Domain earlier, it's in a recycle bin now (unless you deleted it from there, too).

    Did you enable "Server requires authentication" in your email client?
     
  5. aranthorn

    aranthorn New Member

    Code:
    ###################################
    #
    # ISPConfig vHost Configuration File
    #         Version 1.0
    #
    ###################################
    #
    NameVirtualHost 192.168.1.200:80
    <VirtualHost 192.168.1.200:80>
      ServerName localhost
      ServerAdmin root@localhost
      DocumentRoot /var/www/sharedip
    </VirtualHost>
    NameVirtualHost 192.168.122.1:80
    <VirtualHost 192.168.122.1:80>
      ServerName localhost
      ServerAdmin root@localhost
      DocumentRoot /var/www/sharedip
    </VirtualHost>
    NameVirtualHost 69.65.22.18:80
    <VirtualHost 69.65.22.18:80>
      ServerName localhost
      ServerAdmin root@localhost
      DocumentRoot /var/www/sharedip
    </VirtualHost>
    NameVirtualHost 69.65.22.19:80
    <VirtualHost 69.65.22.19:80>
      ServerName localhost
      ServerAdmin root@localhost
      DocumentRoot /var/www/sharedip
    </VirtualHost>
    NameVirtualHost 69.65.22.20:80
    <VirtualHost 69.65.22.20:80>
      ServerName localhost
      ServerAdmin root@localhost
      DocumentRoot /var/www/sharedip
    </VirtualHost>
    NameVirtualHost 69.65.22.21:80
    <VirtualHost 69.65.22.21:80>
      ServerName localhost
      ServerAdmin root@localhost
      DocumentRoot /var/www/sharedip
    </VirtualHost>
    #
    #
    ######################################
    # Vhost: www.dancingmokey.com:80
    ######################################
    #
    #
    <VirtualHost 69.65.22.19:80>
    ServerName www.dancingmokey.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web1/web
    ServerAlias www.dancingmokey.com
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    ScriptAlias  /cgi-bin/ /var/www/web1/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /var/www/web1/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    <Files *.php>
        SetOutputFilter PHP
        SetInputFilter PHP
    </Files>
    <Files *.php3>
        SetOutputFilter PHP
        SetInputFilter PHP
    </Files>
    <Files *.php4>
        SetOutputFilter PHP
        SetInputFilter PHP
    </Files>
    <Files *.php5>
        SetOutputFilter PHP
        SetInputFilter PHP
    </Files>
    php_admin_flag safe_mode Off
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
    AddType text/vnd.wap.wml .wml
    AddType text/vnd.wap.wmlscript .ws .wmlscript
    AddType image/vnd.wap.wbmp .wbmp
    Alias /error/ "/var/www/web1/web/error/"
    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
    </VirtualHost>
    #
    #
    #
    ######################################
    # Vhost: www.phoebesfriends.com:80
    ######################################
    #
    #
    <VirtualHost 69.65.22.20:80>
    ServerName www.phoebesfriends.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web2/web
    ServerAlias phoebesfriends.com
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    ScriptAlias  /cgi-bin/ /var/www/web2/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /var/www/web2/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    <Files *.php>
        SetOutputFilter PHP
        SetInputFilter PHP
    </Files>
    <Files *.php3>
        SetOutputFilter PHP
        SetInputFilter PHP
    </Files>
    <Files *.php4>
        SetOutputFilter PHP
        SetInputFilter PHP
    </Files>
    <Files *.php5>
        SetOutputFilter PHP
        SetInputFilter PHP
    </Files>
    php_admin_flag safe_mode On
    php_admin_value open_basedir /var/www/web2/
    php_admin_value file_uploads 1
    php_admin_value upload_tmp_dir /var/www/web2/phptmp/
    php_admin_value session.save_path /var/www/web2/phptmp/
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
    AddType text/vnd.wap.wml .wml
    AddType text/vnd.wap.wmlscript .ws .wmlscript
    AddType image/vnd.wap.wbmp .wbmp
    Alias /error/ "/var/www/web2/web/error/"
    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
    </VirtualHost>
    #
    #
    #
    ######################################
    # Vhost: images.dancingmokey.com:80
    ######################################
    #
    #
    <VirtualHost 69.65.22.19:80>
    ServerName images.dancingmokey.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web12/web
    ServerAlias dancingmokey.com
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    ErrorLog /var/www/web12/log/error.log
    Alias /error/ "/var/www/web12/web/error/"
    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web12/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web12/user/$1/web/$3
    </VirtualHost>
    #
    #
    #
    
    It was a recycle bin problem. That's taken care of now.

    Yes, the client is set up that way.
     
  6. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ifconfig
    ?

    Do you use the correct username (something like web1_someuser) and password in the email client?
     
  7. aranthorn

    aranthorn New Member

    Code:
    [root@server ~]# ifconfig
    eth1      Link encap:Ethernet  HWaddr 00:14:4F:20:AE:B9
              inet addr:69.65.22.18  Bcast:69.65.22.23  Mask:255.255.255.248
              inet6 addr: fe80::214:4fff:fe20:aeb9/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:63503470 errors:0 dropped:0 overruns:0 frame:0
              TX packets:69338693 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100
              RX bytes:23303709948 (21.7 GiB)  TX bytes:41014863153 (38.1 GiB)
              Base address:0x9800 Memory:fbfc0000-fbfe0000
    
    eth1:0    Link encap:Ethernet  HWaddr 00:14:4F:20:AE:B9
              inet addr:69.65.22.19  Bcast:69.65.22.23  Mask:255.255.255.248
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0x9800 Memory:fbfc0000-fbfe0000
    
    eth1:1    Link encap:Ethernet  HWaddr 00:14:4F:20:AE:B9
              inet addr:69.65.22.20  Bcast:69.65.22.23  Mask:255.255.255.248
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0x9800 Memory:fbfc0000-fbfe0000
    
    eth1:2    Link encap:Ethernet  HWaddr 00:14:4F:20:AE:B9
              inet addr:69.65.22.21  Bcast:69.65.22.23  Mask:255.255.255.248
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0x9800 Memory:fbfc0000-fbfe0000
    
    eth3      Link encap:Ethernet  HWaddr 00:14:4F:20:AE:BF
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
              Base address:0x9000 Memory:fbf80000-fbfa0000
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:190531 errors:0 dropped:0 overruns:0 frame:0
              TX packets:190531 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:132238009 (126.1 MiB)  TX bytes:132238009 (126.1 MiB)
    
    peth0     Link encap:Ethernet  HWaddr 00:14:4F:20:AE:B8
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
              Base address:0x9c00 Memory:fbfe0000-fc000000
    
    virbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00
              inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
              inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:8954 (8.7 KiB)
    
    [root@server ~]#
    
    I removed the prefix. Logging in is no problem. I can recieve email without issue, it's the sending that's an issue. Like when I try to send to me gmail account:
    Code:
    Your message did not reach some or all of the intended recipients.
    
          Subject:	test
          Sent:	8/23/2007 11:14 PM
    
    The following recipient(s) cannot be reached:
    
          '[email protected]' on 8/23/2007 11:14 PM
                554 5.7.1 <[email protected]>: Relay access denied
    
    So, the subdomain is straightened out thanks to the recycle bin (feeling very smart). It's the sending email that's got me stumped now.

    Thanks for your efforts, BTW :)
     
  8. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/postfix/main.cf?
     
  9. aranthorn

    aranthorn New Member

    Here it is, in all it's glory, with all commented items removed:
    Code:
    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    mail_owner = postfix
    inet_interfaces = all
    unknown_local_recipient_reject_code = 550
    alias_database = hash:/etc/aliases
    debug_peer_level = 2
    debugger_command =
             PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
             xxgdb $daemon_directory/$process_name $process_id & sleep 5
    sendmail_path = /usr/sbin/sendmail.postfix
    newaliases_path = /usr/bin/newaliases.postfix
    mailq_path = /usr/bin/mailq.postfix
    setgid_group = postdrop
    html_directory = no
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix-2.4.3/samples
    readme_directory = /usr/share/doc/postfix-2.4.3/README_FILES
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    mynetworks = 127.0.0.0/8
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    smtpd_sasl_authenticated_header = yes
    myhostname = server.dancingmokey.com
    
    virtual_maps = hash:/etc/postfix/virtusertable
    
    mydestination = /etc/postfix/local-host-names
    
     
  10. falko

    falko Super Moderator ISPConfig Developer

    Looks ok. Are there any errors in your mail log when you try to send a mail?
     
  11. aranthorn

    aranthorn New Member

    Where could I find the logs?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    The logfiles are in the directory /var/log/
     
  13. aranthorn

    aranthorn New Member

    mail logs

    OK, these are pretty long, so I'll try and keep it short. If there's something in particular I should be looking for, please let me know. Here's some info that has relay issues in them
    Code:
    Aug 29 06:24:37 server sendmail[9955]: l7TBObjo009955: from=apache, size=1449, class=0, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost
    Aug 29 06:24:37 server postfix/smtpd[9956]: connect from localhost.localdomain[127.0.0.1]
    Aug 29 06:24:37 server postfix/smtpd[9956]: setting up TLS connection from localhost.localdomain[127.0.0.1]
    Aug 29 06:24:37 server postfix/smtpd[9956]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Aug 29 06:24:37 server sendmail[9955]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    Aug 29 06:24:37 server postfix/smtpd[9956]: 7D31F1AD868C: client=localhost.localdomain[127.0.0.1], sasl_sender=[email protected]
    Aug 29 06:24:37 server postfix/cleanup[9959]: 7D31F1AD868C: message-id=<[email protected]>
    Aug 29 06:24:37 server postfix/qmgr[2584]: 7D31F1AD868C: from=<[email protected]>, size=1945, nrcpt=1 (queue active)
    Aug 29 06:24:37 server sendmail[9955]: l7TBObjo009955: to=[email protected], ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31449, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 7D31F1AD868C)
    Aug 29 06:24:37 server postfix/smtpd[9956]: disconnect from localhost.localdomain[127.0.0.1]
    Aug 29 06:24:38 server postfix/smtp[9960]: 7D31F1AD868C: to=<[email protected]>, relay=mx4.hotmail.com[65.54.244.104]:25, delay=0.5, delays=0.09/0.01/0.18/0.22, dsn=2.0.0, status=sent (250  <[email protected]> Queued mail for delivery)
    Aug 29 06:24:38 server postfix/qmgr[2584]: 7D31F1AD868C: removed
    Aug 29 06:25:34 server dovecot: pop3-login: Login: user=<wintermute>, method=PLAIN, rip=::ffff:24.13.187.82, lip=::ffff:69.65.22.19
    Aug 29 06:25:34 server dovecot: POP3(wintermute): Disconnected: Logged out top=0/0, retr=0/0, del=0/78, size=500536
    Aug 29 06:27:50 server dovecot: pop3-login: Login: user=<mvchef>, method=PLAIN, rip=::ffff:76.24.201.72, lip=::ffff:69.65.22.19
    Aug 29 06:27:50 server dovecot: POP3(mvchef): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Aug 29 06:29:02 server postfix/qmgr[2584]: C0B9D1AD8694: from=<[email protected]>, size=2260, nrcpt=1 (queue active)
    Aug 29 06:30:37 server dovecot: pop3-login: Login: user=<wintermute>, method=PLAIN, rip=::ffff:24.13.187.82, lip=::ffff:69.65.22.19
    Aug 29 06:30:37 server dovecot: POP3(wintermute): Disconnected: Logged out top=0/0, retr=0/0, del=0/78, size=500536
    Aug 29 06:32:49 server dovecot: pop3-login: Login: user=<mvchef>, method=PLAIN, rip=::ffff:76.24.201.72, lip=::ffff:69.65.22.19
    Aug 29 06:32:50 server dovecot: POP3(mvchef): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Aug 29 06:34:02 server postfix/qmgr[2584]: 993891AD869E: from=<[email protected]>, size=3101, nrcpt=1 (queue active)
    Aug 29 06:34:02 server postfix/qmgr[2584]: D43381AD869F: from=<[email protected]>, size=1597, nrcpt=1 (queue active)
    Aug 29 06:35:39 server dovecot: pop3-login: Login: user=<wintermute>, method=PLAIN, rip=::ffff:24.13.187.82, lip=::ffff:69.65.22.19
    Aug 29 06:35:39 server dovecot: POP3(wintermute): Disconnected: Logged out top=0/0, retr=0/0, del=0/78, size=500536
    Aug 29 06:37:49 server dovecot: pop3-login: Login: user=<mvchef>, method=PLAIN, rip=::ffff:76.24.201.72, lip=::ffff:69.65.22.19
    Aug 29 06:37:50 server dovecot: POP3(mvchef): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Aug 29 06:39:02 server postfix/qmgr[2584]: 241191AD867B: from=<[email protected]>, size=1951, nrcpt=1 (queue active)
    Aug 29 06:39:02 server postfix/qmgr[2584]: 20AAC1AD806A: from=<[email protected]>, size=1809, nrcpt=1 (queue active)
    Aug 29 06:39:07 server postfix/smtp[10187]: 241191AD867B: host orngca-02.mgw.rr.com[66.75.160.142] refused to talk to me: 554-orngca-mx-08.mgw.rr.com 554 #5.5.4 Relaying denied. IP name lookup failed for 69.65.22.18
    Aug 29 06:39:08 server postfix/smtp[10187]: 241191AD867B: host orngca-01.mgw.rr.com[24.28.204.55] refused to talk to me: 554-hrndva-mx-19.mgw.rr.com 554 #5.5.4 Relaying denied. IP name lookup failed for 69.65.22.18
    Aug 29 06:39:12 server postfix/smtp[10187]: 241191AD867B: host hrndva-02.mgw.rr.com[24.28.204.30] refused to talk to me: 554-hrndva-mx-11.mgw.rr.com 554 #5.5.4 Relaying denied. IP name lookup failed for 69.65.22.18
    Aug 29 06:39:17 server postfix/smtp[10187]: 241191AD867B: host hrndva-01.mgw.rr.com[24.28.204.26] refused to talk to me: 554-hrndva-mx-07.mgw.rr.com 554 #5.5.4 Relaying denied. IP name lookup failed for 69.65.22.18
    Aug 29 06:39:18 server postfix/smtp[10187]: 241191AD867B: to=<[email protected]>, relay=orngca-02.mgw.rr.com[24.28.204.56]:25, delay=4659, delays=4643/0.02/16/0, dsn=4.0.0, status=deferred (host orngca-02.mgw.rr.com[24.28.204.56] refused to talk to me: 554-hrndva-mx-20.mgw.rr.com 554 #5.5.4 Relaying denied. IP name lookup failed for 69.65.22.18)
    Aug 29 06:40:42 server dovecot: pop3-login: Login: user=<wintermute>, method=PLAIN, rip=::ffff:24.13.187.82, lip=::ffff:69.65.22.19
    Aug 29 06:40:42 server dovecot: POP3(wintermute): Disconnected: Logged out top=0/0, retr=0/0, del=0/78, size=500536
    Aug 29 06:44:02 server postfix/qmgr[2584]: 3A5021AD868B: from=<[email protected]>, size=1587, nrcpt=1 (queue active)
    Aug 29 06:44:02 server postfix/smtp[10263]: 3A5021AD868B: host mailin-03.mx.aol.com[64.12.138.153] said: 421-:  (DNS:NR)  http://postmaster.info.aol.com/errors/421dnsnr.html 421 SERVICE NOT AVAILABLE (in reply to end of DATA command)
    Aug 29 06:44:03 server postfix/smtp[10263]: 3A5021AD868B: to=<[email protected]>, relay=mailin-03.mx.aol.com[205.188.157.217]:25, delay=235640, delays=235639/0.02/0.58/0.32, dsn=4.0.0, status=deferred (host mailin-03.mx.aol.com[205.188.157.217] said: 421-:  (DNS:NR)  http://postmaster.info.aol.com/errors/421dnsnr.html 421 SERVICE NOT AVAILABLE (in reply to end of DATA command))
    Aug 29 06:45:44 server dovecot: pop3-login: Login: user=<wintermute>, method=PLAIN, rip=::ffff:24.13.187.82, lip=::ffff:69.65.22.19
    Aug 29 06:45:44 server dovecot: POP3(wintermute): Disconnected: Logged out top=0/0, retr=0/0, del=0/78, size=500536
    Aug 29 06:49:02 server postfix/qmgr[2584]: 9D41F1AD804B: from=<[email protected]>, size=1872, nrcpt=1 (queue active)
    Aug 29 06:49:02 server postfix/qmgr[2584]: C8B8B1AD8679: from=<[email protected]>, size=1342, nrcpt=1 (queue active)
    Aug 29 06:49:02 server postfix/qmgr[2584]: F0F751AD868A: from=<[email protected]>, size=3454, nrcpt=1 (queue active)
    Aug 29 06:49:03 server postfix/smtp[10338]: C8B8B1AD8679: host mx.wp.pl[212.77.101.4] refused to talk to me: 550 [IP:69.65.22.18] revDNS zobacz strone http://profil.wp.pl/polityka_antyspamowa.html / DNS error - see http://profil.wp.pl/bulk_email_policy.html
    Aug 29 06:49:10 server postfix/smtp[10339]: F0F751AD868A: host clmboh-01.mgw.rr.com[65.24.7.14] refused to talk to me: 554-clmboh-mx-13.mgw.rr.com 554 #5.5.4 Relaying denied. IP name lookup failed for 69.65.22.18
    Aug 29 06:49:16 server postfix/smtp[10339]: F0F751AD868A: host hrndva-02.mgw.rr.com[24.28.204.30] refused to talk to me: 554-hrndva-mx-11.mgw.rr.com 554 #5.5.4 Relaying denied. IP name lookup failed for 69.65.22.18
    Aug 29 06:49:20 server postfix/smtp[10338]: C8B8B1AD8679: to=<[email protected]>, relay=mx5.wp.pl[212.77.101.9]:25, delay=8814, delays=8796/0.02/1.5/16, dsn=4.0.0, status=deferred (host mx5.wp.pl[212.77.101.9] said: 421 service temporarily unavailable (in reply to DATA command))
    Aug 29 06:49:23 server postfix/smtp[10339]: F0F751AD868A: host orngca-01.mgw.rr.com[66.75.160.128] refused to talk to me: 554-orngca-mx-01.mgw.rr.com 554 #5.5.4 Relaying denied. IP name lookup failed for 69.65.22.18
    Aug 29 06:49:29 server postfix/smtp[10339]: F0F751AD868A: host hrndva-01.mgw.rr.com[24.28.204.24] refused to talk to me: 554-hrndva-mx-05.mgw.rr.com 554 #5.5.4 Relaying denied. IP name lookup failed for 69.65.22.18
    Aug 29 06:49:34 server postfix/smtp[10339]: F0F751AD868A: to=<[email protected]>, relay=orngca-02.mgw.rr.com[66.75.160.144]:25, delay=311347, delays=311314/0.02/32/0, dsn=4.0.0, status=deferred (host orngca-02.mgw.rr.com[66.75.160.144] refused to talk to me: 554-orngca-mx-10.mgw.rr.com 554 #5.5.4 Relaying denied. IP name lookup failed for 69.65.22.18)
    Aug 29 06:50:47 server dovecot: pop3-login: Login: user=<wintermute>, method=PLAIN, rip=::ffff:24.13.187.82, lip=::ffff:69.65.22.19
    Aug 29 06:50:47 server dovecot: POP3(wintermute): Disconnected: Logged out top=0/0, retr=0/0, del=0/78, size=500536
     
  14. falko

    falko Super Moderator ISPConfig Developer

    The problem is that there's no reverse record for your IP address 69.65.22.18:

    Code:
    mh1:~# dig -x 69.65.22.18
    
    ; <<>> DiG 9.2.1 <<>> -x 69.65.22.18
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 36914
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;18.22.65.69.in-addr.arpa.      IN      PTR
    
    ;; AUTHORITY SECTION:
    22.65.69.in-addr.arpa.  3600    IN      SOA     ns1.servernap.com. hostmaster.servernap.com. 2007083002 10800 3600 604800 3600
    
    ;; Query time: 358 msec
    ;; SERVER: 213.191.92.84#53(213.191.92.84)
    ;; WHEN: Thu Aug 30 21:09:30 2007
    ;; MSG SIZE  rcvd: 106
    
    mh1:~#
    Ask your hosting company to set one up for you.
     
  15. aranthorn

    aranthorn New Member

    unfortunately, I'm my own hosting company. I use mydns.com as my dns provider. What record type should I be adding? A? CNAME? I already have the MX record there with them. Maybe it's easier if I just show what my DNS entires look like:
    Code:
    dancingmokey.com   	MX   	   	   	mail.dancingmokey.com
    dancingmokey.com   	A   	   	   	69.65.22.19
    
    What should I actually have?

    I really appreciate the help more then words can say with this.
     
  16. falko

    falko Super Moderator ISPConfig Developer

    Ask the company that provided you with the IP addresses.
     
  17. aranthorn

    aranthorn New Member

    O.M.G. I truly think I'm an idiot at this point. I have ISPConfig setup to use itself as the DNS server while I have my registrar setup to use the mydomain.com service for DNS. I swear I don't do drugs. I wish I did, that would make things much easier to explain.

    I need to setup ISPConfig to use NS1.MYDOMAIN.com and NS2.MYDOMAIN.COM just like I have it setup with my registrar or DNS is going to be ugly (like now for instance). Then I have to update the mydomain.com information to reflect the mailserver and subdomains correctly.

    I feel like a complete fool.
     
  18. aranthorn

    aranthorn New Member

    So I updated ISPConfig to use the ns1 and ns2 from mydomain.com. Now I updated the mydomain.com entries as:
    Code:
    dancingmokey.com   	MX   	Priority 5   	   	mail.dancingmokey.com
    dancingmokey.com   	MX   	Priority 0    	   	server.dancingmokey.com
    dancingmokey.com   	A                                  69.65.22.19
    
    Then I created subdomains.

    This one is created as a new site in ISPConfig:
    Code:
    images.dancingmokey.com   	A    	   	   	69.62.22.19
    
    And this is where ISPConfig is setup on the server:
    Code:
    server.dancingmokey.com   	A                        69.65.22.18
    
    So, should that about do it?
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    You mix up different things, dns records for domains and reverse records for IP addresses are different! You can never setup a reverse record for a IP yourself in your own dns server, as the reverse records are always handled by the company that assigned you the IP address.

    So please do what falko suggested and ask the company that assigned you the IP address to set a reverse record for the IP that points to the domain name of your server.
     
  20. aranthorn

    aranthorn New Member

    I realize that, I thought it would be a good idea to straighten out the DNS first.

    There are multiple IPs on the server and multiple domains on the server.
    69.65.22.18 is server.dancingmokey.com
    69.65.22.19 is www.dancingmokey.com with a images.dancingmokey.com subdomain
    69.65.22.20 is phoebesfriends.com

    I still have .21 and .22 addresses open for future use

    So I am asking the company that assigned them (gigenet) for the following:
    I realize I'm chasing down multiple issues, it's hope it's morally rewarding helping people like me :)
     

Share This Page