Ubuntu perfect server 16.04 LTS

Discussion in 'Installation/Configuration' started by Robin.k, Dec 29, 2016.

  1. Robin.k

    Robin.k Member

    Hi,
    I just installed Ubuntu 16.041, after it i installed ispconfig perfect server instructions for ubuntu 16.04 LTS
    Everything works fine, except i can not receive mails with roundcube. Sending mails to gmail etc. is o.k.
    What can i do to solve this problem?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Can you reach port 25 of your server from outside? maybe port 25 is blocked in a firewall.
     
  3. Robin.k

    Robin.k Member

    Hi,
    Yes i checked with shields up, port 25 is open.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    In postfix main.cf you have "inet_interfaces = all" ?
     
  5. Robin.k

    Robin.k Member

    Yes, in /etc/postfix/main.cf i have inet_interfaces = all
     
  6. Robin.k

    Robin.k Member

    When i send a mail from roundcube to myself i do get the mail, local it works, but i get no mail from outside.
    Someone a solution?
     
    Last edited: Dec 29, 2016
  7. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Send an email from outside (which apparently will fail) and post the corresponding mail.log entries here.
     
  8. Robin.k

    Robin.k Member

    Hi,
    Here the Mail - Log in ispconfig
    ..............................................
    Dec 29 21:15:02 server postfix/smtpd[4265]: fatal: unexpected command-line argument: submission
    Dec 29 21:15:02 server dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<mF2RvdFEtLR/AAAB>
    Dec 29 21:15:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<oWqRvdFE5tV/AAAB>
    Dec 29 21:15:03 server postfix/master[2057]: warning: process /usr/lib/postfix/sbin/smtpd pid 4265 exit status 1
    Dec 29 21:15:03 server postfix/master[2057]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    Dec 29 21:17:59 server postfix/smtpd[4404]: fatal: unexpected command-line argument: submission
    Dec 29 21:18:00 server postfix/master[2057]: warning: process /usr/lib/postfix/sbin/smtpd pid 4404 exit status 1
    Dec 29 21:18:00 server postfix/master[2057]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    Dec 29 21:18:27 server dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4437, secured, session=<60C7ydFEzLR/AAAB>
    Dec 29 21:18:27 server dovecot: imap([email protected]): Logged out in=29 out=460
    Dec 29 21:18:27 server dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4439, secured, session=<VFnHydFEzrR/AAAB>
    Dec 29 21:18:27 server dovecot: imap([email protected]): Logged out in=70 out=612
    Dec 29 21:18:28 server dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4441, secured, session=<29vPydFE0LR/AAAB>
    Dec 29 21:18:28 server dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4443, secured, session=<GjzQydFE0rR/AAAB>
    Dec 29 21:18:28 server dovecot: imap([email protected]): Logged out in=233 out=1005
    Dec 29 21:18:28 server dovecot: imap([email protected]): Logged out in=318 out=1818
    Dec 29 21:18:31 server dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4447, secured, session=<tqj7ydFE1LR/AAAB>
    ..............................................................................
    And Mail error-log in ispconfig
    ............................................
    Dec 29 21:10:03 server postfix/smtpd[3945]: fatal: unexpected command-line argument: submission
    Dec 29 21:15:02 server postfix/smtpd[4265]: fatal: unexpected command-line argument: submission
    Dec 29 21:17:59 server postfix/smtpd[4404]: fatal: unexpected command-line argument: submission
     
  9. sjau

    sjau Local Meanie Moderator

    From mxtoolbox: https:/

    /mxtoolbox.com/SuperTool.aspx?action=mx%3akutscher.nl&run=toolpage
    Code:
    Pref Hostname IP Address TTL
    10 mail.kutscher.nl 87.209.2.17 30 min Blacklist Check SMTP Test
    
    and smtp test
    Code:
    smtp:87.209.2.17  Monitor This 
     smtp
    
    Unable to connect after 15 seconds.
    Test Result
    [IMG]https://lookup.mxtoolbox.com/public/images/statusicons/problem.png[/IMG] SMTP Connect Failed To Connect [IMG]https://mxtoolbox.com/public/images/StatusIcons/info.png[/IMG] More Info
    Session Transcript:
    Connecting to 87.209.2.17
    12/30/2016 4:09:16 AM Connection attempt #1 - Unable to connect after 15 seconds. [15.00 sec]
    
    Does the server have a public IP or is it behind NAT?
     
  10. Robin.k

    Robin.k Member

    Hi, the server is behind a modem/router, but i have DMZ it to the local server adres.
     
  11. sjau

    sjau Local Meanie Moderator

    Can you access the webserver through the internet?
     
  12. Robin.k

    Robin.k Member

    I can access the webserver though the internet, also i can open roundcube and send Emails from roundcube to public mail addresses.
    Only i can not get incoming Emails from public to roundcube mail.
    I have new installed Ubuntu 16.04 with ISPconfig but the exact the same problem.
    Sending mails from roundcube mail to other roundcube mail also do not work. Before i dit a reinstall Ubuntu/Ispconfig, this works.
     
  13. sjau

    sjau Local Meanie Moderator

    then it sounds like your ISP is blocking port 25.
     
  14. Robin.k

    Robin.k Member

    I checked it with online shieldup, and port 25 isn't block, port 25 shows me that it is open.

    I try to update ispconfig with ispconfig_update.sh
    And i try OS-update from Ispconfig
     
  15. sjau

    sjau Local Meanie Moderator

    Are you sure postfix is running?
     
  16. Robin.k

    Robin.k Member

    When i look in Ispconfig System/show services i can see that all services are online.
    How can i see that postfix is running
     
  17. sjau

    sjau Local Meanie Moderator

    Code:
    ps aux | grep postfix
    
     
  18. Robin.k

    Robin.k Member

    When i hit the command ps aux | grep postfix
    I get
    [email protected]:~$ ps aux | grep postfix

    root 5679 0.0 0.0 65408 4612 ? Ss 14:14 0:00 /usr/lib/postfix/sbin/master

    postfix 5683 0.0 0.0 67476 4636 ? S 14:14 0:00 pickup -l -t unix -u -c

    postfix 5684 0.0 0.0 78088 5000 ? S 14:14 0:00 qmgr -l -t unix -u

    postfix 5689 0.0 0.1 80704 6932 ? S 14:14 0:00 tlsmgr -l -t unix -u -c

    postfix 6816 0.0 0.1 78140 6352 ? S 14:27 0:00 cleanup -z -t unix -u -c

    postfix 6817 0.0 0.0 78036 5312 ? S 14:27 0:00 proxymap -t unix -u

    postfix 6818 0.0 0.1 77916 6200 ? S 14:27 0:00 trivial-rewrite -n rewrite -t unix -u -c

    postfix 6819 0.0 0.1 108188 9124 ? S 14:27 0:00 smtp -n amavis -t unix -u -c -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes

    postfix 6820 0.0 0.0 67508 4600 ? S 14:27 0:00 bounce -z -n defer -t unix -u -c

    postfix 6882 0.0 0.1 108188 8788 ? S 14:29 0:00 smtp -n amavis -t unix -u -c -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes

    postfix 6883 0.0 0.0 67508 4580 ? S 14:29 0:00 bounce -z -n defer -t unix -u -c

    postfix 6884 0.0 0.0 67472 4504 ? S 14:29 0:00 scache -l -t unix -u -c

    postfix 6885 0.0 0.0 77900 4980 ? S 14:29 0:00 error -n retry -t unix -u -c

    postfix 6886 0.0 0.0 77900 4984 ? S 14:29 0:00 error -n retry -t unix -u -c

    postfix 6887 0.0 0.0 77900 5084 ? S 14:29 0:00 error -n retry -t unix -u -c

    postfix 6888 0.0 0.0 67508 4664 ? S 14:29 0:00 bounce -z -n defer -t unix -u -c

    server 6890 0.0 0.0 21328 1088 pts/2 S+ 14:29 0:00 grep --color=auto postfix

    [email protected]:~$

    Is this a error or is this normal?
     
  19. sjau

    sjau Local Meanie Moderator

    And this is your IP?
    87.209.2.17
     
  20. Robin.k

    Robin.k Member

    yes this is my ip 87.209.2.17
     

Share This Page