I need to add a new e-mail account, say "service@domain.com". Messages sent to this address should arrive to different e-mail accounts depending on sender evaluation.
So, if a message is received by "service@domain.com" from "user@mail.com" I need to check on my database if the sender's e-mail address already exists and if it's assigned to some of the operators, then pipe the message to the operator's e-mail address, else, the message would be sent to a randomly chosen operator.
I have created a forward on CPanel, where "service@domain.com" points to "|/home/user/pipe.pl" where pipe.pl is the file i have created to perform the database lookup.
Now I'm stuck on the way I should return the pipe_address to Exim.
ive read that apache can pipe log files into a PHP script. ive tried it and its not working.
ive tried 2 ways, one pipes to the script file (which says to load with PHP.exe on the top line). the other way pipes to PHP.exe and tells it to load the script.
i put a simple bit in my script to create a new file just to check if it worked and it looks like the script is never being run yet i dont get any errors from apache.
I have come up with a basic model (page views x bandwidth used x disk space). I will get the bandwidth and page views from awstats and the disk space from the server.
I am trying to cost the bandwidth we buy from our supplier. We have a 10mb pipe going into our solution costing us £14k per year. Awstats reports the bandwidth as total data transfered e.g. 2.4 gb per day or month. I am having a problem trying to link the two.
How can I work out how much data I can get through a 10mb connection in a full day? I can then work out a sites bandwidth usage based on the % of the cost. Ideally i would like to be able to say something like 'with 10mb pipe our solution can handle 250gb of traffic per day'.
What do people think of the costing model and any ideas of how i can calculate the total amount of data i can shift in a day.
I'm running CentOS with Paralells Plesk bundled Paralellls Premium Antivirus (Dr Web). After the latest yum updates DrWeb continously seems to crash and be restarted by the Parallells watchdog. By default there were no logs for DrWeb, but when I enable logging to a file it gets spammed continously with the following error:
Cannot create pipe for communication with scanning childs (Too many open files)and the Drweb process runs at 99% CPU for long periods. This totally fills the disk with logs and I've now disabled logging again and Drweb is back to continously being restarted by the watchdog.
i have Made a VPs on my Own dedicated Server Which i use to run TorrentFlux for Personal Use. I am facing a few problems and dont know where to askf or help.
when i start more than about 12, i get errors in SSh (if i llogin) or th4e Apache Restarts killing all the Transfers.
I ahve 2 Gb Ram, Dual Core CPU.
the Error Via SSh is: sh: pipe error: Too many open files in system
and i ahve attached a Errors Log From Apache.
i am a Noob in Servers so i ahve Lxadmin Contorl Panel Installed and the Log is generated by it.
I am having issues in receieving emails. For some reason, the rbl lists I had setup are causing the server to reject emails (retry - timeout). So, I need to take this rbl list completely. How can I do that? exim.conf is locked and using the advanced editor is no fun even though I tried it putting the dnslists without the rbl causing the problem.
this is often happening on my new servers, with FreeBSD and exim 4.69 2 exim process start using a lot of CPU (that's not 100%, but it's like 40% for one process and 35% for other) for hours...
but, as soon as I restart exim, that stops so it's not a high mail load on server, nor anything like that
I even checked logs to see if it was on some kind of infinite loop (auto-auto-auto-auto-reply), etc, but can't find anything out of ordinary
I have a dedicated server with WHM installed on it, but recently I've been having problems with emails, specifically exim.
The main issue appears to be a huge number of exim processes all running at the same time. It pushes the server load higher and higher (and when I say high I mean over 100), and basically locks everything else up until I can get a command through to kill exim.
After a bit more investigation I found that the mail queue in WHM appears to be seperate to the one I can find with the exom -bpc command, and gets full of email sent to non existant domains or accounts. So my first theory is that at some point exim tries to deliver all of these at once and that causes the massive load spikes. I don't know if that's possible, or probable, but there isn't enough legitimate email coming into the server that there ought to be any issues.
i've read about how to control the mail q from exim, but that doesn't appear to make a different to the q shown in whm. Currently the server is being held up by a cron running every half hour to restart exim automatically, but at peak times this doesn't appear to be doing enough, and at one point yesterday exim had 400 running processes.
Obviously this is causing a few problems. I don't have the technical knowledge to diagnose or fix the problem past the guesswork i've already done, so i'd appreciate any suggestions
I have some clients who own large forums, and during usage Mass Mail CPU goes up to 100%. Is there any way to re-configure the exim so not to distrupt the CPU that much?
I got a mail "spamd failed @ Fri Jan 11 04:34:53 2008. A restart was attempted automatically".And I checked the server.Then I found that spamd is not working.Its a cpanel server.I've tried to restart exim but spamd is not starting.
I'm trying to diagnose some server load spikes, and I've noticed that my exim log files are getting huge (5 gigs, plus 4 gzips at 1.7gigs)...my server status shows the gzips and greps on these log files putting my cpu load at 99.9%...how do i keep these from getting so huge and/or keep them from maxing out my server?
I recently switched over from Virtuozzo to WHM (on a vps), and was going through some of the different pages there. I noticed one page that displays the exim stats, similar to running it through the command line. Anyway there is one section I'm not entirely sure what it's referring to.
Quote:
Top 50 mail rejection reasons by message count
Messages Mail rejection reason 311 Rejected RCPT: No such person at this address 75 Rejected RCPT: Sender verify failed 25"The mail server detected your message as spam and has prevented delivery (200)."
I'm not sure if this is referring to inbound addresses being blocked, or forged emails from my server being rejected by outside servers.
every time i send an email from my server to any @hotmail account it doesnt arrive @hotmail.
In my exim_mainlog, log says that operation is completed.
2007-09-29 07:00:32 1Iba3k-00043A-0z no host name found for IP address IP 2007-09-29 07:00:32 1Iba3k-00043A-0z <= webmaster@domain.name H=([192.168.1.100]) [IP] P=esmtpa A=fixed_plain:brm@dak$ 2007-09-29 07:00:32 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1Iba3k-00043A-0z 2007-09-29 07:00:32 1Iba3k-00043A-0z => account@hotmail.com R=lookuphost T=remote_smtp H=mx3.hotmail.com [65.54.245.72] 2007-09-29 07:00:32 1Iba3k-00043A-0z Completed
What makes it weird is that..
when i send email from hotmail to my servers account, i get email from hotmail, and, when i do reply on that email to @hotmail, email arrives @hotmail.
I am not actually a hosting provider but a client. I do have some technical knowledge about Exim, Sendmail etc and my host also co-operates with me so I thought of asking this question myself. My problem is with the RBL checks that my host's server performs even on authenticated SMTP connections. My ISP provides a IP to me which is being shared by many subscribers and gets blocked often. This causes a problem for me to use my mail client to send outgoing e-mail through my host's SMTP.
Suppose my hosted domain is "mydomain.com". Now when I use my e-mail client and send an e-mail using my hosts SMTP server (which requires due authentication) and give return-path (envelope sender) as "someone@mydomain.com", the e-mail passes through nicely. But when I use some other return path like "me@yahoo.com", I get a RBL block message after RCPT command. This should not happen as I am a paying member and I am correctly authenticating myself using the username & password of my hosted account.
My host uses Exim 4.63 so I just wanted to know whether there is a way to modify Exim ACL so that it doesn't perform RBL checks for authenticating users.
I've a question how to make every email come to my inbox a copy of it go to other email i mean if i get an message on ss@ss.com automaticly a copy of this message go to aa@aa.com
Is there a way I can get more error messages with exim? I'm trying to log in using plaintext smtp authentication and all I get is this:
2009-06-21 06:51:23 Start queue run: pid=8021 2009-06-21 06:51:23 End queue run: pid=8021 2009-06-21 07:07:41 no host name found for IP address 220.80.173.17 2009-06-21 07:07:42 no host name found for IP address 220.80.173.17 2009-06-21 07:21:23 Start queue run: pid=8029 2009-06-21 07:21:23 End queue run: pid=8029 2009-06-21 07:41:18 no host name found for IP address 220.80.173.17 2009-06-21 07:51:23 Start queue run: pid=8074 2009-06-21 07:51:23 End queue run: pid=8074 2009-06-21 08:20:47 no host name found for IP address 220.80.173.17 2009-06-21 08:21:23 no host name found for IP address 220.80.173.17