hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Qmail won't send mail to local domains
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Qmail won't send mail to local domains

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-30-2011, 04:01 PM
Zaggs Zaggs is offline
Junior Guru
 
Join Date: Mar 2007
Posts: 239

Qmail won't send mail to local domains


Hi Guys!

I am having a weird problem with Qmail. When I try to send an email to a domain on the same server, the mail does not send (and I do not get an error). However, if I send mail to a third party domain like @aol.com or @gmail.com they get delivered fine.

Is there anyway for me to debug and find out whats going on?

Thanks guys! :-)

Reply With Quote


Sponsored Links
  #2  
Old 03-30-2011, 06:18 PM
asciiDigital asciiDigital is offline
Temporarily Suspended
 
Join Date: Nov 2010
Location: Arizona
Posts: 298
What shows up in /var/log/qmail or wherever your qmail log file is. Also, is the queue getting backed up?

Reply With Quote
  #3  
Old 03-30-2011, 11:31 PM
care4server care4server is offline
Web Hosting Evangelist
 
Join Date: Sep 2010
Location: home
Posts: 508
are you using any type of control panel plesk?

is the mails send locally staying in teh mail queue. What does the mail log shows when you send mail

Reply With Quote
Sponsored Links
  #4  
Old 03-31-2011, 05:06 PM
tech7 tech7 is offline
Newbie
 
Join Date: Mar 2011
Location: India
Posts: 6
can you check if the mails are in queue..

/var/qmail/bin/qmail-qstat

Reply With Quote
  #5  
Old 04-01-2011, 11:20 AM
Zaggs Zaggs is offline
Junior Guru
 
Join Date: Mar 2007
Posts: 239
The emails cannot be seen in the mail queue, they disappear off the face of the earth!

Here's the entry from the mail log when I try to send an email to a domain on the same server.

Code:
Apr  1 18:13:38 server pop3d: Connection, ip=[81.155.170.18]
Apr  1 18:13:39 server pop3d: IMAP connect from @ [81.155.170.18]INFO: LOGIN, user=bradley@domain1.co.uk, ip=[81.155.170.18]
Apr  1 18:13:39 server pop3d: 1301674419.677001 LOGOUT, user=bradley@domain1.co.uk, ip=[81.155.170.18], top=0, retr=0, time=0, rcvd=18, sent=48, maildir=/var/qmail/mailnames/domain1.co.uk/bradley/Maildir
Apr  1 18:13:53 server /var/qmail/bin/relaylock[14518]: /var/qmail/bin/relaylock: mail from 178.90.80.157:16998 (not defined)
Apr  1 18:13:58 server /var/qmail/bin/relaylock[14526]: /var/qmail/bin/relaylock: mail from 112.135.66.167:3039 (slt-bb-cust.slt.lk)
Apr  1 18:14:18 server /var/qmail/bin/relaylock[14597]: /var/qmail/bin/relaylock: mail from 81.155.170.18:62599 (host81-155-170-18.range81-155.btcentralplus.com)
Apr  1 18:14:20 server qmail-queue-handlers[14604]: Handlers Filter before-queue for qmail started ...
Apr  1 18:14:20 server qmail-queue-handlers[14604]: from=bradley@domain1.co.uk
Apr  1 18:14:20 server qmail-queue-handlers[14604]: to=admin@domain2.net
Apr  1 18:14:20 server qmail-queue-handlers[14604]: hook_dir = '/usr/local/psa/handlers/before-queue'
Apr  1 18:14:20 server qmail-queue-handlers[14604]: recipient[3] = 'admin@domain2.net'
Apr  1 18:14:20 server qmail-queue-handlers[14604]: handlers dir = '/usr/local/psa/handlers/before-queue/recipient/admin@domain2.net'
Apr  1 18:14:20 server qmail: 1301674460.519125 new msg 1799691
Apr  1 18:14:20 server qmail: 1301674460.519150 info msg 1799691: bytes 1442 from <bradley@domain1.co.uk> qp 14605 uid 2020
Apr  1 18:14:20 server qmail-queue-handlers[14604]: starter: submitter[14605] exited normally
Apr  1 18:14:20 server qmail: 1301674460.521678 starting delivery 2: msg 1799691 to local 188-admin@domain2.net
Apr  1 18:14:20 server qmail: 1301674460.521765 status: local 1/10 remote 0/20
Apr  1 18:14:20 server qmail-local-handlers[14606]: Handlers Filter before-local for qmail started ...
Apr  1 18:14:20 server qmail-local-handlers[14606]: from=bradley@domain1.co.uk
Apr  1 18:14:20 server qmail-local-handlers[14606]: to=admin@domain2.net
Apr  1 18:14:20 server qmail-local-handlers[14606]: mailbox: /var/qmail/mailnames/domain2.net/admin 
Apr  1 18:14:20 server qmail-local-handlers[14606]: hook_dir = '/usr/local/psa/handlers/before-local'
Apr  1 18:14:20 server qmail-local-handlers[14606]: recipient[3] = 'admin@domain2.net'
Apr  1 18:14:20 server qmail-local-handlers[14606]: handlers dir = '/usr/local/psa/handlers/before-local/recipient/admin@domain2.net'
Apr  1 18:14:20 server qmail: 1301674460.566825 delivery 2: success: did_0+0+2/
Apr  1 18:14:20 server qmail: 1301674460.566868 status: local 0/10 remote 0/20
Apr  1 18:14:20 server qmail: 1301674460.566887 end msg 1799691
Apr  1 18:14:21 server /var/qmail/bin/relaylock[14610]: /var/qmail/bin/relaylock: mail from 186.43.99.236:25175 (not defined)
Thanks for your help on this guys...

Reply With Quote
  #6  
Old 04-01-2011, 06:19 PM
care4server care4server is offline
Web Hosting Evangelist
 
Join Date: Sep 2010
Location: home
Posts: 508
you may need to check with a sysadmin to take a look at this

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
qmail won't deliver local mail Zaggs Hosting Security and Technology 8 03-13-2011 03:24 PM
Qmail problem, clients can only check/send mail Brendon2020 Hosting Security and Technology 13 02-23-2006 02:24 AM
Exim won't send email to local domain wilfried Dedicated Server 2 12-17-2003 06:26 AM
PerlDesk won't send e-mail ManholeMedia Hosting Software and Control Panels 7 08-28-2002 02:45 PM
couldn't send mail(using qmail on plesk) anymore - help kaz Hosting Security and Technology 0 07-26-2002 06:11 AM

Related posts from TheWhir.com
Title Type Date Posted
Outbound Spam Causing Sleepless Nights? Blog 2013-05-13 09:52:21
WHD 2012 - Eco Study Tracks Domain Name Registar Business in European Markets Web Hosting News 2012-03-22 05:20:44
Tucows Adds 100-Plus new Domain Extensions to OpenSRS System Web Hosting News 2011-12-22 18:29:09
Wholesale Domain Provider ResellerClub Offers Unlimited Domains Hosting Web Hosting News 2011-11-14 21:13:45
New Opportunities for Web Hosts with New gTLDs, with Thorsten Einig, of OpenSRS Web Hosting News 2011-10-25 20:26:35


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?