email problem ISPConfig 3

Discussion in 'Installation/Configuration' started by mescalina, Aug 20, 2010.

  1. mescalina

    mescalina New Member

    Hellow i have a server whit ispconfig 3 but i have a problem i make a domain for a client ex: mydomain.com, i create an account from ispconfig panel at: Email Mailbox, and i try to login whit SquirrelMail whit: [email protected] and the password i put that password when i create the account, from outlook i logged id but i try to send an email to a gmail account and i get this error: "The connection to the server has failed. Account: 'mail.mydomain.com, Server: 'mail.mydomain.com', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error: 10061, Error Number: 0x800CCC0E"
    what can i do?
    thanks and have a nice day.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Any errors in your mail log? What's the output of
    Code:
    netstat -tap
    ?
     
  3. d3athrow

    d3athrow New Member

    i'm having the same issue, but i used the tutorial here - http://www.howtoforge.com/perfect-server-ubuntu-9.10-ispconfig-3

    same error but i'm using thunderbird and when i try to use the squirrelmail i get
    Code:
    Message not sent. Server replied:
    
        Service not available, closing channel
        421 4.3.0 collect: Cannot write ./dfo7LNY64o009355 (bfcommit, uid=0, gid=110): No such file or directory
    the netstat -tap gives
    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 localhost.localdo:10024 *:*                     LISTEN      26274/amavisd (mast
    tcp        0      0 *:mysql                 *:*                     LISTEN      25955/mysqld    
    tcp        0      0 localhost.lo:submission *:*                     LISTEN      22191/sendmail: MTA
    tcp        0      0 *:5901                  *:*                     LISTEN      22242/Xtightvnc 
    tcp        0      0 *:http-alt              *:*                     LISTEN      28136/apache2   
    tcp        0      0 *:www                   *:*                     LISTEN      28136/apache2   
    tcp        0      0 *:tproxy                *:*                     LISTEN      28136/apache2   
    tcp        0      0 *:x11-1                 *:*                     LISTEN      22242/Xtightvnc 
    tcp        0      0 178.18.19.30:domain     *:*                     LISTEN      28177/named     
    tcp        0      0 mc.undo.it:domain       *:*                     LISTEN      28177/named     
    tcp        0      0 localhost.locald:domain *:*                     LISTEN      28177/named     
    tcp        0      0 *:ssh                   *:*                     LISTEN      22000/sshd      
    tcp        0      0 localhost.localdoma:ipp *:*                     LISTEN      22064/cupsd     
    tcp        0      0 localhost.localdoma:953 *:*                     LISTEN      28177/named     
    tcp        0      0 localhost.localdom:smtp *:*                     LISTEN      22191/sendmail: MTA
    tcp        0      0 *:https                 *:*                     LISTEN      28136/apache2   
    tcp        0      0 localhost.localdo:56247 localhost.localdoma:www TIME_WAIT   -               
    tcp        0      0 mc.undo.it:5901         ip-foo.:53921 ESTABLISHED 22242/Xtightvnc 
    tcp        0      0 localhost.localdo:58797 localhost.locald:domain TIME_WAIT   -               
    tcp6       0      0 [::]:25565              [::]:*                  LISTEN      23744/java      
    tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      28053/couriertcpd
    tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      28102/couriertcpd
    tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      28077/couriertcpd
    tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      28027/couriertcpd
    tcp6       0      0 [::]:domain             [::]:*                  LISTEN      28177/named     
    tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      3444/proftpd: (acce
    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      22000/sshd      
    tcp6       0      0 ::1%136933432:ipp       [::]:*                  LISTEN      22064/cupsd     
    tcp6       0      0 ::1%136933432:953       [::]:*                  LISTEN      28177/named     
    tcp6       0      0 localhost.localdoma:ftp localhost.localdo:37895 TIME_WAIT   -               
    tcp6       0    241 mc.undo.it:25565        ip-foo.:53930 ESTABLISHED 23744/java      
    tcp6       0    364 mc.undo.it:25565        cpe-foo .:58292 ESTABLISHED 23744/java      
    
    also it seems i get this error when emailing myself
    Code:
    Message not sent. Server replied:
    
        Requested action not taken: mailbox unavailable
        550 5.1.1 <[email protected]>... User unknown
     
    Last edited: Aug 22, 2010
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    @mescalina: Please try to use the IP address of your server as smtp server and not mail.mydomain.com. If it works with the IP, then check that mail.mydomain.com points really to the IP of the server.

    @d3athrow: Your problem is different from the poster of the first post. You have a problem with the file system. Take a look into the mail.log and post the errors that you get there.
     
  5. d3athrow

    d3athrow New Member

    ah sorry about hijacking then

    also if it matters, when setting up an email account on thunderbird it looks for the incoming and outgoing servers and it find the incoming but has trouble on the smtp

    EDIT: uploaded the log as an attachment as per request
     

    Attached Files:

    • mail.txt
      File size:
      49.4 KB
      Views:
      283
    Last edited: Aug 22, 2010
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    There seems to be another mail server installed already or a broken postfix instance. Please post the output of:

    netstat -tap

    By the way, please post logfiles and command output directly into the forum (or attach them as txt files) and dont use pastebin.org. The problem with pastebin is that it renders the answers that we write here useless after a short period of time. E.g. if someone has the same problem then you and finds this thread in 2 years, he then clicks on the pastebin link to see if the error messages are the same and pastebin has already deleted the log then.
     
  7. d3athrow

    d3athrow New Member

    gotcha
    here's the netstat -tap
     

    Attached Files:

  8. till

    till Super Moderator Staff Member ISPConfig Developer

  9. d3athrow

    d3athrow New Member

    ok that fixed the sending but the mail accounts can't receive.

    Code:
    Note: Forwarded message is attached.
    
    This is the mail system at host mc.undo.it.
    
    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.
    
    For further assistance, please send mail to postmaster.
    
    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.
    
                      The mail system
    
    <[email protected]>: unknown user: "admin"
    Reporting-MTA: dns; mc.undo.it
    X-Postfix-Queue-ID: 83AF672E9510
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Sun, 22 Aug 2010 03:28:19 -0500 (CDT)
    
    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.1.1
    Diagnostic-Code: X-Postfix; unknown user: "admin"
    Fw: Re: test
    Re: test
    Sunday, August 22, 2010 3:28:36 AM
    From:
    "Somebody" <[email protected]>
    To:
    "" <[email protected]>
    again
    
    From: "[email protected]" <[email protected]>
    To: [email protected]
    Sent: Sun, August 22, 2010 3:27:35 AM
    Subject: test
    
    test
    
    
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the exact lines from the mail log. Also the recipient address [email protected] seems a bit strange. Please be aware that you can not send emails to the hostname of the server as postfix does not support to mix virtual users and system users. So if mc.undo.it is the server hostname, you can not send emails to it. Login to ispconfig, create a meail domain undo.it and then a email mailbox for [email protected] and then try to send a email to [email protected].
     
  11. d3athrow

    d3athrow New Member

    i dont own the undo.it domain, the mc is a free subdomain.
     

    Attached Files:

  12. d3athrow

    d3athrow New Member

    ok so i just changed it to mail2.undo.it and changed my MX to mail2.undo.it 10:mc.undo.it and now the mail works! only problem left is the fact i can't use a standalone client like thunderbird to connect to my mail.
     

    Attached Files:

  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Which error do you get in the mail log when you try to connect with thunderbird?
     
  14. d3athrow

    d3athrow New Member

    edit:misunderstood, hang on
    edit2:nothing is actually in the log it seems about thunderbird. the error the client gives is it cannot connect to [email protected]
     
  15. d3athrow

    d3athrow New Member

    ok i'm in the final stretch.

    i figured out changing my imap server back to mc.undo.it in the clients allowed me to retrieve my mail, now i need help with the smtp settings. no matter what i put i get an error about the smtp server.
    Code:
    Sending of message failed.
    An error occurred sending mail: SMTP server mail2.undo.it is unknown. The server may be incorrectly configured. Please verify that your SMTP server settings are correct and try again.
    i have tried port 25 and 465? as for authentication i've tried starttls, none, and ssl,tls none have worked so far.

    edit: is the fact my ISP blocks port 25 messing with sending mail? if so how do i change the port my SMTP server listens on?
     

    Attached Files:

    Last edited: Aug 22, 2010
  16. mescalina

    mescalina New Member

    i atach the comand reponse netstat -tap
     

    Attached Files:

  17. mescalina

    mescalina New Member

    thx for support i resolve my problem now it`s good :D thx for your help,
    but in Mail Warn-Log i have this

    failed: Name or service not known
    Aug 23 15:45:41 mail postfix/smtpd[30314]: warning: 188.30.200.5: hostname mydomain.provider.ro verification failed: Name or service not known
    Aug 23 15:46:54 mail postfix/smtpd[30314]: warning: 188.30.200.5: hostname mydomain.provider.ro verification failed: Name or service not known
    Aug 23 16:30:39 mail postfix/smtpd[32150]: warning: 188.30.200.7: hostname mydomain.provider.ro verification failed: Name or service not known
    Aug 23 16:42:14 mail postfix/smtpd[32718]: warning: 188.30.200.7: hostname mydomain.provider.ro verification failed: Name or service not known

    i have dns for that domain to my server ip maked from ISPConfig i tracert that domain and is ok


    i have onli a single question i whant to change my hostaname server becouse i dont have the old name ex: server.mydomain.com i whant to change for all service into a new domain what can i do? i must modify from ISPconfig server host name to change whit new domain? From
    1. ISPConfig > System > Server Service click my old domain and change the Servername whit my new domain
    2. ISPConfig > System > Server Config click my old domain and change the Hostname whit my new domain

    and for the all domain to squiremail conf i must change the key an regenerate for my new domain?
     
  18. d3athrow

    d3athrow New Member

    how did you get it to work with a standalone mail client?
     
  19. mescalina

    mescalina New Member

    i reboot my server and delete all accounts for domain mail server an read the clients, i delete the old dns and rentry the old dns zone :D and it works perferct now.. only when i try to entry webmail from ispconfig ex: http://mydomain.com:8080/mail/webmailer.php?id=13, http://mail.mydomain.com:82/webmail/ i get this error: 500 Internal Server Error what can i do? i change the server hostane only becouse the old dns it is not good now.. what can i do ?
    thx for support
     
  20. gasparo

    gasparo New Member

    Last edited: Oct 7, 2015

Share This Page