Problem about SMTP 'QUIT' command


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Problem about SMTP 'QUIT' command
# 1  
Old 12-07-2007
Problem about SMTP 'QUIT' command

I am runing MTA that I made to receive mail.
Sometimes sending MTA send delayed 'QUIT' command.
In this case, after I send '250 OK' response for data, I must wait 'QUIT' command even a few minutes.

Thanks in advance.

Following is the log
-------------------------------------------------------------------------
2007-12-06 22:31:23 8784 2887519152 [START OF SMTP SERVICE]
2007-12-06 22:31:23 8784 2887519152 ProcessRequest called
2007-12-06 22:31:23 8784 2887519152 smtp(): command issued :cmd [EHLO], value [smail.xxxmail.net]
2007-12-06 22:31:23 8784 2887519152 [sClientHost:smail-9.xxxmail.net]
2007-12-06 22:31:24 8784 2887519152 smtp(): command issued :cmd [MAIL], value [From:<username@xxxmail.net>]
2007-12-06 22:31:24 8784 2887519152 extract_email_addr(From:<username@xxxmail.net>) return(username@xxxmail.net)
2007-12-06 22:31:24 8784 2887519152 [sFrom:From:<username@xxxmail.net>]
2007-12-06 22:31:24 8784 2887519152 smtp(): command issued :cmd [RCPT], value [To:<username@mydomain.com>]
2007-12-06 22:31:24 8784 2887519152 extract_email_addr(To:<username@mydomain.com>) return(0:username@mydomain.com)
2007-12-06 22:31:24 8784 2887519152 extract_domain(username@mydomain.com) return(username:mydomain.com:0)
2007-12-06 22:31:24 8784 2887519152 SQL_GetMember called(username)
2007-12-06 22:31:24 8784 2887519152 SQL_GetMember return [username][1077]
2007-12-06 22:31:24 8784 2887519152 [SMTP_RECEIVER_TYPE_USER]sending..... 250 OK
2007-12-06 22:31:24 8784 2887519152 smtp(): command issued [DATA]
2007-12-06 22:31:24 8784 2887519152 from:[From:<username@xxxmail.net>] mail_message(): iKnownSize=0
2007-12-06 22:31:24 8784 2887519152 receive_mail_message return(2788 bytes)

--> 2007-12-06 22:31:24 8784 2887519152 sending..... 250 OK
--> 2007-12-06 22:33:12 8784 2887519152 smtp(): command issued [QUIT]

2007-12-06 22:33:12 8784 2887519152 Data Size:[2788]
2007-12-06 22:33:12 8784 2887519152 FindForward(username@mydomain.com) not found
2007-12-06 22:33:12 8784 2887519152 ProcessMime called
2007-12-06 22:33:12 8784 2887519152 charset:[euc-kr]
2007-12-06 22:33:12 8784 2887519152 before ConvertToUtf8
2007-12-06 22:33:12 8784 2887519152 after ConvertToUtf8
2007-12-06 22:33:12 8784 2887519152 sSender:[<username@xxxmail.net>]
2007-12-06 22:33:12 8784 2887519152 body length:[1943]
2007-12-06 22:33:12 8784 2887519152 sContent:[1990]
2007-12-06 22:33:12 8784 2887519152 Initial receiver[username]
2007-12-06 22:33:12 8784 2887519152 [username][1077]
2007-12-06 22:33:12 8784 2887519152 SQL_New(username:username@xxxmail.net:dd:content:<username@xxxmail.net>:username) return(0)
2007-12-06 22:33:12 8784 2887519152 [END OF SMTP SERVICE][0]
-------------------------------------------------------------------------

Last edited by hcliff; 12-07-2007 at 06:56 AM..
# 2  
Old 12-07-2007
that's interesting, the data size is 2788, but quit is being issued two minutes later. Is this an reoccurring behavior ? What is the MTA, is this exim ?
# 3  
Old 12-07-2007
Quote:
Originally Posted by sysgate
that's interesting, the data size is 2788, but quit is being issued two minutes later. Is this an reoccurring behavior ? What is the MTA, is this exim ?
This kind of delay shows often in my MTA log. Sometimes it takes several minutes. I coded receiving MTA by myself. I am not sure what is sending MTA.

I am wondering what does the sending MTA do before 'QUIT'.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. OS X (Apple)

Are you sure you want to quit Safari?

Hmmm. I cannot figure out where to disable this warning message in Safari. Google says to disable something in Safari Tabs preferences but my Macs do not have that option in Mojave. Anyone know how to disable the following so when I quit Safari it simply quits without the "freeze the... (12 Replies)
Discussion started by: Neo
12 Replies

2. Shell Programming and Scripting

Need to quit out of for loop.

Hi, Here is my code to send read.txt to three servers. col="prd167.mybank.com prd168.mybank.com bsprd169.mybank.com" set -A look $col for IndixList in ${look}; do scp /tmp/read.txt admin@$IndixList:/tmp done This works and all the 3 servers gets the read.txt file. However,... (8 Replies)
Discussion started by: mohtashims
8 Replies

3. Windows & DOS: Issues & Discussions

[Template] Send SMTP email with Visual Basic Script (vbs) from Command Prompt using CDO

This is a script in visual basic that basically sends an email from an existing account, in this case the example is provided for live.com. It uses CDO (Collaboration Data Objects). All you need to do is replace the fields with the proper information. The email is send from Command Prompt... (0 Replies)
Discussion started by: Tribe
0 Replies

4. UNIX for Dummies Questions & Answers

Command to quit from vi editor

Hi Folks I have opened a log file in Vi editor vi abc.logPlease advise me how to finally quit from Vi editor, which command is there..! Is it :q<Enter> (1 Reply)
Discussion started by: KAREENA18
1 Replies

5. Shell Programming and Scripting

if no file then quit

I have a script that run several subscripts. I need to find out how to do two things. First I would like to check for a file and if that file is not there I want to quit the entire script without running the rest of the script which contain subscripts. If the file is there, I want it to continue... (1 Reply)
Discussion started by: libertyforall
1 Replies

6. UNIX for Dummies Questions & Answers

Problem tring to enable smtp service

People I'm trying to enable de smtp services of a solaris 10 and i get this sendmail: daemon MTA-v4: problem creating SMTP socket sendmail: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA-v4: server SMTP socket wedged: exiting Anyone Knows what is bad? Thank for your time ... (1 Reply)
Discussion started by: enkei17
1 Replies

7. UNIX and Linux Applications

Restrict SMTP Command

Hello , I want to restrict following SMTP command . DEBUG WIZ KILL Any idea for this ? - AVK (1 Reply)
Discussion started by: avklinux
1 Replies

8. Shell Programming and Scripting

quit any time

how can i read input to quit any time, for instance "type q to quit" I have a script like this echo "The first choice" read firstChoice echo "The second choice" read secondChoice Looking for a code to quit any time by pressing q to quit any help would be appreciated thanks (5 Replies)
Discussion started by: Qwond
5 Replies

9. UNIX for Dummies Questions & Answers

how to quit from glance

hi, if i am in glance, how do i exit? thanks (2 Replies)
Discussion started by: yls177
2 Replies
Login or Register to Ask a Question