Help with mail

Discussion in 'Installation/Configuration' started by Sked, Aug 21, 2014.

  1. Sked

    Sked New Member

    Hello
    I am trying to setup my own mail server with apache2,postxif and dovecot.
    But i use sguirreMail and want to send mail outside ( to my gmail account) and
    get this error:

    http://pastebin.com/hUSyF1rR

    I dont know where i must look at this problem.
    I have setup apache2, postfix (its runing) and dovecot (i hope settings are good).
    Please if you need any other info i can provide it for you.
    Thank you again.
     
  2. Sked

    Sked New Member

    Do you need any other info?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Which tutorial did you use to configure your server?
     
  4. Sked

    Sked New Member

  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Which errors do you get in the mail log file?
     
  6. Sked

    Sked New Member

    server-assets postfix/smtp[9172]: error: open database /etc/postfix/saslpasswd.db: No such file or directory

    This is last line from mail.err file.

    my main.cf file:
    http://pastebin.com/QVbMnj4U
     
    Last edited: Aug 26, 2014
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    The file /etc/postfix/saslpasswd.db is not used on a ispconfig setup.

    Please take a look at the mail log, not the mail error file and post the lines that get added to the mail log when you send a email outside to gmail.
     
  8. Sked

    Sked New Member

  9. Sked

    Sked New Member

    If you need any other info just ask?
     
  10. Sked

    Sked New Member

    On my PM can you send how much this cost, because i really need to fix this.
    I can pay if nobody dont have time to help me.
    Tnx
     
  11. Sked

    Sked New Member

    Anyone mybe?

    :)
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    according to your mail.log, the outgoing traffic on port 25 is blocked. Do you run the server at homw or in a office and not a datacenter? If its not in a datacenter, then ask the access ISP from were you get the internet connection if they block port 25 outgoing.
     
  13. Sked

    Sked New Member

    Tnx for your help, but i have open port 25 and my ISP have open port too.
    But i think port 25 dont have nothing to do when i send mail from one my
    mail to anothere on my server. I think problem is somewhere else?
    I think relay host is not setup right, or there must be empty in
    main.cf file?
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    according to the mail.log you posted, there are o connects on port 25 possible.

    2014-08-27T20:09:22.672806+02:00 server-assets postfix/smtp[20068]: connect to smtp.t-2.com[84.255.208.32]:25: Connection refused

    or the server smtp.t-2.com is nt a mailserver and does not respind on that port.

    Thats wrong. Email is exhanged between the mail servers on port 25. So your server ties to connect the external server on port 25 and that fails according to your mail.log as the external server is either not a mailserver or a firewall of your isp blocks port 25. If your server is not located in a datacenter then it is very likely that port 25 outgoing to other servers is blocked as most ISP's do that to prevent spam and to prevent that their customers run mail servers at home or in office.



    This must be empty if your server shall send emails directly.
     

Share This Page