[CentOS] Sa-Update Error - CentOS 6.3

2012-09-25 Thread Shiv. Nath

Dear CentOS community Greetings,

i was waiting for few days before sending this email message, i thought
some server may have problem. That might causing the issue, will resolve
its own. but since a week now i am getting this message. because i have
not come across this error before, is anyone have across what is it? why
my server is unable to download the file

ERROR:
http: GET http://daryl.dostech.ca/sa-update/asf/1389247.tar.gz request
failed: 404
Not Found: !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN htmlhead
title404 Not Found/title /headbody h1Not Found/h1 pThe
requested URL
/sa-update/asf/1389247.tar.gz was not found on this server./p hr
addressApache/2.2.6 (Fedora) Server at daryl.dostech.ca Port 80/address
/body/html


i tried to download the file using wget to see, here are the results. what
should i change to resolve this issue?

[root@jet mavi]# wget http://daryl.dostech.ca/sa-update/asf/1389247.tar.gz
http://daryl.dostech.ca/sa-update/asf/1389247.tar.gz
Resolving daryl.dostech.ca... 71.164.246.108
Connecting to daryl.dostech.ca|71.164.246.108|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-09-25 07:37:11 ERROR 404: Not Found.


Thanks / Shiv. Nath

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ClamAV Problem

2012-09-17 Thread Shiv. Nath
On 9/17/12 11:45 AM, jiten jha wrote:
 Dear Friends,

 I have postfix mail server   When I try to install amavisd-new, clamAV,
 SpamAssassin follow this link http://wiki.centos.org/HowTos/Amavisd;.
 I have done all the configuration after that when I restart clamav
 So It is giving my this error message

 Stopping Clam AntiVirus Daemon:[FAILED]
 Starting Clam AntiVirus Daemon: LibClamAV Error: cl_cvdhead: Can't read CVD
 header in /var/clamav/daily.cld
 LibClamAV Error: cli_loaddbdir(): error parsing header of
 /var/clamav/daily.cld
 ERROR: Malformed database
 [FAILED]



 When I send mail to any one after that i check log so it is showing me
 unable to understand why it is giving me this error . Please help me .


Hi,

This is not critical error, it simply means that database of clamav that 
contains definition information has corrupted. there are more than one 
way to fix it.
1.) yum remove clam clamav-db* followed by yum install clamav-db
2.) find  move the following files to temp location run freshclam.
daily.cvd main.cld, mirrors.dat

Thanks
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail Send and Receive Problem

2012-09-05 Thread Shiv. Nath
On 9/5/12 5:01 AM, jiten jha wrote:
 Dear Friends ,

 I have postfix mail server it is in running condition. But suddenly it is
 giving me error *Unknown user or password incorrect.
 *
 when I check log it is showing me
 *Sep  5 10:26:51 student dovecot: imap-login: Aborted login (auth failed,
 1 attempts): user=ji...@student.ac.in, method=PLAIN, rip=192.168.1.2,
 lip=192.168.1.2, secured*

 After wait for few second it is giving me another log .

 Sep  5 10:08:45 student postfix/anvil[9307]: statistics: max connection
 rate 1/60s for (smtp:10.200.12.1) at Sep  5 10:05:25
 Sep  5 10:08:45 student postfix/anvil[9307]: statistics: max connection
 count 1 for (smtp:10.200.12.1) at Sep  5 10:05:25
 Sep  5 10:08:45 student postfix/anvil[9307]: statistics: max cache size 1
 at Sep  5 10:05:25
 Sep  5 10:13:56 student postfix/smtpd[9447]: connect from
 mailrly1.student.ac.in[192.168.1.2]
 Sep  5 10:13:56 student postfix/smtpd[9447]: warning: restriction
 check_sender_mx_access: bad argument
 /etc/postfix/maps/verisign_mx_access: need maptype:mapname
 Sep  5 10:13:56 student postfix/smtpd[9447]: NOQUEUE: reject: RCPT from
 mailrly1.student.ac.in[192.168.1.2]: 451 4.3.5 Server configuration error;

 I am not understand why It is giving me error and how to solve it. Even I
 search on google also but not find any answer there. So Please help me to
 solve the problem. ASAP


Hi, Please understand, the logs belongs to dovecot IMAP server, that 
means you cannot login using (web interface / IMAP client) 
squirrelmail etc. but i tried to telnet to your server, to see the 
behavior but could not. it seems that your postfix server is also down. 
following could be the cause. Is it virtual user environment? CentOS 5 
or 6.0? please explain, what are you doing, are you never able to login? 
Cannot help with this info.

Sep  5 10:13:56 student postfix/smtpd[9447]: warning: restriction
*check_sender_mx_access: bad argument
/etc/postfix/maps/verisign_mx_access: need maptype:mapname*
Sep  5 10:13:56 student postfix/smtpd[9447]: NOQUEUE: reject: RCPT from
mailrly1.student.ac.in[192.168.1.2]:*451 4.3.5 Server configuration error;*




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Cannot See Login Screen Anymore !!

2012-06-22 Thread Shiv. Nath
Hi CentOS community Friends,

It is CentOS 6.2 x86_64 machine, i have upgraded few packages using yum 
-y update, after the reboot machine does not show login screen, i have 
allowed enough time to show the screen that are about 2 hours. booting 
process does complete, it just hangs when it is about to show the 
screen. i tried to check by doing ssh for warring/error logs. nothing 
serious was there. but when i did the ssh to the server then i saw the 
following error. Prior to the upgrade machine was just okay.. )

MacBook-Pro:~ prabhpal$ ssh -l mike 41.211.25.233
mailer@41.211.25.233's password:
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied

Thanks / Nath

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sendmail SMTP Brute-Force Attack

2012-06-15 Thread Shiv. Nath
On 6/14/12 11:33 PM, Gustavo Lacoste wrote:
 Dear CentOS Community

 Is totally clear there's no support sendmail platform today, but I need  to
 stop SMTP brute-force attack on sendmail. My server is attacked today, my
 maillog look like :

 4...@myserver.com, proto=ESMTP, daemon=MTA, relay=myserver.com [127.0.0.1]
 Jun 14 19:07:01 at6412 sendmail[24627]: q5EN71jC024627: from=, size=3958,
 class=0, nrcpts=1, msgid=201206142307.q5en710u024...@myserver.com,
 proto=ESMTP, daemon=MTA, relay=myserver.com [127.0.0.1]
 Jun 14 19:07:23 at6412 sendmail[24868]: q5EN7M6D024868: from=
 qmar...@qmarket.cl, size=2193, class=0, nrcpts=2, msgid=
 20120614231448.1e99a13e...@smtp02qmarket.qmarket.cl, proto=ESMTP,
 daemon=MTA, relay=[200.1.174.121]
 Jun 14 19:07:24 at6412 sendmail[24961]: q5EN7OT4024961: from=
 nob...@2012.123icq.cl, size=4716, class=0, nrcpts=1, msgid=
 e1sfj8h-0005kv...@2012.123icq.cl, proto=ESMTP, daemon=MTA, relay=
 pc1.globalmac.cl [200.29.231.61] (may be forged)
 Jun 14 19:07:33 at6412 sendmail[25013]: q5EN7SqK025013: from=
 a.pfsv...@yahoo.com, size=760, class=0, nrcpts=1, msgid=
 1531549-634033...@owfzdl.net, proto=SMTP, daemon=MTA, relay=
 h095159149119.ys.dsl.sakhalin.ru [95.159.149.119]
 Jun 14 19:07:37 at6412 sendmail[25065]: q5EN7bCj025065: from=
 en.viaimp...@gmail.com, size=4531, class=0, nrcpts=0, proto=ESMTP,
 daemon=MTA, relay=186-105-73-29.baf.movistar.cl [186.105.73.29]


 I need help for STOP this spamers right now.

 Thanks in advance to anyone who can guide me


 With Kind Regards,

   Gustavo A. Lacoste Z.
   Curacautín - Chile
   Skype: knxroot
   Msn  Gtalk: knx.root [at] gmail.com
   Home page: http://www.lacosox.org

Hi,

there are few solutions available to do this.

1.) install  configure fail2ban

2.) Using IP Tables: i don't know if it is applicable to you

# Fix in Place to Kick a User For 1 Minutes After Three Errors in The 
SMTP Session
# And Limit The Number of Connections Someone Could Make With a Simple 
IP Tables Rule

-A INPUT -p tcp --dport 25 -m state --state NEW -m recent --update 
--seconds 60 --hitcount 3 -j DROP
-A INPUT -p tcp --dport 25 -m state --state NEW -m recent --set

i trust this helps, there is another solution but you do not use Postfix.

# How many simultaneous connections any client is allowed to make to 
this service.
smtpd_client_connection_count_limit = 3

# The maximal number of connection attempts any client is allowed to 
make to this service per time unit.
smtpd_client_connection_rate_limit = 10

# The maximal number of message delivery requests that any client is 
allowed to make to this service per time unit, regardless of whether or
# not Postfix actually accepts those messages.
smtpd_client_message_rate_limit = 20

# The maximal number of recipient addresses that any client is allowed 
to send to this service per time unit, regardless of whether or not
# Postfix actually accepts those recipients.
smtpd_client_recipient_rate_limit = 500

# Clients that are excluded from connection count, connection rate, or 
SMTP request rate restrictions.
smtpd_client_event_limit_exceptions = $mynetworks

Thanks





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sendmail SMTP Brute-Force Attack

2012-06-15 Thread Shiv. Nath
On 6/15/12 2:03 AM, Les Mikesell wrote:
 On Thu, Jun 14, 2012 at 7:58 PM, Gustavo Lacostegust...@lacosox.org  wrote:
 The problem with my server is: I use it to offer webhosting services. Some
 customers using Outlook are blocked because they use black listed ips (ips
 simply are dynamic).

 Give them logins/passwords and only rely if the connection is authenticated.


Hi,
The solution Les Mikesell offered is also good option, use sasldb 
function to authenticate before relay.
http://postfix.state-of-mind.de/patrick.koetter/smtpauth/sasldb_configuration.html

Thanks / Regards
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 4x Download

2012-06-14 Thread Shiv. Nath
Dear Community Friends,

i badly require CentOS 4x, because one of our application only work with 
that version, and current server has failed. The image which is 
available in CentOS following sites. CD is not boot able, cannot install.

http://vault.centos.org/4.9/
http://vault.centos.org/

can anyone help to guide me how can o get CD or DVD image CentOS 4x.

Thanks / Regards
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 4x Download

2012-06-14 Thread Shiv. Nath



 On 06/14/2012 12:05 PM, Shiv. Nath wrote:
 Dear Community Friends,

 i badly require CentOS 4x, because one of our application only work with
 that version, and current server has failed. The image which is
 available in CentOS following sites. CD is not boot able, cannot
 install.

 http://vault.centos.org/4.9/
 http://vault.centos.org/

 can anyone help to guide me how can o get CD or DVD image CentOS 4x.


 The CDs should be just fine as far as booting them goes.

 You need to burn them as an image with your burning software and boot
 any if the CD-1 or DVD-1 images.

 If your machine does not boot from CD, you can create a pen drive boot
 using bootdisk.img from here:

 http://vault.centos.org/4.9/os/x86_64/images/

 (or i386 instead of x86_64)

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Thanks Johnny.

I will give a try using pen drive.




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error dovecot restart

2012-06-11 Thread Shiv. Nath
On 6/11/12 10:05 AM, Muhammad A. Fatahna wrote:
 Dear all,

 i have a problem when install dovecot on CentOS 5, below my configuration

 [root@mail home]# vim /etc/dovecot-sql.conf
 driver = mysql
 connect = host = localhost dbname=postfix user=mail password=password
 default_pass_scheme = PLAIN
 password_query = SELECT password FROM mailbox WHERE username = '%u'

 [root@mail home]# vim /etc/dovecot.conf
 log_path = /var/log/dovecot.log
 auth_username_format = %Lu

 passdb sql {
 args = /etc/dovecot-sql.conf
 }

 userdb static {
 args = uid=501 gid=501 home=/home/vmail/%d/%n
 }

 [root@mail home]# service dovecot restart
 Stopping Dovecot Imap: [FAILED]
 Starting Dovecot Imap: Error: Can't write to log directory /var/log:
 Permission denied
 Fatal: Invalid configuration in /etc/dovecot.conf
 [FAILED]

 i have try searching but i don't see step fix it,

Hi, it seems that you want to read user  pass info from the MySQL DBMS.
Problem 1 seems to be permission issue, since it cannot write.
Problem 2 is misconfiguration related mysql with dovecot. SEE RED TEXT
because it is working, i have the following in /etc/dovecot.conf and 
/etc/dovecot-sql.conf, that concern to authentication. Either you have 
not provided the full information or cross check your configuration. 
configuration is missing that i feel.


* /etc/dovecot.conf*
 passdb sql {
  args = etc/dovecot-sql.conf
}

 userdb sql {
  args = /etc/dovecot-sql.conf
 }

*## Authentication processes*

auth_username_chars = 
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
auth default {
mechanisms = plain login

passdb sql {
 args = /usr/local/etc/dovecot-sql.conf
   }

userdb sql {
 args = /usr/local/etc/dovecot-sql.conf
}
*

 /etc/dovecot-sql.conf*

driver = mysql
connect = host=localhost dbname=postfix user=postfix password=your_pass_word
default_pass_scheme = MD5
password_query = SELECT password FROM mailbox WHERE username = '%u'
*user_query *= SELECT maildir, 125 AS uid, 125 AS gid, 
CONCAT('*:messages=1:bytes=', quota) AS quota_rule FROM mailbox 
WHERE username = '%u' AND active = '1'




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Postfix not reading main.cf

2012-06-08 Thread Shiv. Nath
On 6/7/12 7:01 PM, Adrian P. van Bloois wrote:
 Neil wrote:


 Hello:

 I just did a fresh install of CentOS 6.2 on a virtual server.

 I am trying to configure Postfix but it does not seem to be
 reading configuration directives from /etc/postfix/main.cf

 Here is what I did to test it:
 vi /etc/postfix/main.cf and set this directive:
  myorigin = hello.world.com
 postfix reload
 postconf -d | grep myorigin

 I get this output:
 append_at_myorigin = yes
 myorigin = $myhostname

 Any ideas why it is not picking up the configuration?

 Thanks,
Neil

 What you should do is run postconf without paramaters to a file and
 inspect that. In my case e.g. myorigin is set to $mydomain, but mydomain
 is set to the correct value.

 Good lcuk

   Adrian


 Command will show default values set in postfix:
 postconf -d | grep myorigin.

  Command will show custom values set by you:

 postconf -n | grep myorigin

 Thanks / Regards


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos