Sponsored Content
Top Forums UNIX for Advanced & Expert Users Problem about SMTP 'QUIT' command Post 302149710 by hcliff on Friday 7th of December 2007 03:50:57 AM
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 05:56 AM..
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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

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

7. 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

8. 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

9. 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
lprm(1)                                                             Apple Inc.                                                             lprm(1)

NAME
lprm - cancel print jobs SYNOPSIS
lprm [ -E ] [ -U username ] [ -h server[:port] ] [ -P destination[/instance] ] [ - ] [ job ID(s) ] DESCRIPTION
lprm cancels print jobs that have been queued for printing. If no arguments are supplied, the current job on the default destination is cancelled. You can specify one or more job ID numbers to cancel those jobs or use the - option to cancel all jobs. OPTIONS
The lprm command supports the following options: -E Forces encryption when connecting to the server. -P destination[/instance] Specifies the destination printer or class. -U username Specifies an alternate username. -h server[:port] Specifies an alternate server. COMPATIBILITY
The CUPS version of lprm is compatible with the standard Berkeley lprm command. SEE ALSO
cancel(1), lp(1), lpq(1), lpr(1), lpstat(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2011 by Apple Inc. 28 August 2009 CUPS lprm(1)
All times are GMT -4. The time now is 07:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy