ispCP - Board - Support
SMTP DOWN [ resolved ] - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: SMTP DOWN [ resolved ] (/thread-10788.html)

Pages: 1 2


SMTP DOWN [ resolved ] - pstanbra - 05-26-2010 09:15 AM

I followed the instructions to set up clamVA, AMAVIS and spamassassin.
However after carefully following the instructions, it resulted in SMTP and SMTP_SSL DOWN

Also - There is conflicting info regarding spamassassin.
Even though its installed - should spamassassin be up not down. Another post says set spamassin from 0 to 1 . Yes this brings it up and shows it as running.
However another post says that amavis spawns spamassassin itself so changing from 0 to 1 is not needed and you can delete the spamassassin port info from the ports section of ispCP..


So yea - i have no smtp.
This really is totally different to a windows install routine. God knows why people like linux. Its taken me 3 days so far and im still trying to get it all working. Im scared that if it goes wrong in the future -im skrewed...


RE: SMTP DOWN - dcreation - 05-26-2010 02:47 PM

You are comparing software with an operating system. Sorry, this is just stupid. You will -need- a minimum of knowledge of your Operating System to administrating a server. Thats true for Linux AND Windows. So - go outside, buy a book of Server-Administrating and come back after you completed it.

Did you look into any log-files? Maybe you find your answer yourself. We need them anyway if you want us to help you.


RE: SMTP DOWN - pstanbra - 05-26-2010 05:30 PM

(05-26-2010 02:47 PM)dcreation Wrote:  You are comparing software with an operating system. Sorry, this is just stupid. You will -need- a minimum of knowledge of your Operating System to administrating a server. Thats true for Linux AND Windows. So - go outside, buy a book of Server-Administrating and come back after you completed it.

Did you look into any log-files? Maybe you find your answer yourself. We need them anyway if you want us to help you.

Im actually comparing software installation methods actually.
When people ask for help, they don't need comments like that.


RE: SMTP DOWN - joximu - 05-26-2010 05:47 PM

Hi

if you don't know anything about UNIX but you want to run a web/mail etc server - then use your windows and be happy (or not).
If you want to run a UNIX based Server then you need to get some knowledge - and yes - there are some big differences in how software is installed and configured.

So - we'll help you as far as we can but you must know that the amavis/clamav/spamassassin/maia is not part of ispcp and always needs good knowledge of the system and of the software parts (+postfix).

/J


RE: SMTP DOWN - pstanbra - 05-26-2010 06:00 PM

May 25 23:57:10 websrv1 postfix/master[7459]: fatal: /etc/postfix/master.cf: line 13: bad transport type: smtpd_proxy_filter=localhost:10024

./etc/postfix/master.cf
Code:
smtp      inet  n       -       -       -       -       smtpd
#added as per http://isp-control.net/forum/thread-5789.html
#by pstanbra for installing amavis and spam assassin
-o smtpd_proxy_filter=localhost:10024
    -o content_filter=
localhost:10025 inet n  -       n       -       -       smtpd
    -o content_filter=
    -o smtpd_proxy_filter=
    -o smtpd_authorized_xforward_hosts=127.0.0.0/8
    -o smtpd_client_restrictions=
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o smtpd_data_restrictions=
    -o mynetworks=127.0.0.0/8
    -o reveive_override_options=no_unknown_recipient_checks
Code:
netstat -tlnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      735/mysqld
tcp        0      0 127.0.0.1:12525         0.0.0.0:*               LISTEN      981/policyd-weight
tcp        0      0 127.0.0.1:783           0.0.0.0:*               LISTEN      1771/spamd.pid
tcp        0      0 0.0.0.0:10000           0.0.0.0:*               LISTEN      1703/perl
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1560/apache2
tcp        0      0 127.0.0.1:9876          0.0.0.0:*               LISTEN      1640/ispcp_daemon
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      1538/proftpd: (acce
tcp        0      0 myip:53         0.0.0.0:*               LISTEN      862/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      862/named
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      748/sshd
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      862/named
tcp        0      0 127.0.0.1:10023         0.0.0.0:*               LISTEN      999/postgrey.pid --
tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      961/amavisd (master
tcp6       0      0 :::110                  :::*                    LISTEN      1429/couriertcpd
tcp6       0      0 :::143                  :::*                    LISTEN      1415/couriertcpd
tcp6       0      0 :::53                   :::*                    LISTEN      862/named
tcp6       0      0 :::22                   :::*                    LISTEN      748/sshd
tcp6       0      0 ::1:953                 :::*                    LISTEN      862/named
root@websrv1:/var/log#



RE: SMTP DOWN - joximu - 05-26-2010 06:38 PM

do you have some spaces before "-o smtpd_proxy_filter=localhost:10024"

if the line starts with a non-space character, then -o is interpreted as a transport definition...

/J


RE: SMTP DOWN - pstanbra - 05-26-2010 06:46 PM

nope - no spaces...


RE: SMTP DOWN - joximu - 05-26-2010 06:49 PM

ok, add some spaces - as you can see in the other lines with "-o ..."

/J


RE: SMTP DOWN - pstanbra - 05-26-2010 06:57 PM

(05-26-2010 06:49 PM)joximu Wrote:  ok, add some spaces - as you can see in the other lines with "-o ..."

/J

still the same - below is my cf.


RE: SMTP DOWN - joximu - 05-26-2010 07:14 PM

better use [code] instead of [quote]

ok - and where are the spaces (not empty lines) before "-o smtpd_proxy_filter...."

Please read http://www.postfix.org/master.5.html - Part "SYNTAX"....

/J