I am using centos server, i delete and touch maillog file in /var/log/maillog but every other days it gets about 3 - 4GB please help how can i stop this
log are like this
Code:
Jun 27 04:23:09 localhost postfix/smtpd[25765]: warning: not enough free space in mail queue: 0 bytes < 1.5*message size limit
Jun 27 04:23:10 localhost postfix/smtpd[25765]: lost connection after MAIL from unknown[200.74.196.82]
Jun 27 04:23:10 localhost postfix/cleanup[25987]: 3F8E110011: message-id=<20100627032310.3F8E110011@localhost.bgssuk.com>
Jun 27 04:23:10 localhost postfix/cleanup[25987]: warning: 3F8E110011: write queue file: No space left on device
All clients on the LAN, have to have their /etc/hosts file edited for my server to resolve their hostnames/LAN ip addresses. Both Windows/Mac/Linux. That shouldn't be necessary as all other stanzas are correct. If the hosts file is not ammended my maillog shows connect from unknown rip="my_external_address" when in fact it should say connect from "host" rip=192.168.0.20 Not to sure if it is an iptables issue as I have nothing for this configuration. /etc/hosts file on the server has all required hostnames and ip addresses
I am running CentOS 5.4 and Postfix. So when I start Postfix server than immediately maillog is starting to grow. And the first lines that I see in it are:
[Code]...
Server is already in several blacklists and I desperately need to do something.
I have a server A that needs to connect to another server (B) to transfer data everyday.[A] ==SFTP==> [B]
I am using SFTP for the data transfert between A and B. I configured B to allow authentication only with a key, not with password. However, anybody who acccess the filesystem of A, could steal the password.
So I thought I could password protect the private key from A. But in such a case, I need to store the password somewhere on A, so the server A can access the private key to connect to B. Finally, it is endless: i always have to store somewhere a secret on A. Is there another solution that allow to have an authentication between A and B without storing plain text secret on the server A ?
I'm using comcast, and I setup my server, everything works fine.But later I found out that the server inet address is changing everyday, and it makes my server almost not accessible.Is there anyway to fix that problem??
I have been finding a lot of "You are Not allowed to connect" messages in my maillog file.
and the email addresses are not in my forum database. I've check my server for rootkits and there are none installed and I've also used mxtoolbox to test my server as an open relay and it says it's not an open relay. however I am seeing bounces that show 'relay' and I wonder exactly what I'm looking at and and asking for some help in identifying the nature of these emails. here's a few examples and they seem to come in 'spurts" when I'm tailing the maillog file. there's never anything waiting in the queue to be delivered.
Jun 9 15:12:29 mysite postfix/smtp[13642]: 51EA914B90DE: to=<jake@jvanderlaan.110mb.com>, relay=none, delay=172540, delays=172538/0.98/0.32/0, dsn=4.4.1, status=deferred (connect to jvanderlaan.110mb.com[64.191.15.246]: Connection refused) Jun 9 15:12:29 mysite postfix/smtp[13610]: 9D84914B8186: to=<jake@jvanderlaan.110mb.com>, relay=none, delay=56434, delays=56433/1/0.28/0, dsn=4.4.1, status=deferred (connect to jvanderlaan.110mb.com[64.191.15.246]: Connection refused) Jun 9 15:12:29 mysite postfix/smtp[13613]: 70ECC14B812A: host
I have bunch of environment variables that i have to set always for my work.Someone mentioned i can write a script to dp this and i googled it but haven't been successful so far and have to manually do them every time. I have a tcsh shell.I read that i need to change the .login or .tcshrc files but havent been successful in finding these.
I am new to Linux and have Fedora 14 installed in my home pc and notebook, I installed open office 3.3.0 in both. The open office stops working next day and shows as not installed in the add/remove software in my home pc. I reinstall then it works in that session and nextday disappears, This has now happened five times. i installed linux only one week back and everyday i have been installing open office. I have been doing all the updates till now.
I have 2 partitions on my hard disk1. sda1 is ext3 partitoins with MINT linux2. sda2 ntfs partitions with my files and movies I want to copy, make backup of my sda1 partitions and store it to file (image) in some folder in sda2.In windows I have made that many times with Acronis and ghost, but I dont know how to make it in MINT.Is there some manual that explain that.
I wish it was under better circumstances...very morning at 6:25am syslog-ng stops logging, right after it attempts to log rotate. its odd... the daemon doesnt die... it gets a new PID, but doesnt write the output to /var/log/syslog.Yet if I manually restart or reload syslog-ng it works great... its just like it doesnt like the logrotate...I have googled around and tried a few things...first I changed the postrotate in the logrotate.d/syslog-ng
i am getting the following error at maillog while i try to enable emailing on Zabbix server
tail /var/log/maillog May 14 10:03:19 localhost sendmail[21522]: o4H63J8U021522: monitor-xxxxx.com [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
I want to write a shell script, so that at 9AM every morning a general will be sent automatically to my network users E-Mail ID. My users are as follows: akhtaruzzaman@a[URL], ariful.[URL] etc.
Below is my little effort: # !/bin/bash userlist=`cut -f 1 -d : /etc/passwd` mail -s "mailbackup" << END
keep mailbackup in another drive daily for security purpose
iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.
I am working on linux server with below specifications.Linux EDT 2008 i686 i686 i386 GNU/LinuxWhile checking the status of the server using the command 'opmnctl status' and when server is down the output is not getting redirected to file.I m using the command as,opmnctl status > abc.txt.
I have 2 Linux servers, both Red Hat Enterprise 4.
If I visit a page with links to .otf (Opentype Font) files on a Linux server (prod) and I click on one of them, Firefox renders the font. If I visit the same page on a different Linux server (dev), I get a "Save File" prompt in Firefox.
In Internet Explorer, I get the File Save prompt from either server.
It's probably a package that the prod server has that the dev server doesn't? I'm not sure where to start looking or what to look for.
I am having problems with scp during a backup operationI added a ps -ef before and after the scp operation used during the backup.The backup is a script to backup a Zimbra ServerI am including the code segment that I am having problems
Code: # DRCP Section. To scp newly created archives to a remote system if [ "$DRCP" = "yes" ]
I'm planning to add 1tb sata disk to my lovely file-server under ubuntu 10.10,what i want is use this disk as additional storage for network user,indows and ubuntu?I mean when my ubuntu server down (worse case) I can easily take out the disk from ubuntu machine and plug in on windows machine
I need to parse the file of same name which exist on different servers and calculate the count of string existed in both files.Say a file abc.log exist on 2 servers.I want to search for string "test" on both files and calculate the total count of search string's existence.For example if file abc.log on server 1 has string "test" 2 times and file abc.log on server 2 has string "test" 4 times.then the output will beStringName : Countexampletest : 6 timesNote : I have created the password less connectivity using ssh-keygen.
I've a webserver with a lot of documentary to serve. Some of the users have problems with the new microsoft documents like docx. Internet explorer 7 want to open the file like a zip-file not as word document. I've googelt around and found a solution that didn't work for me: [URL] I've added at /etc/mime.types
[Code]....
After a restart of httpd , nothing chance, always the same failure with internet explorer 7.
Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?
I'm trying to setup a print server in Fedora 13. I've made it using CUPS and when I send something to print from a Windows PC it goes ok. My main concern is to know where is the spool file stored when a file is sent to print. I've seen in many forums that it is stored in /var/spools/cups. What I only see here is a file name c000XXX with some information about the printing job. I'm using hold print for this printer and before printing out anything I can't find the spool. I've tried cups-pdf and it stores a pdf file in a route but this is not enough for me. I need to know where the spool data is stored in order to know from who is the job being send.
In case that NFS client of fedora is set to cache nfs file handle, where is the cache stored such as /var/lib/nfs?If it's stored in memory instead of directory tree, what command can I know the combination of file names and file handles with?OS in my test environment: Fedora Core 6
Here what I want to achieve. I have iso file images that I do not want to expand permanently via /etc/fstab, but instead via autofs. Then I want them to be exposed by HTTP and FTP. I am using CentOS 5.5 and below are the relevant part of configuration files.