Current time: 11-16-2024, 10:07 AM Hello There, Guest! (LoginRegister)


Post Reply 
SMTP DOWN [ resolved ]
Author Message
pstanbra Offline
Junior Member
*

Posts: 61
Joined: May 2010
Reputation: 0
Post: #1
SMTP DOWN [ resolved ]
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...
(This post was last modified: 05-26-2010 07:43 PM by pstanbra.)
05-26-2010 09:15 AM
Visit this user's website Find all posts by this user Quote this message in a reply
dcreation Offline
Junior Member
*

Posts: 85
Joined: Apr 2009
Reputation: 0
Post: #2
RE: SMTP DOWN
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.
05-26-2010 02:47 PM
Find all posts by this user Quote this message in a reply
pstanbra Offline
Junior Member
*

Posts: 61
Joined: May 2010
Reputation: 0
Post: #3
RE: SMTP DOWN
(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.
05-26-2010 05:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: SMTP DOWN
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
05-26-2010 05:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
pstanbra Offline
Junior Member
*

Posts: 61
Joined: May 2010
Reputation: 0
Post: #5
RE: SMTP DOWN
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#
(This post was last modified: 05-26-2010 06:36 PM by joximu.)
05-26-2010 06:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: SMTP DOWN
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
05-26-2010 06:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
pstanbra Offline
Junior Member
*

Posts: 61
Joined: May 2010
Reputation: 0
Post: #7
RE: SMTP DOWN
nope - no spaces...
05-26-2010 06:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: SMTP DOWN
ok, add some spaces - as you can see in the other lines with "-o ..."

/J
05-26-2010 06:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
pstanbra Offline
Junior Member
*

Posts: 61
Joined: May 2010
Reputation: 0
Post: #9
RE: SMTP DOWN
(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.
(This post was last modified: 05-26-2010 07:21 PM by pstanbra.)
05-26-2010 06:57 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: SMTP DOWN
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
(This post was last modified: 05-26-2010 07:16 PM by joximu.)
05-26-2010 07:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)