LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-26-2013, 12:09 PM   #1
proNick
Member
 
Registered: Apr 2005
Posts: 104

Rep: Reputation: 15
Qmail and Spamassassin - some emails are received, and some not


Hello,

On server I have installed Qmail server.

Problem I have is that emails from some sources (like Gmail, Yahoo, HotMail) are received, but some from other domain are not. When I say "other" I mean domains hosted on server like Bluehost (I have several domains hosted there).

I think that Spamassassin is something that causing problem, so I tried to edit file /etc/mail/spamassassin/local.cf, by adding a line

Code:
whitelist_from *@MYDOMAIN.com
... but still no luck, still not receiving emails from "mydomain.com".

What I also can say is that few hours ago I upgraded SquirrelMail webmail client, because it was creating some errors when sending emails. Before upgrade, there was no problem receiving emails from "mydomain.com" (but I also know that there where same problems with some other domains). So something blocks incoming emails.

Can you point me where to check and how can I solve this problem?

Thank you in advance!

Last edited by proNick; 05-26-2013 at 12:11 PM.
 
Old 05-26-2013, 02:24 PM   #2
proNick
Member
 
Registered: Apr 2005
Posts: 104

Original Poster
Rep: Reputation: 15
Update:

I turn off qmail-spam, but it's still the same...


Please help...
 
Old 05-27-2013, 12:22 AM   #3
proNick
Member
 
Registered: Apr 2005
Posts: 104

Original Poster
Rep: Reputation: 15
And one more update!

I received all of the emails, but few hours late.

Can you give me some idea why it takes so long?
 
Old 05-28-2013, 03:55 AM   #4
proNick
Member
 
Registered: Apr 2005
Posts: 104

Original Poster
Rep: Reputation: 15
One more update on this:

I can receive emails, but not from all of the senders.

What I did last is that in file /etc/tcprules.d/tcp.smtp I added a line:
Code:
:allow,RELAYCLIENT=""

.. and (of course) compile the rules into the cdb with :

Code:
qmailctl cdb

Now I can receive emails from some of senders that I was not able before, but not from all of them...

In log files I cannot find anything strange.

Can you tell me where to look for more?


Thank you in advance!
 
Old 05-30-2013, 08:44 AM   #5
roberto967
Member
 
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64-15.0 multilib
Posts: 117

Rep: Reputation: 36
Hi, first of all your tcprules will allow remote clients to use your MTA as an open relay. If you don't want to be banned by the block-lists you should fix this. Be aware that
Code:
RELAYCLIENT=""
should be assigned only to IPs that are allowed to send *outgoing* emails, not to allow them to deliver messages to your MTA. Thus, if you just want to receive messages from the internet, it is sufficient to have

Code:
:allow
in your tcprules. For a quick guide on tcprules you can take a look at this page I wrote http://notes.sagredo.eu/node/129

Concerning the main issue, can you post your tcprules, qmail-smtp/run files?
Do you have any rbl active or any other filter/wrapper active? First of all I would disable rblsmtpd and look at spamd.log to see if spamassassin is really denying some IP.

Last edited by roberto967; 05-30-2013 at 08:48 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache James Server - Emails not being received from outside domains (hotmail/gmail) kazmiM Linux - Server 1 05-20-2011 05:05 AM
Squirrelmail not showing received emails. nayyares Linux - General 1 01-04-2007 10:33 AM
Problems sending emails received on Gmail bogdan.dusa Linux - Software 6 06-13-2006 05:53 PM
Problems sending emails received on Gmail bogdan.dusa Linux - General 1 08-23-2005 02:56 PM
SpamAssassin/Procmail to del blacklisted emails tomac Linux - General 1 07-11-2004 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration