LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-05-2010, 10:50 AM   #1
jnyunt
LQ Newbie
 
Registered: Jun 2008
Posts: 26

Rep: Reputation: 0
qmail taking too long to respond failure delivery


Hi All
I am running qmail server as my mail server. One problem I have is when I send email to someone, accidentally if I typed wrong address, I would not know straight away. It took me a week to get the failure notice saying mail-daemon cant delivery that particular address. Can anyone point me when I should change period to shorten the respond time for qmail. so I would know there is something wrong with email address or something.
thank in advance
 
Old 06-05-2010, 12:38 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

I don't think it's a problem with your qmail setup, but a problem with the remote mta.
If the recipient does not exist on the remote server, it must notify immediately the sender.
Following is a transcript for what happens when I send an email to a non-existent user from my qmail server:
Quote:
@400000004c0a865f1ca15e5c new msg 4792949
@400000004c0a865f1ca16a14 info msg 4792949: bytes 324 from <sender@qmail.mydomain.com> qp 16910 uid 1003
@400000004c0a865f20a50c4c starting delivery 48: msg 4792949 to remote recipient@remotedomain.com
@400000004c0a865f20a51804 status: local 0/10 remote 1/20
@400000004c0a865f215ac7bc delivery 48: failure: 192.168.0.1_does_not_like_recipient./Remote_host_said:_550_5.1.1_<recipient@remotedomain.com>..._User_unknown/Giving_up_on_x.x.x.x./
@400000004c0a865f215ad75c status: local 0/10 remote 0/20
@400000004c0a865f26ab0e34 bounce msg 4792949 qp 16912
@400000004c0a865f26ab19ec end msg 4792949
@400000004c0a865f26af406c new msg 4793198
@400000004c0a865f26af4454 info msg 4793198: bytes 971 from <> qp 16912 uid 1008
@400000004c0a865f2b3224c4 starting delivery 49: msg 4793198 to local sender@qmail.mydomain.com
@400000004c0a865f2b32307c status: local 1/10 remote 0/20
@400000004c0a86672749a7c4 delivery 49: success: did_1+0+1/
@400000004c0a86672749b37c status: local 0/10 remote 0/20
@400000004c0a86672749b764 end msg 4793198
Since in your case this takes a week to happen, I guess the remote mta tries for this period of time to deliver the message (maybe to a catch-all account?).
You can try to send another mail to the non-existent recipient and watch qmail logs to see if you get the "user unknown" notification immediately.
 
Old 06-05-2010, 06:03 PM   #3
jnyunt
LQ Newbie
 
Registered: Jun 2008
Posts: 26

Original Poster
Rep: Reputation: 0
Thanks bathory,
That makes sense.
 
  


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
firefox is taking too much time to respond pvsandesh Linux - Newbie 1 12-03-2008 05:36 AM
firefox is taking too much time to respond pvsandesh Linux - Newbie 1 12-02-2008 12:59 PM
qmail delivery question gizwag Linux - Software 0 02-05-2003 02:14 PM

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

All times are GMT -5. The time now is 06:35 PM.

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