Mail can't be delivered

Discussion in 'Installation/Configuration' started by sulfuric, Feb 2, 2006.

  1. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    I have a perfect setup with ubuntu breeze, my domind for technical issues are xxxx.net, but now i try to configure mail for my host xxxx.com the www works correctly, and all domind works correctly. I trying to configure my first domind (xxxxxx.com) to work with mail (postfix). I can sent mail via webmail ubumiau and via smtp with outllok, but i can't recive.

    I learn more for config my mx records but i don't know what's mistake?Somebody can help me?? THANKS a lot
     
    Last edited: Oct 20, 2006
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please have a look in your mail log and post the errors here.
     
  3. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    Thanks

    This is the final part of log, there are the errors i try to send mails at two diferent adresses.

    Feb 2 17:53:10 omaxserver postfix/qmgr[626]: C67284B006D: from=<[email protected]>, size=781, nrcpt=1 (queue active)
    Feb 2 17:53:10 omaxserver postfix/smtp[3579]: C67284B006D: to=<[email protected]>, relay=none, delay=3210, status=deferred (Host or domain name not found. Name service error for name=xxxxxx.com type=MX: Host not found, try again)
    Feb 2 17:53:10 omaxserver postfix/smtp[3577]: 662CE4B005D: to=<[email protected]>, relay=none, delay=19646, status=deferred (Host or domain name not found. Name service error for name=xxxxxxxx.com type=MX: Host not found, try again)
    Feb 2 17:53:10 omaxserver postfix/smtp[3578]: 0DAA24B0069: to=<[email protected]>, relay=none, delay=3277, status=deferred (Host or domain name not found. Name service error for name=xxxxxx.com type=MX: Host not found, try again)
    Feb 2 17:53:52 omaxserver postfix/anvil[3298]: statistics: max connection rate 2/60s for (smtp:192.168.3.2) at Feb 2 17:45:40
    Feb 2 17:53:52 omaxserver postfix/anvil[3298]: statistics: max connection count 1 for (smtp:66.36.241.109) at Feb 2 17:43:55
    Feb 2 17:53:52 omaxserver postfix/anvil[3298]: statistics: max cache size 1 at Feb 2 17:43:55
    Feb 2 18:10:40 omaxserver courierpop3login: Connection, ip=[::ffff:192.168.3.2]
    Feb 2 18:10:40 omaxserver courierpop3login: LOGIN, user=web6_produccion, ip=[::ffff:192.168.3.2]
    Feb 2 18:10:40 omaxserver courierpop3login: LOGOUT, user=web6_produccion, ip=[::ffff:192.168.3.2], top=0, retr=0, time=0
    Feb 2 18:11:30 omaxserver postfix/smtpd[4147]: connect from bay105-dav14.bay105.hotmail.com[65.54.224.86]
    Feb 2 18:11:31 omaxserver postfix/smtpd[4147]: NOQUEUE: reject: RCPT from bay105-dav14.bay105.hotmail.com[65.54.224.86]: 554 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<hotmail.com>
    Feb 2 18:11:31 omaxserver postfix/smtpd[4147]: disconnect from bay105-dav14.bay105.hotmail.com[65.54.224.86]
     
    Last edited: Oct 20, 2006
  4. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    And in main.cf file I look this

    #mydestination=omaxserver.grupaprop.net localhost.grupaprop.net ......

    this line is comment it's right?? THANKS
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Has the website www.grupaprop.com in ISPConfig a co-domain grupaprop.com with empty host field? If not, please create it.

    Please post the output of this command:

    dig MX grupaprop.com
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, this muste be commented out, if mydestination is set at the end of main.cf pointing to the local-host-names file.
     
  7. falko

    falko Super Moderator ISPConfig Developer

    Does a correct MX record for grupaprop.com exist?

    Does [email protected] exist in /etc/postfix/virtusertable?
     
  8. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    Yes co-domaind is point to my ip and the fiels host it's empty

    ; <<>> DiG 9.3.1 <<>> mx grupaprop.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38177
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

    ;; QUESTION SECTION:
    ;grupaprop.com. IN MX

    ;; ANSWER SECTION:
    grupaprop.com. 86400 IN MX 10 mail.grupaprop.com.

    ;; AUTHORITY SECTION:
    grupaprop.com. 86400 IN NS ns2.grupaprop.net.
    grupaprop.com. 86400 IN NS ns1.grupaprop.net.

    ;; ADDITIONAL SECTION:
    mail.grupaprop.com. 86400 IN A 87.223.138.253
    ns1.grupaprop.net. 116978 IN A 87.223.138.253
    ns2.grupaprop.net. 116978 IN A 87.223.138.253

    ;; Query time: 151 msec
    ;; SERVER: 62.81.31.250#53(62.81.31.250)
    ;; WHEN: Thu Feb 2 18:35:12 2006
    ;; MSG SIZE rcvd: 149
     
  9. falko

    falko Super Moderator ISPConfig Developer

  10. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    It's empty

    ###################################
    #
    # ISPConfig virtusertable Configuration File
    # Version 1.0
    #
    ###################################
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
     
  11. falko

    falko Super Moderator ISPConfig Developer

    That's why you get the "Relay access denied" error. You must create user in ISPConfig, and then the correct entries will be made in /etc/postfix/virtusertable.
     
  12. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    OK thanks falko mx record it's recently created
     
  13. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    Sorry falco but

    FALKO:You must create user in ISPConfig, and then the correct entries will be made in /etc/postfix/virtusertable.

    where can create this user, on isp manager (clients) login data or in user e-mail (sites), i created users in both parts.
     
  14. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    In this file, www.grupaprop.com might be created ???
    Something is wrong :(

    ###################################
    #
    # ISPConfig local-host-names Configuration File
    # Version 1.0
    #
    ###################################
    localhost
    omaxserver.grupaprop.net.localdomain
    localhost.omaxserver.grupaprop.net.localdomain
    localhost.grupaprop.net.localdomain
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
     
  15. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    ""AMD64"" (ubuntu breeze perfect setup)

    I see this:

    Quote:
    Originally Posted by Tribal-Dolphin
    Just a question :
    why when we add a website, the localhostname file contains only www.domain.com instead of domain.com ?

    Error when creating a new site OR ISPconfig mistake ?
    When you create a web site www.domain.com, the Co-Domain domain.com is created automatically, and both www.domain.com and domain.com are added to /etc/postfix/local-host-names so that you can receive emails for <user>@www.domain.com and <user>@domain.com.
    __________________
    Falko

    Where is the error? I created two dominds but isn't in /local-host-names, and i created a lot mail counts but isn't in /etc/postfix/virtusertable. what's the error??
    AMD64?? I install with changes of this post http://www.howtoforge.com/forums/showthread.php?t=127

    Thanks a lot
     
  16. falko

    falko Super Moderator ISPConfig Developer

    You must create all email addresses on the "User & Email" tab of a web site in ISPConfig.
     
  17. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    I created 5 emails in one domind and 1 in other ant its not appear on /etc/postfix/virtusertable, and dominds isn't in local-host-names

    ??

    Sincerily
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you get any errors in the ispconfig log?

    /home/admispconfig/ispconfig/ispconfig.log
     
  19. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    No aparently get an extract

    All is INFO

    02.02.2006 - 20:46:02 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 851: setquota -u web6_postmaster 0 0 0 0 -a &> /dev/null
    02.02.2006 - 20:46:02 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web6/user/web6_postmaster/.forward
    02.02.2006 - 20:46:02 => INFO - USER:
    web6_grupaprop:x:10024:10006:Grupaprop:/var/www/web6/user/web6_grupaprop:/bin/false
    02.02.2006 - 20:46:03 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 851: setquota -u web6_grupaprop 0 0 0 0 -a &> /dev/null
    02.02.2006 - 20:46:03 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web6/user/web6_grupaprop/.forward
    02.02.2006 - 20:46:03 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 136: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
    02.02.2006 - 20:46:03 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 283: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
    02.02.2006 - 20:46:03 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 288: postmap hash:/etc/postfix/virtusertable
    02.02.2006 - 20:46:03 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1191: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
    02.02.2006 - 20:46:03 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1800: httpd -t &> /dev/null
    02.02.2006 - 20:46:03 => INFO - HTTPD_SYNTAX_CHECK: suexec
    02.02.2006 - 20:46:03 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1800: httpd -t &> /dev/null
    02.02.2006 - 20:46:03 => INFO - HTTPD_SYNTAX_CHECK: suexec
    02.02.2006 - 20:46:03 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1800: httpd -t &> /dev/null
    02.02.2006 - 20:46:03 => INFO - HTTPD_SYNTAX_CHECK: suexec
    02.02.2006 - 20:46:03 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1825: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
     
  20. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    It's wrong in my case??

    [email protected]:~$ hostname -f
    localhost.localdomain
    [email protected]:~$ hostname
    omaxserver.grupaprop.net
     

Share This Page