How To Make Exim Send Out Only Emails From Localdomains

May 16, 2009

I've looked through my exim logs a number of times and I see emails being sent out with "from:" fields with email addresses of other domains. Usually they are spam related and fraudulent.

How can exim be setup to only send out emails that have localdomains in their from fields?

E.g. if I have account on my server then the owner of can only send out emails "" no matter what else he tries to do that's all exim will send out.

How can you get exim to do this? I have been using filtering to block commonly spammed domains like etc - any emails sent out with these in their from fields are filtered and blocked - but rather building up a larger and larger filter of commonly abused domains - why not just block everything except domains on your server.

View 11 Replies


How To Make Central EXIM Server With CPanel

Oct 30, 2007

Anybody done this like one or two email server running especially Exim and all other cPanel servers are using them as email proxies to send email?

View 6 Replies View Related

Exim Send Errors

Feb 28, 2007

I'm getting this email errors (cpanel box)

2007-02-28 16:36:51 1HMXPn-0005P3-Ea == ( <> R=lookuphost T=remote_smtp defer (-53): retry time not reached for any host
2007-02-28 16:41:25 1HMXTl-0005zF-C0 => (, <> F=<> P=<> R=lookuphost T=remote_smtp S=11767 [xxx.142.237.182]:25 C="250 ok dirdel" QT=28s DT=1s
2007-02-28 16:41:27 1HMXPn-0005P3-Ea => ( <> F=<> P=<> R=lookuphost T=remote_smtp S=5503 [xxx.142.237.182]:-1* C="250 ok dirdel" QT=4m36s DT=1s
2007-02-28 16:41:27 1HMXOJ-0005Dm-Fg == (, <> R=lookuphost T=remote_smtp defer (-46): SMTP error from remote mail server after end of data: host [xxx.142.237.182]: 451 Message temporarily deferred - [170]

Just now I ran...

exim_tidydb -t 1m /var/spool/exim wait-remote_smtp
exim_tidydb -t 1m /var/spool/exim retry

View 5 Replies View Related

Cannot Send Emails

Feb 14, 2008

Emails are not being sent from my Server,php n SMTP both, I have checked my IP's are not is spam lis, I'm unble to find out the reason,

View 12 Replies View Related

Cant Send Emails

May 27, 2007

im tryying to setup a forum, but i cannot use email verification, every time i try to send a email it gets bounced back with these details, no matter who i try to send to,hoster has changed to several ips wiht same prob?

This is the qmail-send program at mail.removed.

I'm afraid I wasn't able to deliver your message to the following addresses.

This is a permanent error; I've given up. Sorry it didn't work out.

<email removed>:
Connected to ?.?.?.? but sender was rejected.
Remote host said: 550 Your e-mail was rejected for policy reasons on this gateway.

Reasons for rejection may be related to content such as obscene language, graphics, or spam-like characteristics (or) other reputation problems. For sender troubleshooting information, please go to [url]. Please note: if you are an end-user please contact your E-mail/Internet Service Provider for assistance.

--- Below this line is a copy of the message.

Return-Path: <email removed>
Received: (qmail 2710 invoked by uid 48); 27 May 2007 18:15:42 +0100
Date: 27 May 2007 18:15:41 +0100
To: email removed
Subject: vBulletin Email Test
From: "email removed" <>
Message-ID: <>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-Mailer: vBulletin Mail via PHP

You are receiving this email because your email address was entered as an email test at Pc -Mod.

The first step of this email test script has been completed. However, a formatting test is still necessary:

A paragraph break.
A single line break.

Another paragraph break.
Another single line break.
Another single line break.

If the above lines look correct, you are finished. The email features on your server are setup correctly.

If this email is run together on one line, there is possibly a configuration error with your mail server. Please ensure it is configured correctly.

can anyone please help this is doing my hea din now. realy strange.
i know the server is rented from servers4you

View 10 Replies View Related

Cant Send Emails

Feb 13, 2007

An unknown error has occurred. Subject 'subject', Account: 'Lauren', Server: 'mail.lblah', Protocol: SMTP, Port: 25, Secure(SSL): No, Error Number: 0x800CCC0B

View 11 Replies View Related

Exim Can`t Send E-mails After Cpanel Upgrade

May 2, 2009

we have a freebsd/cpanel box what seems to be trouble prone combination, specially for exim.

After cpanel upgrade, exim simple has stopped. Somehow I managed receiving on this way:

# /etc/init.d/exim start
/libexec/ Shared object "" not found, required by "sendmail"

I checked which perl version is running: perl -v
This is perl, v5.10.0 built for i386-freebsd-64int

then applied:

unix1# ln -s /usr/local/lib/perl5/5.10.*/mach/CORE/ /usr/local/lib
unix1# /etc/init.d/exim start
exim exim antirelaydunix1#

but this solved only half of a problem, now we can receive e-mails, but not send them, what is really frustrating.

Here is the error which cpanel sends on each 5 min:

exim failed @ Fri May 1 16:06:15 2009. A restart was attempted automatically.
Service Check Method: [tcp connect]

Failure Reason: TCP Transaction Log:
<< 220-xxxxxxxxxx.xxxx ESMTP Exim 4.69 #3 Fri, 01 May 2009 16:06:41 +0200 << <<
>> EHLO localhost
<< Hello localhost [] << << << << <<
>> AF9fY3BhbmVsX19zZXJ2aWNlX19hdXRoX19leGltX19Nd2NxU1pyUng1S3R5YTl2enZaV
>> UWXM1WnU=
exim: ** [ != 2]

and I can not find the solution for this almost two days (!), no help for host support either. Closest what I have found on net is this topic:


View 4 Replies View Related

Exim: Unable To Send Mail W/ New Users

Mar 11, 2008

I installed exim and have been able to successfully use it as an smtp server. My test setup was as follows:

email client uses, my login, and password

The email is successfully forwarded to the appropriate recipient. However, when I create a new user, and test it's email capabilities, it does not work. I get a 535 error:

535 Incorrect authentication data

I have double checked the login and password, and I've tried this on multiple accounts. Is there an issue with how I'm creating the users? (useradd)

View 3 Replies View Related

Best Way To Send A Mass Emails

Dec 20, 2008

Every month or two, we like to send our members a newsletter-type email which just informs them about what's happening over in our website and community. We have over 350,000 accounts registered, so there's quite a few emails to be sent each time.

I'm currently using cPanel with Exim and SwiftMailer to send the members an email through PHP. The way I do it currently is import all the email addresses to a separate table then email 500-1000 at a time. This is controlled by a Cron job.

I'm finding Exim to be extremely slow and the queue has built up to 190,000 as I type this (the email process started last week).

My question is this. What's the best software, whether it be a program or a script of some form, to send an email to such amount of users? Or if anyone knows any way to 'tweak' Exim to handle such mass-emails.

View 7 Replies View Related

To Send 3.6 Million Emails

Sep 22, 2007

to send 3.6 million emails over a week period of time. it is for a client that wants to send an email about their new account policies. these users are clients from different domains. how can this be done.

They have an exchange server onsite. should they use that server or do you recommend going through a service? if so whom do you recommend that is good?

Do you recommend going with a dedciated server for email? what server specs?
the email will not have an attachment just a few lines and a link to their own site.
with whatever solution you recommend? please give me price ranges?

Dell and such enterprise companies send emails all the time with that many emails and more to external clients... how do they do it.

I just do not want to get black listed and want to make sure all or most of they clients get it.

View 3 Replies View Related

Can't Send Emails To Hotmail

Dec 14, 2007

I tried to send an email to and I get error messages. However, I can send an email to another email address that forwards to hotmail and it arrives correctly.

When sending via SquirrelMail I get:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
SMTP error from remote mail server after MAIL FROM:<> SIZE=1813:
host []: 550 SC-001 Mail rejected by Windows Live Hotmail for policy reasons. Reasons for rejection may be related to content with spam-like characteristics or IP/domain reputation problems. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please visit [url]for email delivery information and support

I have correct TXT dns entries. Doesn't matter what email I sent to hotmail, they all get rejected. They don't even appear in the junk box

View 7 Replies View Related

Exim Mail Server Failing To Send Email

Jun 16, 2009

Just started to have problems sending emails out but no problem receiving.

Seems to be a exim problem.. tried updating it but the problem still exist but everytime I restart exim then it works for a few hours before the problem comes back.

View 8 Replies View Related

Exim: Send Separate Message For Mailing Lists

Jul 9, 2009

I've just came across an issue with mailing list on a Linux server. Problem is that when a message is broadcasted from a mailing list having around 1500 subscribers, most of them having and addresses, message to most of the recepients fails with following error...

2009-07-09 12:26:25 1MOn2u-0001CB-QJ SMTP error from remote mail server after RCPT TO:<he***>: host []: 452 Too many recipients
It is becuase exim tries to send a message to as many recepients as it could to users on same domain

On a Windows server, i was running Merak mail server and there was an option to send separate message to all mailing list subscribers, but i don't know where it could be located in exim config, or even if it has!

View 1 Replies View Related

How To Find The Script Which Uses Exim And Apache To Send Spam

Mar 14, 2008

Not far ago somebody hacked our customer account through the vulnerability in phpBB Album module and uploaded some scripts. Then it started to send nigerian spam using exim and apache. These scripts were found and deleted and the Album module was fully deleted too. But when I look at the processes now I see that exim and httpd still start very often so the system resources are probably overused by them ......

View 7 Replies View Related

Smarthost To Send Outgoing Emails

Jul 27, 2009

A client of mine has an Exchange server in the company, for sending mails he like to setup smarthost in the Exchange server to relay the outgoing mails from a third party mail relaying service provider.

View 1 Replies View Related

Plesk 12.x / Linux :: IP Not Send Emails

Jun 26, 2015

I have Plesk 12 with Centos 7.1. When I have to send emails with my IP gives error:

Subject 'Tews'
Server: ''
Windows Live Mail Error ID: 0x800CCC0E
Protocol: SMTP
Port: 25
Secure (SSL): No
Socket Error: 10060

However any other IP I can send emails. How do I fix this?

View 1 Replies View Related

Unable To Send And Receive Emails In Lxadmin

May 3, 2009

we are not able to send or resive emails from other servers

we just can see mails from ower server not other servers

what can we do? to corect this

View 4 Replies View Related

How Many Emails Can I Send Per Hour That Are Not Called Spam?

May 11, 2009

I have a dedicated server, and how many emails can i send per hour that are not called spam?

View 4 Replies View Related

Server For Send Large Number Of Emails Per Day?

Jun 7, 2009

server for send large number of emails per day?

What would be the best solution for that?

VPS ? Dedicated ? and Do I need to have Cpanel too?

View 6 Replies View Related

My Server Send Alot Of Fake Emails

Jul 19, 2008

Its with exim .

my server send alot of fake emails

31017 titus 18 0 11188 1956 624 D 2 0.0 0:03.98 exim
31132 titus 18 0 11180 1812 504 D 2 0.0 0:00.08 exim
30964 titus 18 0 11180 1812 504 D 1 0.0 0:05.78 exim
30971 titus 18 0 11180 1948 624 D 1 0.0 0:05.58 exim
30981 titus 18 0 11184 1812 504 D 1 0.0 0:05.41 exim
31049 titus 18 0 11192 1812 504 D 1 0.0 0:02.16 exim
30946 titus 18 0 11188 1952 628 D 1 0.0 0:05.96 exim
30951 titus 18 0 11176 1804 504 D 1 0.0 0:05.83 exim
30976 titus 18 0 11180 1952 624 D 1 0.0 0:05.40 exim
31027 titus 18 0 11212 1816 504 D 1 0.0 0:03.76 exim
31044 titus 18 0 11188 1812 504 R 1 0.0 0:02.13 exim
31064 titus 18 0 11180 1808 504 D 1 0.0 0:00.50 exim
31096 titus 18 0 11196 1824 504 R 1 0.0 0:00.45 exim
31102 titus 18 0 11188 1824 504 D 1 0.0 0:00.42 exim
30942 titus 18 0 11184 1952 624 D 1 0.0 0:06.05 exim
31036 titus 18 0 11188 1964 624 D 1 0.0 0:02.22 exim

View 2 Replies View Related

Why Mail Server Always Cannot Send And Receive Emails

Jul 17, 2008

My VPS is working perfectly for over one year. However the mail server of my VPS is always not working about 3 - 4 times a week since three weeks ago. I can login the webmail accounts, just cannot receive emails and send emails.

View 4 Replies View Related

Plesk 12.x / Linux :: Sites Do Not Send Emails

Apr 30, 2015

Started after last update 12.0.18 Update #44 (on CloudLinux): I can send mail wia created mailboxes, but sites can not send mail, contact forms say "Failed to send your message." maillog file also do not indicate sending any messages from domains. Wordpress restore password claims:

"The e-mail could not be sent.
Possible reason: your host may have disabled the mail() function."
php.ini is default:
safe_mode = Off
disable_functions = is empty

The issue about not sending mail from domains was - old versions of LVE anf CageFS are incompatible with latest plesk update, updating them caused all sites in Cagefs to throw error 500 with log string: "SecureLVE jail error Invalid regexps: no match for path to base home directory". It was fixed by changing cagefs.base.home.dirs regexp to the real sites folder location. Enabling cagefs back removed one of the files it shouldn't:

"Removed file /var/cagefs/81/xxx/etc/php.d/soap.ini"
So be carefull to place necesssary files back.
For now everything works.
Click to expand...
Click for original message

View 8 Replies View Related

Plesk 12.x / Linux :: Can't Receive And Send Emails

Oct 16, 2014

I just moved from DirectAdmin to Parallels Plesk and already love the interface. Much better than DA in my opinion.

Let's get to the problem:

When I make a new email account I can login to this account on (roundcube) and receive and send emails. Now when I want to use this account on Apple Mail i'm not sure which ports I need to use.

For the incoming mail server I use: 143
For the outgoing mail server I use: 587

Now when I look at my mailbox it gives me a warning sign. The outgoing mail server gives a green dot, but the incoming mail server gives me a red dot.

- So sending mails works.
- And receiving mails don't work.

I am using IMAP and have enabled the SSL box. I don't know if i need to check this, because i'm not running on an SSL certificate.

Are the ports that i'm using right? And should I enable the SSL checkbox?

View 1 Replies View Related

Plesk 12.x / Windows :: How To Send Test Emails

Jul 15, 2015

It seems I am not getting any emails from plesk, like scheduled event notifications, ect.

What function of plesk can I run to force it to send an email so I can troubleshoot why I am not getting emails from plesk?

View 4 Replies View Related

Bulk Email Send 5000 Emails Without Fail?

Oct 23, 2009

I am programming a bulk email sending for a client. I need a hosting company who can allow me to use Require 'Mail.php' to send about 5000 emails continuosly without fail.

View 7 Replies View Related

Plesk 12.x / Linux :: Cannot Send Receive Emails After Migrate

Oct 31, 2014

I had made the backups of subscription and of whole plesk too and migrate it to other server. It seems all to be fine, but I cannot send or receive emails In Tools & Settings -> Server-Wide Mail Settings - > Mail Queue I see all mails stored there. The IPs was changed yesterday, and now I can see that WHOIS Infos was chanfed too, the domains are online.

On old server I had no problem with sending of emails (post), it is stil on, because I had not by all domains changed the DNS-Records yet.

View 1 Replies View Related

Copyrights 2005-15, All rights reserved