I am running RHEL EL4. i have configured vsftp , everything works fine.The thing is that the FTP log messages are going into /var/log/messages . So i changed the log location by confuguring as follows
1. In the /etc/syslog.cong,
2.Change the line in /etc/logrotate.d/syslog
3. In /etc/vsftpd/vsftpd.conf
After the changes , i restarted the service for both ftp and syslog
Evenafter the above confguration , still the ftp log messages are going to the same dir /var/log/messages.
I have the application and kernel module running on my system. In the meantime, I am changing the date and time of the system. However, this change doesn't reflect on log messages of the application that's being executed.
I am running Fedora 10, Postfix and Dovecot I recently changed the password of a user using the 'passwd' command. The problem is that the user can no longer receive their email messages in Thunderbird (Authentication Error). However, they can still login using SquirrelMail and get their mail.
I've got a server set up with Debian. The problem is that my ISP doesn't allow usage of port 25 (as I understand a lot of ISP's don't).I have PHP scripts hat use the mail() function to send e-mails through the Sendmail application.So, my question is: How can I relay messages sent to sendmail to an external SMTP server (like Google Mail, for example)? Would this be easier to do in the PHP configuration, or on the Sendmail side of things?I've used PEAR extensions in PHP to achieve this before, but scripts downloaded from the Internet generally just use the basic mail() function, and it would be a real pain to modify them all.
I have a syslog-ng running and kernel build of 2.6.34.8 I use a syslog API in my program with facility LOG_LOCAL5 and and levels debug err and crit and info. when I ran on the older syslog facility I had everything logged fine as I intended. now I have written these rules into the syslog-ng.conf:
I cannot make any permission change on /var/log/messages.Currently the permission looks like ?r---ws--t 58243 115 59053 1358438049 Jan 10 10:55 /var/log/messages How can i change the permission to root. Already chown failed giving a permission failed error.
Since yesterday Kmail has started downloading ALL ,messages, not just the new ones, from the server. It is a real pain as the mail check takes about twenty minutes and Kmail usually freezes afterwards. Then I have to close it down and after restart it downloads several thousand messages all over again. This has only started happening since yesterdays Fedora update, which I think was anything to do with Kmail?
I am using Fedora 14.
EDIT: I have just notice it is not downloading ALL messages, just the read ones. The new messages are being left on the server but the old ones are downloaded and flagged as new. So it seems as if something has got flipped around somewhere?
I'm setting up email gateway using Postfix, Amavisd-new, ClamAV and SpamAssassin on Opensuse 11.1. Everything seems okie, but I can't have messages with added spam headers, such as:
X-Spam-Flag: NO X-Spam-Score: 0.233 X-Spam-Level: X-Spam-Status: No, score=0.233 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=0.536, BAYES_50=0.001,]
When I try to debug amavis, I can see that SPAM-TAG, <abc@yahoo.com> -> <celeron@domain.com>, No, score=5.406 tagged_above=-999 required=6.2 tests=[LOCAL_DRUG=4, NO_DNS_FOR_FROM=1.407, NO_RELAYS=-0.001] but they don't add to email messages. I've configured amavisd-new with $sa_tag_level_deflt = -999 to add spam headers at all but not successful.
I would expect this behavior if "domain.com and anotherdomain.com" wasn't a domain that I hosted. But this is a valid domain that this server should be answering for. In my named.conf I do have the
Quote:
allow-query { any; };
option on every zone. This is my slave server and I have the primary shut off so I can test this slave server. FYI: So far queriers still seem to be working. The pages for the sites are still coming up via the internet.
Anyone have an issue with Messages in Queue going crazy? and inside the emails is: Received: (qmail 13662 invoked by alias); 20 Aug 2010 10:07:14 -0700 Delivered-To: [URL]..
Don't really know what could be causing this, the other day my messages in queue was at like 5,000 or so, but now its up to 445,000 messages in queue!! All of them that exact message.
I have to configure sendmail to send messages only and not receiving any mails on a linux server when the mail server is on another server.how to configure sendmail?
I have an email server running postfix and popa3d under Debian. I have mailboxes in mbox (single file) format per user in /var/mail/username. I had my own mailbox get too many messages so popa3d refused to process per a compiled in security / anti-DOS limit, so I moved to /var/mail/username_bak. What is the best way to start moving the messages from /var/mail/username_bak to /var/mail/username? I do not see any utilities included with postfix or popa3d that do this, but I am hoping there are generic mbox utilities to easily do this.
I am facing an issue with my syslog server. The server is collecting remote log also. and the issue is no log messages are updated in /var/log/messages file. But other files are getting updated.
[root@Server1 ~]# cat /etc/syslog.conf # Log all kernel messages to the console. # Logging much else clutters up the screen.
I am writing a client chat server program in java. The chat server is already written. I created the interface and I connected to the chat server. The server keeps sending protocol messages to whom ever is connected, also it keeps sending specific protocol every 10 sec to check if user is still online.My problem is when I connect from my interface to the chat server, the program gets stuck, I can not press any other button because after connection my program keeps receiving commands from server(I have a method to keep reading after connection). How can I keep track of messages sent from server and not get stuck i.e press other buttons or type in the interface?
According to RFC 1939: "POP3 is not intended to provide extensive manipulation operations of mail on the server; normally, mail is downloaded and then deleted." However most of the mail clients have that option "Leave messages on server" after they have been downloaded. How is it done?
I tried sniffing mail traffic with Wireshark, but the only POP3 provider I have is Gmail and its POP3 access is SSL secured, so I was unable to gather any info from this... I tried downloading sources of Thunderbird and Evolution and checked what are they doing with "leaving messages", but it seems my C++ skills are not enough - I was unable to understand what is happening when "leaving"...
Suggest me some POP3 provider, that is providing unsecured POP3 access, so I could try again reverse engineering with Wireshark?
I am searching for a way to broadcast a simple message from a server to the other machines (clients) on my local network every day at 22:30 (10:30pm) to warn users that the server will shutdown in 30 minutes (energy saving strategy). Basically, I was thinking to add a cron entry ion the server crontab to do so. before I go ahead with that, I tried several ways to accomplish this action. Then I tried simply "wall" and got a text promt to type in my message. At the end I pressed CTRL+D and got a popup displaying my message. So it worked but it was on the server's monitor. How can I send this message to a remote machine? Is wall the proper command to do so?
I also tried using paswordless ssh..It doesnt work. Basically I can login on the remote machine using passwordless ssh but when I issue either kdialog or xmessage, I get error "cannot connect to X server on diaplay 0:0" (or something similar).I tried also ssh 'wall 'message'' but it also says "cannot connect to X server on diaplay 0:0"So far I have several ways but nothing really works..There must be a real way to to that?All machines are Slackware 13.1 based.
I am using Evolution 2.30.2 and recently set it up with my Hotmail account. However, when it fetched my messages, they were deleted from the online server. I read somewhere that there is a 'leave messages on server' checkbox in Edit>Preferences>Mail Accounts>Edit>Receiving Options but it is not there.
I am looking for a mail app that will do this.I have a gmail account.I would like it to download the messages. but leave a copy on the server.i know some will delete the server messages.i would like to not bring down attachments, ever.i would like to only sync certain folders/labels from my gmail account.will evolution do this?i could not find options for any of these.
I have a linux server set up with postfix, which sends emails to our mail servers (MS Exchange). The linux server itself generates a lot of emails, and I would like to limit the number of mails it can send out pr second so that it doesn't spam our mail servers. Anyone know how I can control the max number of outgoing emails my linux server can send? As of now it's possible for my linux server to cause a denial of service attack on our Exchange server since I have no way of controlling the rate of outgoing messages.
I need to scrape logfiles and do some pattern matching for a series of hardware and system faults;
For example: Network interface down / up IO errors Out of Inodes Out of Diskspace Memory Errors Power Failure
When the appropriate Strings appear in the log (assuming /var/logs/messages)Then a trap will be sent. (Customer specific SNMP solution) So what I need (I think) is a list of the strings I need to match.Has anybody any idea where I can find a list of strings which will definitely appear in the log - RHEL5 ?
I need to ask you how canIi make some fetchmail jobs to download mails from my gmail account into my mail account in my own server? My server is : Linux Centos 5.4 Postfix Mail Server
I make a file named .fetchmailrc in my home directory and set its permissions to 755and the content of this file is:
set postmaster "postmaster" set bouncemail set no spambounce set properties "" poll imap.googlemail.com:993 protocol imap username "username@gmail.com" password "password"
I think something is not completed, I need to make that fetch to a specific user only, not all users.
I am trying to set up a Horde Webmail service on my server.Sent emails are not copied into the sent-folder when sent by the user, but there is no error or log-entry.
I�m looking into preventing the samba messages from appearing in the system log (/var/log/messages).I added syslog = 0 to smb.conf and reloaded the config but messages are still appearing�suppress logging or reconfiguremba such that the �nmbd� and �winbindd� messages do not appear in /var/log/messages
RHEL 5.4 i want to be able to do redistribution of inbound syslog messages to syslogd. as example, my syslog.conf has in it at the end:
*.* @192.168.5.5 *.* @192.168.5.6
my sysconfig/syslog file has "-r" as the only option for syslogd. any messages generated by the localhost will be sent to the two remote servers, but messages that come into this box (udp 514) only get logged locally and do not get sent out to the remote hosts.
you may ask why do i want to do this. because i have several syslog servers (for security purposes) and many of my net devices are configured to send syslog to all the syslog servers, hence each device is sending way too much duplicate udp-514. so i would like to minimize the udp-514 coming out of the devices, have all devices send to a central syslog server, and then central syslog server do distribution to the other syslog servers. others have also called this "syslog proxy". or, if not with syslogd, how to achieve this (preserving the original syslog message host info, etc)?
I'm trying implement a small server for a university work, my server is creating, binding and listening but it don't accept any connection, these are the files I'm using in server:
Code:
// Definition of the Socket class #ifndef SOCKET_H #define SOCKET_H #include <sys/types.h> code....
I've made a client just for test it, but no ones run well, the server is always returning -1 when accept is called!!
What should I do to send and receive messages in this server??
Messages are stuck in my server's /var/spool/mqueue/ folder beyond the lifetime I have specified in confTO_QUEUERETURN (5d). Any idea why this could be? The file permissions appear fine; files in the mqueue folder show rights of: Code:-rw------- 1 root smmspThis is causing an issue because the queues are slowly getting larger and larger. I'm seeing the queue size consistently growing. maillog shows entries like: Code:grew WorkList for /var/spool/mqueue to 28000Just thinking outloud -- could the queue runner not be completing it's job in time? Maybe I could check with time sendmail -q