Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 14th, 2012, 08:38 AM
blackystrat blackystrat is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 26 blackystrat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 19 m 7 sec
Reputation Power: 0
QMAIL - Emails going missing

Okay, so first of all, let me confess that I am not a server admin and pretty novice when it comes to configuring mail servers and everything and that's why I have come here looking for some help, I'd really need some hand holding but I am willing to learn

We are running a mail server on QMAIL and have found that several emails sent through email blasts are completely going missing, they are not being delivered either to the inboxes or to the SPAM, they just vanish.

This is our current QMAIL settings


Quote:
[root@222089 ~]# /var/qmail/bin/qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 1000.
subdirectory split: 23.
user ids: 2021, 2020, 2022, 0, 2023, 2520, 2521, 2522.
group ids: 2020, 2520.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is example.com.

concurrencylocal: Local concurrency is 20.

concurrencyremote: Remote concurrency is 40.

databytes: SMTP DATA limit is 0 bytes.

defaultdomain: (Default.) Default domain name is example.com.

defaulthost: (Default.) Default host name is example.com.

doublebouncehost: (Default.) 2B recipient host: example.com.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is example.com.

helohost: (Default.) SMTP client HELO host name is example.com.

idhost: (Default.) Message-ID host name is example.com.

localiphost: (Default.) Local IP address becomes example.com.

locals:
Messages for localhost are delivered locally.
Messages for localhost.localdomain are delivered locally.

me: My name is example.com.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: (Default.) Plus domain name is example.com.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at example.com.
SMTP clients may send messages to recipients at turbo.example.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 example.com.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: SMTP client data timeout is 600 seconds.

timeoutsmtpd: SMTP server data timeout is 600 seconds.

virtualdomains:
Virtual domain: example.com:1

dhparam1024.pem: I have no idea what this file does.

servercert.pem: I have no idea what this file does.

rejectnonexist: I have no idea what this file does.

defaultdelivery: I have no idea what this file does.

rsa512.pem: I have no idea what this file does.

smtpplugins: I have no idea what this file does.

clientcert.pem: I have no idea what this file does.

dhparam512.pem: I have no idea what this file does.


I looked up the QMAIL log and found several entries like

Quote:
Apr 14 03:00:45 222089 qmail: 1334390445.803003 delivery 1263775: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/


So I am guessing this has to do something with those missing emails.

We are on an unmanaged VPS, so I am not getting much help from the server admins anyways.

Please look into it and advise what's wrong and how to get it fixed.

Again, I am extremely novice at all this, so please pardon me if and when I ask dumb questions, I am really trying to learn all this.

Thanks a ton in advance

EDIT: Another thing worth mentioning here is that I've found our server sending emails too fast, yes that's right, too fast. I mean it sends off like 600,000 emails in about 16 hrs. So is the high sending rate a probable reason for the above issue and if yes, then how can I slow it down. Thanks again!

Reply With Quote
  #2  
Old April 15th, 2012, 02:32 AM
blackystrat blackystrat is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 26 blackystrat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 19 m 7 sec
Reputation Power: 0
anyone?

I am desperately looking for a solution to this one.

Thanks

Reply With Quote
  #3  
Old April 15th, 2012, 11:27 AM
spek spek is offline
SA(in)NE
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2012
Location: Toronto, Canada
Posts: 83 spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 3 h 47 m 17 sec
Reputation Power: 39
Quote:
deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection


Your mail server can't reach the remote server you are trying to send to/through.

Get the mail server name that one of these emails are trying to be sent to, and on your command line type:

telnet servername.domain.com 25

...whilst on your mail server. You'll either see a bunch of connection details, or you'll see failure. The emails should still be in the local mail queue though, as they are just being deferred, not dropped.

Note that it is quite possible that the remote server(s) are tarpitting you if you are crossing a rate limit of some sort.

Reply With Quote
  #4  
Old April 15th, 2012, 12:36 PM
blackystrat blackystrat is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 26 blackystrat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 19 m 7 sec
Reputation Power: 0
Thanks so much spek for the reply

I did a telnet on some of those mail addresses and I got some connected and some of the following

Name or service not known
Temporary failure in name resolution


So is this okay, I mean is there I can do on my server end to ensure that mails don't just go missing altogether.

Is sending speed a factor here? I would like to slow down the sending a bit, how can I do that?

Thanks

Reply With Quote
  #5  
Old April 15th, 2012, 04:15 PM
spek spek is offline
SA(in)NE
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2012
Location: Toronto, Canada
Posts: 83 spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 3 h 47 m 17 sec
Reputation Power: 39
With the errors you provide, it is impossible to know if speed is a factor. To test this out, hop on a machine that is on a network separate from your own.

If you post the servername here we can test it. Feel free to privately respond to me a couple server names and I'll privately test them out from at least five networks I run.

If I get the same connection problems you do after having sent no mail, we know this isn't the problem.

This problem could even be internal to YOUR network where your vps is hosted. Supply a name (publicly or privately), and I'll check it out so that we can at least half the problem for you.

Only tests will tell.

-spek

Reply With Quote
  #6  
Old April 15th, 2012, 10:12 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,237 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 14 h 43 m 55 sec
Reputation Power: 4445
My guess is your mailserver has gotten on some rbl lists and some servers are rejecting your mail. Or your mailserver isn't properly configured, i.e., no reverse DNS, no spf or domain key, etc.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

Reply With Quote
  #7  
Old April 15th, 2012, 10:30 PM
spek spek is offline
SA(in)NE
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2012
Location: Toronto, Canada
Posts: 83 spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level)spek User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 3 h 47 m 17 sec
Reputation Power: 39
Quote:
Originally Posted by Doug G
My guess is your mailserver has gotten on some rbl lists and some servers are rejecting your mail. Or your mailserver isn't properly configured, i.e., no reverse DNS, no spf or domain key, etc.


Indeed possible, but without further data from the OP, there's no way to know.

Reply With Quote
  #8  
Old April 16th, 2012, 01:17 AM
blackystrat blackystrat is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 26 blackystrat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 19 m 7 sec
Reputation Power: 0
Thanks for stepping in Doug.

Our mail server was not listed on any RBL before we sent out this large campaign of 600,000 emails but the issue with missing emails was there even before it was listed. After the campaign, it got listed on 4 RBLs and I have unblocked them all. So the IP is clean now.

As for SPF, PTR records, DomainKeys - they are all in place. The only thing we don't have is DKIM.

Let me know if you need any further information from me to help resolve this issue.

P.S - Could you please let me know how I can throttle the sending speed of the server, I'd like to slow down the sending and see if that helps.

Reply With Quote
  #9  
Old April 18th, 2012, 01:18 PM
blackystrat blackystrat is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 26 blackystrat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 19 m 7 sec
Reputation Power: 0
hi friends...I am still awaiting a response to my previous query.

Could you please tell me how I can slow down the sending speed of the server, I tried reducing the concurrencyremote down to 10 but I guess that didn't help with much.

Advise please

Thanks

Reply With Quote
  #10  
Old April 18th, 2012, 03:50 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,237 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 14 h 43 m 55 sec
Reputation Power: 4445
Maybe you need to find a qmail support board somewhere? I haven't used qmail since about 2000 myself. There is http://www.lifewithqmail.com if it's still around.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > QMAIL - Emails going missing

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap