ISPConfig 3.0.1.3 E-mail

Discussion in 'General' started by pinguinito, Oct 14, 2009.

  1. pinguinito

    pinguinito Member

  2. damir

    damir New Member

    Type in the mail server: tail -f /var/log/mail.log and than try to send a email to gmail adress. When you do that copy the output that shows up in terminal windows from the command that you typed in and paste it here.
     
  3. pinguinito

    pinguinito Member

    ISPConfig 3 E-mail

    There is the uot put, thank for your help:


    Oct 14 22:34:41 server postfix/smtp[29812]: connect to gmail-smtp-in.l.google.com[209.85.221.22]:25: Connection timed out
    Oct 14 22:35:01 server postfix/smtpd[29794]: connect from localhost[127.0.0.1]
    Oct 14 22:35:01 server postfix/smtpd[29794]: lost connection after CONNECT from localhost[127.0.0.1]
    Oct 14 22:35:01 server postfix/smtpd[29794]: disconnect from localhost[127.0.0.1]
    Oct 14 22:35:01 server pop3d: Connection, ip=[::ffff:127.0.0.1]
    Oct 14 22:35:01 server pop3d: Disconnected, ip=[::ffff:127.0.0.1]
    Oct 14 22:35:01 server imapd: Connection, ip=[::ffff:127.0.0.1]
    Oct 14 22:35:01 server imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
    Oct 14 22:35:11 server postfix/smtp[29812]: connect to alt1.gmail-smtp-in.l.google.com[209.85.219.43]:25: Connection timed out
    Oct 14 22:35:41 server postfix/smtp[29812]: connect to alt2.gmail-smtp-in.l.google.com[209.85.129.27]:25: Connection timed out
    Oct 14 22:36:11 server postfix/smtp[29812]: connect to alt3.gmail-smtp-in.l.google.com[209.85.222.59]:25: Connection timed out
    Oct 14 22:36:41 server postfix/smtp[29812]: connect to alt4.gmail-smtp-in.l.google.com[209.85.211.66]:25: Connection timed out
    Oct 14 22:36:41 server postfix/smtp[29812]: AD1B973EFE: to=<[email protected]>, relay=none, delay=151, delays=0.07/0.02/151/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[209.85.211.66]:25: Connection timed out)

    Something more, I can't get e-mail in come, just the ones from the server (notifications)

    Thank you.
     
    Last edited: Oct 15, 2009
  4. damir

    damir New Member

    In most cases gmail is rejecting mail is because bad email configuration or dns configuration.

    Post the output of following commands:

    hostname
    hostname -f
    cat /etc/mailname

    You can try to check if your IP or MX is open relay:

    http://www.spamhelp.org/shopenrelay/
     
  5. pinguinito

    pinguinito Member

    ISPConfig 3 E-mail

    Thank for your time and help.

    server:~# hostname
    server
    server:~# hostname -f
    server.example.com
    server:~# cat /etc/mailname
    server.example.com


    This is it.

    In the hosting control panel:

    Email

    server Domain

    server.example.com example.com



    But in the DNS Zone I don"t have nothing declared; I mean, no records for this domain.

    Where is my mistake? thank you, I appreciate you help.
     
    Last edited: Oct 15, 2009
  6. damir

    damir New Member

  7. pinguinito

    pinguinito Member

    ISPConfig3 Email

    ok. so I have a difference in the eth0 in my server is dhcp

    and in the records of the DNS is hostname the domain name??

    MX record

    hostname:
    example.com

    emailserver hostname:
    server.example.com

    is that right??

    thank yuo very mush
     
  8. damir

    damir New Member

    Are we talking about FQDN (Fully qualified domain name) here or do you use local test domain ?
     
  9. pinguinito

    pinguinito Member

    ISPConfig 3 E-mail

    Sorry.
    I just want be able to create an e-mail for my cliente, where he can sent and resive e-mails to any body.
    thank you
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Then just create an email account in ispconfig. Your client can send and receive emails to anybody with this account, he just have to enable smtp authentication in his email client.
     
  11. pinguinito

    pinguinito Member

    ISPConfig3 E-MAIL

    Thanks till, thanks damir.
     
  12. pinguinito

    pinguinito Member

    Hi:

    This is my report from dig command:

    # dig example.com

    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27190
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;example.com. IN A (my IP)
    |
    ;; ANSWER SECTION: \|/
    example.com. 86400 IN A xxxx.xxxx.xxxx.xxx

    ;; Query time: 292 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Tue Oct 20 17:51:11 2009
    ;; MSG SIZE rcvd: 44


    And then, the dig mx:

    #dig mx example.com

    ; <<>> DiG 9.5.1-P3 <<>> mx example.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9800
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

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

    ;; ANSWER SECTION:
    example.com. 86400 IN MX 10 mx00.1and1.com.
    example.com. 86400 IN MX 10 mx01.1and1.com.

    ;; Query time: 50 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Tue Oct 20 17:51:35 2009
    ;; MSG SIZE rcvd: 76

    However I made the mx record in my server
     
  13. falko

    falko Super Moderator Howtoforge Staff

    The MX records are pointing to 1and1.com servers instead of your own server. You must create the MX record on the authoritative nameservers for your domain. You can find them out by running
    Code:
    dig ns yourdomain.com
     
  14. pinguinito

    pinguinito Member

    Hi falko:

    This is my uot put from the dig command:

    # dig ns example.com

    ; <<>> DiG 9.5.1-P3 <<>> ns example.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29210
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;example.com. IN NS

    ;; ANSWER SECTION:
    example.com. 29575 IN NS ns57.1and1.com.
    example.com. 29575 IN NS ns58.1and1.com.

    ;; ADDITIONAL SECTION:
    ns57.1and1.com. 172787 IN A 74.208.2.9
    ns58.1and1.com. 172787 IN A 74.208.3.8

    ;; Query time: 98 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Wed Oct 21 12:57:25 2009
    ;; MSG SIZE rcvd: 107


    Can I change all those records from 1and1.com to my server?
    Is this something that will happing all the time whent I register a new domain?

    Thank you
     
  15. falko

    falko Super Moderator Howtoforge Staff

    You must create the MX record on ns57.1and1.com and ns58.1and1.com.

    If you want to run your own nameservers, take a look here (it's for ISPConfig 2, but it should give you the idea): http://www.howtoforge.com/ispconfig_dns_godaddy
     
  16. pinguinito

    pinguinito Member

    How To Run Your Own Name Servers With ISPConfig And GoDaddy - Page 2

    [Before we create DNS records for ifwolfpack.com on our ISPConfig servers, go to Management -> Server -> Settings -> DNS and enter ns1.erikturk.com as Default Ns1 and ns2.erikturk.com as Default Ns2. You should also specify a valid Admin Email:]

    How can we translate this in ISPConfig3??? It could be System >> server >> add new server ????

    My hostname is "server" so server.example.com
    do I have to change the setting to ns1.example.com or just add a new server?
    thanks.
     
    Last edited: Nov 10, 2009
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    There are no corresponding settings in ispconfig 3.

    In ISPConfig 3 you go just to the dns module, click on the dns wizard and enter the details of the dns record and click save.
     

Share This Page