SMTP not working

Discussion in 'Installation/Configuration' started by jbrumwell, Jan 31, 2012.

  1. jbrumwell

    jbrumwell New Member

    Hi,

    I am having problems getting smtp working on my centos 6.2 server. I used the following tutorial:

    http://www.howtoforge.com/perfect-server-centos-6.2-x86_64-with-nginx-ispconfig-3

    When I try;

    telnet 127.0.0.1 25

    I receive;

    Code:
    Trying 127.0.0.1...
    Connected to 127.0.0.1.
    Escape character is '^]'.
    
    Neither HELO localhost OR EHLO localhost return any response.

    The output of netstat -tap

    Code:
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 *:webcache                  *:*                         LISTEN      16572/nginx
    tcp        0      0 *:http                      *:*                         LISTEN      16572/nginx
    tcp        0      0 server1:http                chello213047053122.30:57989 SYN_RECV    -
    tcp        0      0 server1:http                chello213047053122.30:58093 SYN_RECV    -
    tcp        0      0 server1:http                chello213047053122.30:58000 SYN_RECV    -
    tcp        0      0 server1:http                chello213047053122.30:58067 SYN_RECV    -
    tcp        0      0 *:tproxy                    *:*                         LISTEN      16572/nginx
    tcp        0      0 localhost:sdr               *:*                         LISTEN      19846/php-fpm
    tcp        0      0 server1:domain              *:*                         LISTEN      24023/named
    tcp        0      0 localhost:domain            *:*                         LISTEN      24023/named
    tcp        0      0 *:ftp                       *:*                         LISTEN      23967/pure-ftpd (SE
    tcp        0      0 *:ssh                       *:*                         LISTEN      1165/sshd
    tcp        0      0 *:smtp                      *:*                         LISTEN      23526/master
    tcp        0      0 localhost:10024             *:*                         LISTEN      15747/amavisd (ch9-
    tcp        0      0 localhost:cslistener        *:*                         LISTEN      19846/php-fpm
    tcp        0      0 *:amqp                      *:*                         LISTEN      1255/qpidd
    tcp        0      0 server1:39817               *:*                         LISTEN      24649/pure-ftpd (ID
    tcp        0      0 localhost:10025             *:*                         LISTEN      23526/master
    tcp        0      0 *:mysql                     *:*                         LISTEN      23537/mysqld
    tcp        0      0 localhost:46821             localhost:mysql             ESTABLISHED 15747/amavisd (ch9-
    tcp        0      0 server1:http                sr5-587.hostkey.ru:49754    TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48072             TIME_WAIT   -
    tcp        0      0 server1:http                chello213047053122.30:57799 ESTABLISHED 19844/nginx
    tcp        0      0 server1:http                77.dallas-03rh15r:iclpv-nls ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:48074             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48075             TIME_WAIT   -
    tcp        0      0 server1:http                adsl-75-53-211-30.dsl:51770 ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:48062             TIME_WAIT   -
    tcp        0      0 server1:http                smtp.hefont.co.uk:57126     TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48021             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47981             TIME_WAIT   -
    tcp        0      0 server1:http                87-198-20-53.ptr.magn:52535 TIME_WAIT   -
    tcp        0      0 server1:http                host-94-41-140-28.unk:56913 TIME_WAIT   -
    tcp        0      0 server1:http                79-101-237-25.dynamic:23408 FIN_WAIT2   -
    tcp        0      0 server1:http                CPE0013f7b6dd88-CM0013:wins ESTABLISHED 19844/nginx
    tcp        0      0 server1:http                p54B6F0AB.dip.t-diali:50294 FIN_WAIT2   -
    tcp        0      0 localhost:sdr               localhost:47996             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48015             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47966             TIME_WAIT   -
    tcp        0      0 localhost:mysql             localhost:51283             ESTABLISHED 23537/mysqld
    tcp        0      0 localhost:sdr               localhost:47995             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48013             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47955             TIME_WAIT   -
    tcp        0      0 localhost:smtp              localhost:51996             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47953             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47971             TIME_WAIT   -
    tcp        0      0 server1:http                62.8.207.91.:pcc-image-port TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48057             TIME_WAIT   -
    tcp        0      0 server1:http                87-198-20-53.ptr.magn:52536 TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48034             TIME_WAIT   -
    tcp        0      0 server1:http                87-198-20-53.ptr.magn:52533 TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47972             TIME_WAIT   -
    tcp        0      0 server1:http                CPE0013f7b6dd:fujitsu-dtcns ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:47986             TIME_WAIT   -
    tcp        0      0 server1:http                188.92.74.62:cindycollab    TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47976             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47989             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48016             TIME_WAIT   -
    tcp        0      0 server1:42100               steaua.biz:smtp             TIME_WAIT   -
    tcp        0      0 server1:http                87-198-20-53.ptr.magn:52540 TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48027             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48065             TIME_WAIT   -
    tcp        0      0 server1:http                p54B6F0AB.dip.t-diali:50300 FIN_WAIT2   -
    tcp        0      0 localhost:sdr               localhost:48008             TIME_WAIT   -
    tcp        0      0 server1:http                188-220-215-191.zone1:62593 TIME_WAIT   -
    tcp        0      0 server1:http                adsl-75-53-211-30.dsl:51768 ESTABLISHED 19844/nginx
    tcp        0      0 server1:http                smtp.hefont.co.uk:51392     TIME_WAIT   -
    tcp        0      0 server1:http                79-101-237-25.dynamic:23409 FIN_WAIT2   -
    tcp        0      0 server1:http                78-27-19-37.dsl.alice:49427 TIME_WAIT   -
    tcp        0      0 server1:http                c-98-197-139-167.hsd1:62115 TIME_WAIT   -
    tcp        0      0 server1:http                host-92-13-9-77.as4323:3368 TIME_WAIT   -
    tcp        0      0 server1:http                p54B6F0AB.dip.t-diali:50301 FIN_WAIT2   -
    tcp        0      0 server1:http                109.230.221.136:59874       TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48048             TIME_WAIT   -
    tcp        0      0 server1:http                62.8.207.91.unkno:gprs-data TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47991             TIME_WAIT   -
    tcp        0      0 server1:http                87-198-20-53.ptr.magn:52537 TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47957             TIME_WAIT   -
    tcp        0      0 server1:http                87-198-20-53.ptr.magn:52541 TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48063             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47988             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47974             TIME_WAIT   -
    tcp        0      0 server1:http                crawl-66-249-68-37.go:64579 ESTABLISHED 19844/nginx
    tcp        0      0 server1:http                190.202.124.18:57849        TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48076             TIME_WAIT   -
    tcp        0      0 server1:ftp                 host-216-254-189-131.:32475 ESTABLISHED 24649/pure-ftpd (ID
    tcp        0      0 localhost:sdr               localhost:48017             TIME_WAIT   -
    tcp        0      0 server1:http                188.92.74.62:fintrx         TIME_WAIT   -
    tcp        0      0 server1:http                188.92.74.62:flirtmitmir    TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47994             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47978             TIME_WAIT   -
    tcp        0      0 server1:http                5ad9849d.bb.sky.com:52319   ESTABLISHED 19844/nginx
    tcp        0      0 server1:http                sr5-587.hostkey.ru:49526    TIME_WAIT   -
    tcp        0      0 server1:http                sr5-587.hostkey.ru:49661    TIME_WAIT   -
    tcp        0      0 server1:http                host-216-254-189-131.s:pgps FIN_WAIT2   -
    tcp        0      0 server1:http                adsl-75-53-211-30.dsl:51767 ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:48041             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47983             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:nimcontroller     TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48058             TIME_WAIT   -
    tcp        0      0 server1:http                CPE0013f7b6d:stone-design-1 ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:48051             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47951             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48011             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48052             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47952             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48014             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48068             TIME_WAIT   -
    tcp        0      0 server1:http                188-220-215-191.zone1:62595 TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48005             TIME_WAIT   -
    tcp        0      0 server1:http                188-220-215-191.zone1:62589 ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:48079             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48070             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48078             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47982             TIME_WAIT   -
    tcp        0      0 server1:http                77.dallas-0:audio-activmail ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:47970             TIME_WAIT   -
    tcp        0      0 server1:http                77.dallas-03rh15r:iclpv-wsm ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:48019             TIME_WAIT   -
    tcp        0      0 server1:http                mnhm-4d00fe2d.pool.me:60567 ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:3gpp-cbsp         TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47958             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47968             TIME_WAIT   -
    tcp        0      0 server1:http                i210138.upc-i.chello.:49466 ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:48020             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48009             TIME_WAIT   -
    tcp        0      0 server1:http                adsl-75-53-211-30.dsl:51766 ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:47963             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48045             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:nimhub            TIME_WAIT   -
    tcp        0      0 server1:http                adsl-75-53-211-30.dsl:51771 ESTABLISHED 19844/nginx
    tcp        0      0 server1:http                79-101-237-25.dynamic:23407 FIN_WAIT2   -
    tcp        0      0 server1:http                66-90-185-131.dyn.gra:32859 TIME_WAIT   -
    tcp        0      0 server1:http                p54B6F0AB.dip.t-diali:50304 FIN_WAIT2   -
    tcp        0      0 localhost:sdr               localhost:47964             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48054             TIME_WAIT   -
    tcp        0      0 server1:http                host-216-254-189:swtp-port1 FIN_WAIT2   -
    tcp        0      0 localhost:sdr               localhost:48059             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47959             TIME_WAIT   -
    tcp        0      0 server1:http                109.230.221.136:60262       TIME_WAIT   -
    tcp        0      0 server1:http                62.8.207.91.un:mcns-tel-ret TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47999             TIME_WAIT   -
    tcp        0      0 server1:http                188.92.74.62:sunlps-http    TIME_WAIT   -
    tcp        0      0 server1:http                i210138.upc-i.chello.:49827 ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:48012             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48007             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47961             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48061             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48037             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47973             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47969             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48006             TIME_WAIT   -
    tcp        0      0 server1:http                77.dallas-03r:objective-dbc ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:48044             TIME_WAIT   -
    tcp        0      0 server1:http                213-202-133-164.bas50:14117 ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:48042             TIME_WAIT   -
    tcp        0      0 server1:http                host-216-254-18:callwaveiam FIN_WAIT2   -
    tcp        0      0 localhost:sdr               localhost:48067             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48081             TIME_WAIT   -
    tcp        0      0 server1:42096               steaua.biz:smtp             TIME_WAIT   -
    tcp        0      0 server1:http                62.8.207.91.unknown.:di-drm TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48004             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48066             TIME_WAIT   -
    tcp        0      0 server1:http                109.230.221.136:59604       TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47984             TIME_WAIT   -
    tcp        0      0 server1:http                p54B6F0AB.dip.t-diali:50302 FIN_WAIT2   -
    tcp        0      0 server1:http                sr5-587.hostkey.ru:49715    TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48031             TIME_WAIT   -
    tcp        0      0 server1:http                c-174-54-147-118.hsd1:46798 TIME_WAIT   -
    tcp        0      0 server1:http                host-216-254-189:swtp-port2 FIN_WAIT2   -
    tcp        0      0 server1:http                CPE0013f7b6dd88:fujitsu-dtc ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:47997             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48032             TIME_WAIT   -
    tcp        0      0 server1:42103               steaua.biz:smtp             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47980             TIME_WAIT   -
    tcp        0      0 server1:http                79-101-237-25.dynamic:23406 FIN_WAIT2   -
    tcp        0      0 localhost:sdr               localhost:nimgtw            TIME_WAIT   -
    tcp        0      0 server1:http                host-216-254-189-131.s:visd FIN_WAIT2   -
    tcp        0      0 server1:http                i210138.upc-i.chello.:50733 ESTABLISHED 19844/nginx
    tcp        0      0 server1:http                host-216-254-189-131.s:8938 FIN_WAIT2   -
    tcp        0      0 server1:http                bas2-kanata1:infiniswitchcl TIME_WAIT   -
    tcp        0      0 server1:http                CPE0013f7b6dd:sybase-sqlany ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:48028             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48018             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48069             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47975             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48047             TIME_WAIT   -
    tcp        0      0 server1:http                ool-4572ebcc.dyn.opto:49977 ESTABLISHED 19844/nginx
    tcp        0      0 server1:http                62.8.207.91.unknown.S:dsatp TIME_WAIT   -
    tcp        0      0 server1:http                i210138.upc-i.chello.:50734 ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:47985             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47960             TIME_WAIT   -
    tcp        0      0 server1:http                host-94-41-140-28.unk:57011 TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48071             TIME_WAIT   -
    tcp        0      0 server1:http                84.124.176.172.dyn.us:49276 ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:47967             TIME_WAIT   -
    tcp        0      0 server1:http                62.8.207.91.un:nimrod-agent TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48050             TIME_WAIT   -
    tcp        0      0 server1:http                188-220-215-191.zone1:62592 TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47998             TIME_WAIT   -
    tcp        0      0 server1:http                188.92.74.62:c-h-it-port    TIME_WAIT   -
    tcp        0    158 server1:http                CPE0013f7b6dd88-CM00:rfx-lm ESTABLISHED 19844/nginx
    tcp        0      0 server1:http                sr5-587.hostkey.ru:49435    TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47954             TIME_WAIT   -
    tcp        0      0 server1:http                188.92.74.62:dvapps         TIME_WAIT   -
    tcp        0      0 server1:http                i210138.upc-i.chello.:49825 ESTABLISHED 19844/nginx
    tcp        0      0 server1:42097               steaua.biz:smtp             TIME_WAIT   -
    tcp        0      0 server1:http                87-198-20-53.ptr.magn:52538 TIME_WAIT   -
    tcp        0   1931 server1:http                adsl-75-53-211-30.dsl:51769 ESTABLISHED 19844/nginx
    tcp        0      0 server1:http                109.230.221.136:60523       TIME_WAIT   -
    tcp        0      0 server1:http                smtp.hefont.co.uk:41646     TIME_WAIT   -
    tcp        0      0 server1:http                77.dallas-03rh15r:iclpv-nlc ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:48022             TIME_WAIT   -
    tcp        0      0 server1:ssh                 host-216-254-189-131.:13250 ESTABLISHED 32451/sshd
    tcp        0      0 localhost:sdr               localhost:48024             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48060             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48010             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48039             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48023             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48025             TIME_WAIT   -
    tcp        0      0 server1:ssh                 host-216-254-189-131.s:5514 ESTABLISHED 32462/sshd
    tcp        0      0 server1:http                d-86-123-42-161.craio:57029 ESTABLISHED 19844/nginx
    tcp        0      0 server1:http                188-220-215-191.zone1:62594 TIME_WAIT   -
    tcp        0      0 server1:http                79-101-237-25.dynamic:23410 FIN_WAIT2   -
    tcp        0      0 localhost:sdr               localhost:48064             TIME_WAIT   -
    tcp        0      0 server1:http                host-94-41-140-28.unk:56867 TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48026             TIME_WAIT   -
    tcp        0      0 server1:http                c-174-54-147-118.hsd1:45355 TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47965             TIME_WAIT   -
    tcp        0      0 server1:http                77.dallas-03:dvl-activemail ESTABLISHED 19844/nginx
    tcp        0      0 server1:http                sr5-587.hostkey.ru:49564    TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47990             TIME_WAIT   -
    tcp        0      0 localhost:mysql             localhost:46821             ESTABLISHED 23537/mysqld
    tcp        0      0 localhost:sdr               localhost:48073             TIME_WAIT   -
    tcp        0      0 server1:http                199.111.171.60:55298        ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:47992             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48040             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:nimspooler        TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48077             TIME_WAIT   -
    tcp        0      0 server1:http                host-92-13-9-77:mcs-mailsvr ESTABLISHED 19844/nginx
    tcp        0      0 server1:http                188.92.74.62:acp-policy     TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:47987             TIME_WAIT   -
    tcp        0      0 server1:http                sr5-587.hostkey.ru:49684    TIME_WAIT   -
    tcp        0      0 server1:http                host-92-13-9:mcs-calypsoicf ESTABLISHED 19844/nginx
    tcp        0      0 localhost:sdr               localhost:48082             TIME_WAIT   -
    tcp        0      0 server1:http                host-92-4-220-224.as4:55017 TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48086             TIME_WAIT   -
    tcp        0      0 localhost:sdr               localhost:48046             TIME_WAIT   -
    tcp        0      0 server1:http                79-101-237-25.dynamic:23397 FIN_WAIT2   -
    tcp        0      0 server1:http                p54B6F0AB.dip.t-diali:50303 FIN_WAIT2   -
    tcp        0      0 server1:http                87-198-20-53.ptr.magn:52539 TIME_WAIT   -
    tcp        0      0 server1:http                62.8.207.91.unknown.S:brain TIME_WAIT   -
    tcp        0      0 server1:http                i210138.upc-i.chello.:50736 ESTABLISHED 19844/nginx
    tcp        0      0 *:pop3                      *:*                         LISTEN      23903/couriertcpd
    tcp        0      0 *:imap                      *:*                         LISTEN      23890/couriertcpd
    tcp        0      0 *:domain                    *:*                         LISTEN      24023/named
    tcp        0      0 *:ftp                       *:*                         LISTEN      23967/pure-ftpd (SE
    tcp        0      0 *:ssh                       *:*                         LISTEN      1165/sshd
    tcp        0      0 *:smtp                      *:*                         LISTEN      23526/master
    tcp        0      0 *:imaps                     *:*                         LISTEN      23897/couriertcpd
    tcp        0      0 *:pop3s                     *:*                         LISTEN      23909/couriertcpd
    
    There is no output for postfix check

    portion of the maillog

    Code:
    n 29 00:48:18 CHI-05-05 postfix/smtpd[3605]: fatal: no SASL authentication mechanisms
    Jan 29 00:48:19 CHI-05-05 postfix/master[23651]: warning: process /usr/libexec/postfix/smtpd pid 3605 exit status 1
    Jan 29 00:48:19 CHI-05-05 postfix/master[23651]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 29 00:48:19 CHI-05-05 amavis[23701]: (23701-18) (!)FWD via SMTP: <[email protected]> -> <[email protected]>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting:  at (eval 86) line 596.): id=23701-18
    Jan 29 00:48:19 CHI-05-05 amavis[23701]: (23701-18) Blocked MTA-BLOCKED, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: vpro7G3gZQuv, Hits: 0, size: 520, 1276 ms
    Jan 29 00:48:19 CHI-05-05 postfix/smtp[3601]: DFED180BF4: to=<[email protected]>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.5, delays=0.19/0.01/0/1.3, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting:  at (eval 86) line 596.): id=23701-18 (in reply to end of DATA command))
    Jan 29 02:55:02 CHI-05-05 pop3d: Connection, ip=[::1]
    Jan 29 02:55:02 CHI-05-05 pop3d: Disconnected, ip=[::1]
    Jan 29 02:55:02 CHI-05-05 imapd: Connection, ip=[::1]
    Jan 29 02:55:02 CHI-05-05 imapd: Disconnected, ip=[::1], time=0
    Jan 29 02:55:02 CHI-05-05 postfix/smtpd[31262]: connect from localhost[::1]
    Jan 29 02:55:02 CHI-05-05 postfix/smtpd[31262]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
    Jan 29 02:55:02 CHI-05-05 postfix/smtpd[31262]: fatal: no SASL authentication mechanisms
    Jan 29 02:55:03 CHI-05-05 postfix/master[23651]: warning: process /usr/libexec/postfix/smtpd pid 31262 exit status 1
    Jan 29 02:55:03 CHI-05-05 postfix/master[23651]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 29 03:00:02 CHI-05-05 pop3d: Connection, ip=[::1]
    Jan 29 03:00:02 CHI-05-05 pop3d: Disconnected, ip=[::1]
    Jan 29 03:00:02 CHI-05-05 imapd: Connection, ip=[::1]
    Jan 29 03:00:02 CHI-05-05 imapd: Disconnected, ip=[::1], time=0
    Jan 29 03:00:02 CHI-05-05 postfix/smtpd[365]: connect from localhost[::1]
    Jan 29 03:00:02 CHI-05-05 postfix/smtpd[365]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
    Jan 29 03:00:02 CHI-05-05 postfix/smtpd[365]: fatal: no SASL authentication mechanisms
    Jan 29 03:00:03 CHI-05-05 postfix/master[23651]: warning: process /usr/libexec/postfix/smtpd pid 365 exit status 1
    Jan 29 03:00:03 CHI-05-05 postfix/master[23651]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 29 03:00:41 CHI-05-05 clamd[23703]: SelfCheck: Database status OK.
    Jan 29 03:05:01 CHI-05-05 pop3d: Connection, ip=[::1]
    Jan 29 03:05:01 CHI-05-05 pop3d: Disconnected, ip=[::1]
    Jan 29 03:05:01 CHI-05-05 imapd: Connection, ip=[::1]
    Jan 29 03:05:01 CHI-05-05 imapd: Disconnected, ip=[::1], time=0
    Jan 29 03:05:01 CHI-05-05 postfix/smtpd[2111]: connect from localhost[::1]
    Jan 29 03:05:01 CHI-05-05 postfix/smtpd[2111]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
    Jan 29 03:05:01 CHI-05-05 postfix/smtpd[2111]: fatal: no SASL authentication mechanisms
    Jan 29 03:05:02 CHI-05-05 postfix/master[23651]: warning: process /usr/libexec/postfix/smtpd pid 2111 exit status 1
    Jan 29 03:05:02 CHI-05-05 postfix/master[23651]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 29 03:10:01 CHI-05-05 imapd: Connection, ip=[::1]
    Jan 29 03:10:01 CHI-05-05 imapd: Disconnected, ip=[::1], time=0
    Jan 29 03:10:01 CHI-05-05 pop3d: Connection, ip=[::1]
    Jan 29 03:10:01 CHI-05-05 pop3d: Disconnected, ip=[::1]
    Jan 29 03:10:01 CHI-05-05 postfix/smtpd[4086]: connect from localhost[::1]
    Jan 29 03:10:01 CHI-05-05 postfix/smtpd[4086]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
    Jan 29 03:10:01 CHI-05-05 postfix/smtpd[4086]: fatal: no SASL authentication mechanisms
    Jan 29 03:10:02 CHI-05-05 postfix/master[23651]: warning: process /usr/libexec/postfix/smtpd pid 4086 exit status 1
    Jan 29 03:10:02 CHI-05-05 postfix/master[23651]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 29 03:10:41 CHI-05-05 clamd[23703]: SelfCheck: Database status OK.
    
     
  2. jbrumwell

    jbrumwell New Member

    cat /etc/postfix/master.cf

    Code:
    #
    # Postfix master process configuration file.  For details on the format
    # of the file, see the master(5) manual page (command: "man 5 master").
    #
    # Do not forget to execute "postfix reload" after editing this file.
    #
    # ==========================================================================
    # service type  private unpriv  chroot  wakeup  maxproc command + args
    #               (yes)   (yes)   (yes)   (never) (100)
    # ==========================================================================
    smtp      inet  n       -       n       -       -       smtpd
    #submission inet n       -       n       -       -       smtpd
    #  -o smtpd_tls_security_level=encrypt
    #  -o smtpd_sasl_auth_enable=yes
    #  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    #  -o milter_macro_daemon_name=ORIGINATING
    #smtps     inet  n       -       n       -       -       smtpd
    #  -o smtpd_tls_wrappermode=yes
    #  -o smtpd_sasl_auth_enable=yes
    #  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    #  -o milter_macro_daemon_name=ORIGINATING
    #628      inet  n       -       n       -       -       qmqpd
    pickup    fifo  n       -       n       60      1       pickup
    cleanup   unix  n       -       n       -       0       cleanup
    qmgr      fifo  n       -       n       300     1       qmgr
    #qmgr     fifo  n       -       n       300     1       oqmgr
    tlsmgr    unix  -       -       n       1000?   1       tlsmgr
    rewrite   unix  -       -       n       -       -       trivial-rewrite
    bounce    unix  -       -       n       -       0       bounce
    defer     unix  -       -       n       -       0       bounce
    trace     unix  -       -       n       -       0       bounce
    verify    unix  -       -       n       -       1       verify
    flush     unix  n       -       n       1000?   0       flush
    proxymap  unix  -       -       n       -       -       proxymap
    proxywrite unix -       -       n       -       1       proxymap
    smtp      unix  -       -       n       -       -       smtp
    # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
    relay     unix  -       -       n       -       -       smtp
            -o smtp_fallback_relay=
    #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
    showq     unix  n       -       n       -       -       showq
    error     unix  -       -       n       -       -       error
    retry     unix  -       -       n       -       -       error
    discard   unix  -       -       n       -       -       discard
    local     unix  -       n       n       -       -       local
    virtual   unix  -       n       n       -       -       virtual
    lmtp      unix  -       -       n       -       -       lmtp
    anvil     unix  -       -       n       -       1       anvil
    scache    unix  -       -       n       -       1       scache
    #
    # ====================================================================
    # Interfaces to non-Postfix software. Be sure to examine the manual
    # pages of the non-Postfix software to find out what options it wants.
    #
    # Many of the following services use the Postfix pipe(8) delivery
    # agent.  See the pipe(8) man page for information about ${recipient}
    # and other message envelope options.
    # ====================================================================
    #
    # maildrop. See the Postfix MAILDROP_README file for details.
    # Also specify in main.cf: maildrop_destination_recipient_limit=1
    #
    maildrop  unix  -       n       n       -       -       pipe
      flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}
    #
    # ====================================================================
    #
    # The Cyrus deliver program has changed incompatibly, multiple times.
    #
    #old-cyrus unix  -       n       n       -       -       pipe
    #  flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
    #
    # ====================================================================
    #
    # Cyrus 2.1.5 (Amos Gouaux)
    # Also specify in main.cf: cyrus_destination_recipient_limit=1
    #
    #cyrus     unix  -       n       n       -       -       pipe
    #  user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
    #
    # ====================================================================
    #
    # See the Postfix UUCP_README file for configuration details.
    #
    #uucp      unix  -       n       n       -       -       pipe
    #  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
    #
    # ====================================================================
    #
    # Other external delivery methods.
    #
    #ifmail    unix  -       n       n       -       -       pipe
    #  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
    #
    #bsmtp     unix  -       n       n       -       -       pipe
    #  flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
    #
    #scalemail-backend unix -       n       n       -       2       pipe
    #  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
    #  ${nexthop} ${user} ${extension}
    #
    #mailman   unix  -       n       n       -       -       pipe
    #  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
    #  ${nexthop} ${user}
    
    amavis unix - - - - 2 smtp
            -o smtp_data_done_timeout=1200
            -o smtp_send_xforward_command=yes
    
    127.0.0.1:10025 inet n - - - - smtpd
            -o content_filter=
            -o local_recipient_maps=
            -o relay_recipient_maps=
            -o smtpd_restriction_classes=
            -o smtpd_client_restrictions=
            -o smtpd_helo_restrictions=
            -o smtpd_sender_restrictions=
            -o smtpd_recipient_restrictions=permit_mynetworks,reject
            -o mynetworks=127.0.0.0/8
            -o strict_rfc821_envelopes=yes
            -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
            -o smtpd_bind_address=127.0.0.1
    
     
  3. falko

    falko Super Moderator ISPConfig Developer

    Did you install ISPconfig?
    Can you post your main.cf?
     
  4. jbrumwell

    jbrumwell New Member

    Yes ispconfig is installed and working great, ftp works and everything else I checked work. I was able to pinpoint it down to this error;

    Code:
    /var/log/maillog:Jan 28 13:20:02 CHI-05-05 postfix/smtpd[24203]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
    
    I disabled sasl authentication and it started working perfectly from telnet, so I was able to find that I was missing a package required running this command;

    Code:
    yum install cyrus-sasl-plain
    
    re-enabled sasl authentication and it is now working as expected from telnet.

    Thanks for your time Falko!

    Best Regards,

    Jason
     
  5. DavetheMaster

    DavetheMaster New Member

    I've been having the same problem with my SMTP, thanks for your solution though, managed to get it sorted and everything is working as normal!
     
  6. bitstomper

    bitstomper New Member

    SMTP offline

    HI,

    I am having similar issues, though I suspect my server settings are incorrect.
    SMTP server is offline.
    Using Debian and ISPConfig.

    Feb 10 08:50:01 DutchUrban inqpopper[393]: (v4.0.9) servicing request from "localhost" at 127.0.0.1 [pop_init.c:1408]
    Feb 10 08:50:01 DutchUrban imapd[394] unexpected client disconnect while reading line user=??? host=UNKNOWN

    There is hardly any text in postfix/main.cf:

    smtp_banner = DutchUrban ESMTP $mail_name
    biff = no
    append_dot_mydomain = no
    readme_directory = no
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_use_tls = yes

    postfix/master.cf lists all parameters as empty except:
    mynetworks=127.0.0.1/8
    strict_rfc821_envelopes=yes
    smtpd_bind_address=127.0.0.1

    hosts:
    127.0.0.1 localhost
    127.0.1.1 DutchUrban.colo.transip.net DutchUrban

    postconf shows:
    myorigin = dutchurban.nl Should this not be the DutchUrban.colo.transip.net ??
    relay_domains = dutchurban.nl
    relayhost =


    ??

    Thanks,
    Taree
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    According to the main.cf file, ispconfig is not installed on the server or the main.cf must have been replaced after you installed ispconfig. Which tutorial did you use to prepare your server for the ispconfig installation?
     
  8. bitstomper

    bitstomper New Member

    I have installed ISPConfig according to the manual.

    ISPConfig is installed and I am using it.
    So main.cf must have been changed.

    What do I do next?
     
    Last edited: Feb 10, 2012
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you have any backups of the main.cf file? Are there any other files that start with 'main' in /etc/postfix/?
     
  10. bitstomper

    bitstomper New Member

    Sorry no back ups.
    No other main files in postfix map.

    Since first install this file looked rather empty.
    Is it not possible my data is also stored in database?
     
  11. bitstomper

    bitstomper New Member

    Hmm I noticed there is a swap file with this name.
    How do I remove that?

    postfix map is filled with mysql-virtual_blalba.cf files
     
    Last edited: Feb 10, 2012
  12. bitstomper

    bitstomper New Member

    removed the swap file,

    there is still a (hidden) file with same name: .main.cf.swo

    What is this for?

    I can still not telnet to my server on port 25 either. Even though iptables says everything is open.
    I added a rule to my firewall at ICPConfig to make sure it is open. All other ports telnet fine.
     
    Last edited: Feb 10, 2012
  13. falko

    falko Super Moderator ISPConfig Developer

    Did you edit main.cf with vi and did not properly close vi? vi creates files such as .main.cf.swp while the file is open. If you are sure noone else is currently editing main.cf, you can remove .main.cf.swp.

    Any errors in your mail log?
     
  14. bitstomper

    bitstomper New Member

    mail log just says:
    connection
    disconnected
    connection
    disconnected
    Warning: mail system is down
    Warning: unable to look up public/pickup No such file or directory

    master.cf says:

    127.0.0.1:10025 inet n - - - - smtpd
    eth0 inet n - - - - smtpd
    mynetworks=127.0.0.0/8
    smtp_bind_address: 127.0.0.1
     
    Last edited: Feb 11, 2012
  15. bitstomper

    bitstomper New Member

    Just enabled network configuration under dns tab in ISPCOnfig and now I can not connect to server at all!! (server is taking too log to respond).
     
  16. falko

    falko Super Moderator ISPConfig Developer

    This is an experimental function that you shouldn't use on production systems. It's supported only on Debian/Ubuntu.
     
  17. bitstomper

    bitstomper New Member

    Would have been good if it would say that under the tab. I use Debian 6 btw.
     
  18. bitstomper

    bitstomper New Member

    Slightly off topic here but I decided to do a new install of Debian.
    I am newbie to networking and do not understand what needs to be changed in the networking file.

    If I go to my isp control panel, details of my VPS are:
    ip address: 141.138.122.122
    gateway: 141.138.122.1
    subnet: 255.255.255.0

    However, I can only find mentioning of local LAN addresses to be filled out for a static address e.g. 192.168.0.100.
    Do I need to fill out made up LAN ip addresses here (like the above 192 address) or do I need to fill out my the addresses I was given by my ISP?
    And what about network address?

    thanks
     
  19. falko

    falko Super Moderator ISPConfig Developer

    You don't need to change anything in the networking configuration.
     
  20. bitstomper

    bitstomper New Member

    I did have to change networking config.
    All tutorials are written from the idea that one is working on a server in a private network. However I am working on a remote server. Nowhere (I have looked at many forums and tutorials) does it talk about this. So got me as a newbie confused. I now understand a lot more about networking, but it took ages. There are still a lot of tutorials out there that do not take into account that a newbie like me does not understand all.

    The tutorial I used to configure and set up Debian for ISPConfig was really good, apart from a few things. Like at the end of the tutorial it says:
    I am on a VPS so does this apply to me? What the heck is OpenVZ and how do I know I have this?

    Hope you get my point. Thanks for your help anyway. Everything is working now as far as I can see. I merely made my points above in the hope people will write better newbie-proof tutorials.
     

Share This Page