f



sendmail does not accept connections from time to time

hi,

i have a small problem with a big impact. sometimes after restarting 
sendmail (by using /usr/sbin/rcsendmail restart or the script in 
/etc/init.d) it doesn't accept connections. ps -ef |grep acc shows me 
nothing... then i restart it again an then i can see "sendmail: 
accpeting connection".

i can replicate it by restarting sendmail a couple of times and from 
time to time it doesn't accept connections


i'm running sendmail 8.13 (sendmail-8.13.1-5) on Suse Linux 9.2

****

hosting:/usr/local/confixx # /usr/sbin/rcsendmail restart; ps -ef |grep acc
Shutting down SMTP port                                              done
Initializing SMTP port (sendmail)                                    done
root     25277     1  0 14:20 ?        00:00:00 sendmail: accepting 
connections
root     25284 18331  0 14:20 pts/0    00:00:00 grep acc

hosting:/usr/local/confixx # /usr/sbin/rcsendmail restart; ps -ef |grep acc
Shutting down SMTP port                                              done
Initializing SMTP port (sendmail)                                    done
root     25308     1  0 14:20 ?        00:00:00 sendmail: accepting 
connections
root     25315 18331  0 14:20 pts/0    00:00:00 grep acc

hosting:/usr/local/confixx # /usr/sbin/rcsendmail restart; ps -ef |grep acc
Shutting down SMTP port                                              done
Initializing SMTP port (sendmail)                                    done
root     25407 18331  0 14:21 pts/0    00:00:00 grep acc

hosting:/usr/local/confixx # /usr/sbin/rcsendmail restart; ps -ef |grep acc
Shutting down SMTP port                                              done
Initializing SMTP port (sendmail)                                    done
root     25430     1  0 14:21 ?        00:00:00 sendmail: accepting 
connections
root     25442 18331  0 14:21 pts/0    00:00:00 grep acc
**

any idea?

thanks
torsten
0
8/23/2005 4:07:25 PM
comp.mail.sendmail 13518 articles. 1 followers. jfretby (35) is leader. Post Follow

8 Replies
728 Views

Similar Articles

[PageSpeed] 6

Torsten Bauer <nowhere@handshake.de> writes:

> hi,
> 
> i have a small problem with a big impact. sometimes after restarting
> sendmail (by using /usr/sbin/rcsendmail restart or the script in
> /etc/init.d) it doesn't accept connections. ps -ef |grep acc shows me
> nothing... then i restart it again an then i can see "sendmail:
> accpeting connection".
> 
> i can replicate it by restarting sendmail a couple of times and from
> time to time it doesn't accept connections
> 
> 
> i'm running sendmail 8.13 (sendmail-8.13.1-5) on Suse Linux 9.2
> [...]
> any idea?

Standard "request for additional info":
What is reported in the log file?

-- 
Andrzej [en:Andrew] Adam Filip anfi@priv.onet.pl anfi@xl.wp.pl
http://www.sendmail.org/faq/ http://anfi.homeunix.net/sendmail/ 
0
anfi (2014)
8/23/2005 4:22:05 PM
Andrzej Adam Filip schrieb:
> Torsten Bauer <nowhere@handshake.de> writes:
> 
> 
>>hi,
>>
>>i have a small problem with a big impact. sometimes after restarting
>>sendmail (by using /usr/sbin/rcsendmail restart or the script in
>>/etc/init.d) it doesn't accept connections. ps -ef |grep acc shows me
>>nothing... then i restart it again an then i can see "sendmail:
>>accpeting connection".
>>
>>i can replicate it by restarting sendmail a couple of times and from
>>time to time it doesn't accept connections
>>
>>
>>i'm running sendmail 8.13 (sendmail-8.13.1-5) on Suse Linux 9.2
>>[...]
>>any idea?
> 
> 
> Standard "request for additional info":
> What is reported in the log file?

that's my main problem... there seems to be nothing in the log.. if i 
should increase a debug level or whatever pls let me know and i will do 
it.. this time i had only to restart it two times to have it ignoring 
acceptions.... the third restart brought it up fine again...

/var/log/messages:
<nothing>

/var/log/mail:
Aug 23 20:57:01 hosting sendmail-client[15658]: persistent queue runner 
control process: lost all children: wait returned ECHILD
Aug 23 20:57:01 hosting sendmail-client[15714]: starting daemon 
(8.13.1): persistent-queueing@00:01:00

/var/log/mail.warn:
Aug 23 20:57:01 hosting sendmail-client[15658]: persistent queue runner 
control process: lost all children: wait returned ECHILD

/var/log/mail.err:
Aug 23 20:57:01 hosting sendmail-client[15658]: persistent queue runner 
control process: lost all children: wait returned ECHILD

/var/log/mail.info:
Aug 23 20:57:01 hosting sendmail-client[15658]: persistent queue runner 
control process: lost all children: wait returned ECHILD
Aug 23 20:57:01 hosting sendmail-client[15714]: starting daemon 
(8.13.1): persistent-queueing@00:01:00




thanks
torsten

0
8/23/2005 7:04:22 PM
Torsten Bauer  wrote:

> i have a small problem with a big impact. sometimes after restarting 
> sendmail (by using /usr/sbin/rcsendmail restart or the script in 
> /etc/init.d) it doesn't accept connections. ps -ef |grep acc shows me 

Maybe you can tell us what those scripts do? They aren't part of
the sendmail.org distribution. It seems they doing a good job
at restarting sendmail (kill -HUP should work fine).

-- 
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting my time.
0
Claus
8/23/2005 8:21:24 PM
Claus A�mann schrieb:
> Torsten Bauer  wrote:
> 
> 
>>i have a small problem with a big impact. sometimes after restarting 
>>sendmail (by using /usr/sbin/rcsendmail restart or the script in 
>>/etc/init.d) it doesn't accept connections. ps -ef |grep acc shows me 
> 
> 
> Maybe you can tell us what those scripts do? They aren't part of
> the sendmail.org distribution. It seems they doing a good job
> at restarting sendmail (kill -HUP should work fine).

hmm they are part of the rpm which is installed on a standard suse 
system... even if i use the rc script this problems occurs
here's the sendmail script out of /etc/init.d - maybe that helps

thanks
torsten

(using it with /etc/init.d/sendmail restart)



#! /bin/sh
# Copyright (c) 1996-2002 SuSE Gmbh Nuernberg, Germany.
#
# Author: Florian La Roche, 1996, 1997
#	  Werner Fink <feedback@suse.de>, 1996, 1999-2002
#
### BEGIN INIT INFO
# Provides:       sendmail
# Required-Start: $remote_fs $time
# Required-Stop:
# X-UnitedLinux-Should-Start: amavis ypbind
# X-UnitedLinux-Should-Stop:
# Default-Start:  3 5
# Default-Stop:
# Description:    Start the Sendmail MTA
### END INIT INFO

test -s /etc/sysconfig/mail && \
       . /etc/sysconfig/mail

test -s /etc/sysconfig/sendmail && \
       . /etc/sysconfig/sendmail

if test -z "$SENDMAIL_ARGS" ; then
	SENDMAIL_ARGS="-L sendmail -Am -bd -q30m -om"
fi
if test -z "$SENDMAIL_CLIENT_ARGS" ; then
	SENDMAIL_CLIENT_ARGS="-L sendmail-client -Ac -qp30m"
fi
if test "$SMTPD_LISTEN_REMOTE" != "yes" ; then
	SENDMAIL_ARGS="-O DaemonPortOptions=Addr=127.0.0.1 $SENDMAIL_ARGS"
fi
msppid=/var/spool/clientmqueue/sm-client.pid
srvpid=/var/run/sendmail.pid

.. /etc/rc.status
rc_reset
case "$1" in
     start)
	echo -n "Initializing SMTP port (sendmail)"
	startproc    -p $srvpid /usr/sbin/sendmail $SENDMAIL_ARGS
	rc_status
	startproc -f -p $msppid /usr/sbin/sendmail $SENDMAIL_CLIENT_ARGS
	rc_status -v
	;;
     stop)
	echo -n "Shutting down SMTP port"
	killproc -p $msppid -TERM /usr/sbin/sendmail
	rc_status
	killproc -p $srvpid -TERM /usr/sbin/sendmail
	rc_status -v
	;;
     try-restart)
	$0 stop && $0 start
	rc_status
	;;
     restart)
	$0 stop
	$0 start
	rc_status
	;;
     reload|force-reload)
	echo -n "Reload service sendmail"
	killproc -p $srvpid -HUP /usr/sbin/sendmail
	rc_status -v
	;;
     status)
	echo -n "Checking for service sendmail: "
	checkproc -p $srvpid /usr/sbin/sendmail
	rc_status
	checkproc -p $msppid /usr/sbin/sendmail
	rc_status -v
	;;
     probe)
	test /etc/sendmail.cf -nt $srvpid -o /etc/mail/submit.cf -nt $msppid \
	&& echo reload
	;;
     *)
	echo "Usage: $0 
{start|stop|status|try-restart|restart|force-reload|reload|probe}"
	exit 1
esac
rc_exit
0
8/23/2005 9:20:10 PM
Torsten Bauer  wrote:

> hmm they are part of the rpm which is installed on a standard suse 
> system... even if i use the rc script this problems occurs

Whatever "standard" is...

> here's the sendmail script out of /etc/init.d - maybe that helps

Not really... but

>      restart)
> 	$0 stop
> 	$0 start

Instead of stopping and starting it should just send HUP
to the daemon process.

I don't know what startproc or killproc do, but they may not
check properly whether the start/stop was succesful.

You might want to ask SuSE for help about their init script
(or simply patch it).

-- 
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting my time.
0
Claus
8/23/2005 11:35:10 PM
Claus A�mann schrieb:
> Torsten Bauer  wrote:
> 
>>here's the sendmail script out of /etc/init.d - maybe that helps
> 
> 
> Not really... but
> 
> 
>>     restart)
>>	$0 stop
>>	$0 start
> 
> 
> Instead of stopping and starting it should just send HUP
> to the daemon process.
> 
> I don't know what startproc or killproc do, but they may not
> check properly whether the start/stop was succesful.
> 
> You might want to ask SuSE for help about their init script
> (or simply patch it).

unfortunalty my understanding of sendmail and init scripts is not good 
enough to really do it without doing it wrong...

i played again a bit with starting / stopping and it seems that you're 
right... it seems not to check properly if stop was successful...

after stopping sendmail with the init script there are still processes 
running:

hosting:~ # ps -ef |grep send
root     25249     1  0 07:40 ?        00:00:00 sendmail: j7O5er05025249 
dsl-084-060-010-231.arcor-ip.net [84.60.10.231]: MAIL FROM


and if that is the case then a restart of sendmail will result in not 
accepting connections...


do you may have start script you can share? or to which processes ould i 
need to send a HUP - and maybe how... in normal circumstances that's are 
my sendmail processes:

hosting:~ # ps -ef |grep send
root     25628     1  0 07:45 ?        00:00:00 sendmail: accepting 
connections
mail     25632     1  0 07:45 ?        00:00:00 sendmail: Queue control 

mail     25633 25632  0 07:45 ?        00:00:00 sendmail: running queue: 
/var/spool/clientmqueue


thanks a lot

torsten




0
8/24/2005 5:46:25 AM
Torsten Bauer  wrote:

> after stopping sendmail with the init script there are still processes 
> running:

> hosting:~ # ps -ef |grep send
> root     25249     1  0 07:40 ?        00:00:00 sendmail: j7O5er05025249 
> dsl-084-060-010-231.arcor-ip.net [84.60.10.231]: MAIL FROM

That's ok, it's not the daemon.

> and if that is the case then a restart of sendmail will result in not 
> accepting connections...

That shouldn't happen for this case.

> do you may have start script you can share? or to which processes ould i 

For restart use kill -HUP ${PID_of_Daemon}

You might want to look at script used by FreeBSD.

-- 
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting my time.
0
Claus
8/24/2005 3:40:17 PM
Torsten Bauer <nowhere@handshake.de> writes:

> Claus A�mann schrieb:
> > Torsten Bauer  wrote:
> >
> >>here's the sendmail script out of /etc/init.d - maybe that helps
> > Not really... but
> >
> >>     restart)
> >>	$0 stop
> >>	$0 start
> > Instead of stopping and starting it should just send HUP
> > to the daemon process.
> > I don't know what startproc or killproc do, but they may not
> > check properly whether the start/stop was succesful.
> > You might want to ask SuSE for help about their init script
> > (or simply patch it).
> 
> unfortunalty my understanding of sendmail and init scripts is not good
> enough to really do it without doing it wrong...
> 
> i played again a bit with starting / stopping and it seems that you're
> right... it seems not to check properly if stop was successful...
> 
> after stopping sendmail with the init script there are still processes
> running:
> 
> hosting:~ # ps -ef |grep send
> root     25249     1  0 07:40 ?        00:00:00 sendmail:
> j7O5er05025249 dsl-084-060-010-231.arcor-ip.net [84.60.10.231]: MAIL
> FROM

This should not matter. It is not deamon listening smtp -port
(instead it is subprocess, which is handling incoming connection).
 
> and if that is the case then a restart of sendmail will result in not
> accepting connections...
> 
> 
> do you may have start script you can share? or to which processes ould
> i need to send a HUP - and maybe how... in normal circumstances that's
> are my sendmail processes:

Sendmail writes it to sendmail.pid -file.

> hosting:~ # ps -ef |grep send
> root     25628     1  0 07:45 ?        00:00:00 sendmail: accepting
> connections
> mail     25632     1  0 07:45 ?        00:00:00 sendmail: Queue
> control mail     25633 25632  0 07:45 ?        00:00:00 sendmail:
> running queue: /var/spool/clientmqueue
> 
> 
> thanks a lot
> 
> torsten

/ Kari Hurtta
0
hurtta (156)
8/24/2005 3:43:19 PM
Reply:

Similar Artilces:

Sendmail 8.14.3 not sendmail hugely attached e-mail files in a timely manner
What could be the problem. They seem stuck and I have to run sendmail -v -q manually just to get them to propogate. Any reason why? -- Member - Liberal International This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca God, Queen and country! Beware Anti-Christ rising! Never Satan President Republic! If you cannot lead a family how can you pastor a church? The Doctor unleashed the infinite monkeys on 21/05/2009 00:07 producing: > What could be the problem. > > They seem stuck and I have to run sendmail -v -q manually just > to get them to propogate. > > Any reason why? With so little information, it's impossible to help you. How do you define "huge"? How long do you wait? What's in your mail logs? -- Rob MacGregor (BOFH) Rule 37: "There is no 'overkill'. There is only 'open fire' and 'I need to reload.'" ...

sendmail timed out
Hi I am running FreeBSD 6.1 and trying to send a test message as a user : >echo 'test msg' | sendmail xxxxxxxxxx@understudy.net Jun 25 23:38:25 Hyde sm-mta[675]: k5Q3cPdT000675: from=<bhorne@Hyde.brendhanhorn e.com>, size=373, class=0, nrcpts=1, msgid=<200606260338.k5Q3cPc7000674@Hyde.bre ndhanhorne.com>, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1] Jun 25 23:38:25 Hyde sendmail[674]: k5Q3cPc7000674: to=understudy@understudy.net , ctladdr=bhorne (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri =30009, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k5Q3cPdT000675 Mess age accepted for delivery) Jun 25 23:39:40 Hyde sm-mta[677]: k5Q3cPdT000675: to=<understudy@understudy.net> , ctladdr=<bhorne@Hyde.brendhanhorne.com> (1001/1001), delay=00:01:15, xdelay=00 :01:15, mailer=esmtp, pri=30373, relay=mail.understudy.net. [212.187.158.83], ds n=4.0.0, stat=Deferred: Operation timed out with mail.understudy.net. How can I get message accepted for delivery and then have it get a timeout message? Sincerely, Brendhan Understudy wrote: > Hi > > I am running FreeBSD 6.1 and trying to send a test message as a user : > >echo 'test msg' | sendmail xxxxxxxxxx@understudy.net > > Jun 25 23:38:25 Hyde sm-mta[675]: k5Q3cPdT000675: > from=<bhorne@Hyde.brendhanhorn > e.com>, size=373, class=0, nrcpts=1, > msgid=<200606260338.k5Q3cPc7000674@Hyde.bre > ndhanhorne.com>...

time in milliseconds by calling time.time()
I am trying to measure some system response time by using the time.time () or time.clock() in my script. However, the numbers I get are in 10s of milliseconds. For example, 1248481670.34 #from time.time() 0.08 #from time.clock() That won't work for me, since the response time may be only a few milliseconds. My environment is Solaris 10 with Python 2.4.4 (#7, Feb 9 2007, 22:10:21). SunOS 5.10 Generic_137112-07 i86pc i386 i86pc The tricky thing is, if I run the python interpreter and import the time module, I can get a time floating number in better precision by cal...

sendmail sendmail[12024]: [ID 801593 mail.crit] k560CUvG012024: SYSERR(root): collect: read timeout on connection from ???????, ???????
Does anyone else get this error messages. What does this mean?? What can I do to fix this? sendmail sendmail[12024]: [ID 801593 mail.crit] k560CUvG012024: SYSERR(root): collect: read timeout on connection from ??????, ???? OS Solaris 10 Sendmail 8.13.6 Thanks Jeff spellman.jeff@gmail.com wrote: > Does anyone else get this error messages. What does this mean?? > What can I do to fix this? > sendmail sendmail[12024]: [ID 801593 mail.crit] k560CUvG012024: > SYSERR(root): collect: read timeout on connection from ??????, ???? > > OS Solaris 10 > Sendmail 8.13.6 > > Thanks > Jeff > The sender didn't complete a particular phase of the smtp protocol. Possibly completed the helo xxxxx.xxx but not the mail from:, or neither. Basically it means they hung up on you. Telnet to your mailer and experiment with incomplete stanzas, begining with helo..., mail from:..., rcpt to:..., data... and drop the connection before completing each stanza. Bonus points for using log level 15 or greater. dp ...

Sendmail outbound mail sent to google using SSL/TLS times out
Hello,=20 I've been trying to configure a sendmail system recently to use SSL/TLS so = that I can use SMTP Auth. Everything seems to be working with the exception= that now I am unable to send mail to any gmail/google accounts. Instead I = get bounce messages back indicating that for all of the google servers it t= imes out. If I try to directly connect to any of the google servers and man= ually send mail witout using SSL or TLS it works just fine. Am I missing so= mething with my configuration? Any help would be appreciated. ...

Can Sendmail modify the envelope time offset from GMT for mail to/from certain hosts?
Hello, We use Sendmail as a central MTA in our organisation to route messages internally between different types of mailservers using a virtusertable. One of the custom-made mailservers always sends mail as, e.g., GMT+1 when it should be GMT+2. Unfortunately, that can't be changed in the software. Is there a way in Sendmail to modify the envelope on messages to or from certain hosts (or even certain users) to replace the time offset with, e.g., GMT+1 instead of GMT+2? Just wondering. Thanks in advance for any help. Regards, - Alan. On 07/03/07 10:10, Alan wrote: > Is there a way in Sendmail to modify the envelope on messages to or > from certain hosts (or even certain users) to replace the time offset > with, e.g., GMT+1 instead of GMT+2? I don't think stock Sendmail can do this. You are asking to modify the contents of a message, not the envelope, which is what Sendmail usually modified. I'd say that you could write a milter to do this, or an SMTP proxy that would do this in between Sendmail and the apparently confused MTA. > Just wondering. Thanks in advance for any help. No harm in asking. Grant. . . . ...

sending mail
I am using Eudora 6.1.2 sponsored version to check a yahoo pop account. Previously when using a different internet service provider I was able to receive and send email without a problem. Now with comcast I cannot send email. I have already set the outgoing smtp to that of the ISP and checked and rechecked the settings. I have also searched the internet for help without any luck. Help! carol.schwendener@gmail.com (Carol) wrote in news:2482b426.0410180942.2ad76a04@posting.google.com: > I cannot send email. I have already set the outgoing smtp to that of > the ISP and checked and rechecked the settings. You need to recheck the settings again. Comcast's SMTP server is smtp.comcast.net, not smtp.comcast.com as you have written in the subject line. ...

Time + time.local
Hi - I cant seem to get localtime to work, can anyone share some gotchas? ## check environment is setup [dc@fox:~]$ echo $TZ Japan/Tokyo [dc@fox:~]$ irb irb(main):001:0> ENV['TZ'] => "Japan/Tokyo" # so the env is coming through ok... or is it? irb(main):021:0> u=Time.now.utc => Tue Jan 04 06:21:25 UTC 2011 irb(main):019:0> t1=Time.now.localtime => Tue Jan 04 06:21:02 +0000 2011 irb(main):020:0> t1.zone => "UTC" ### so it seems zone is being ignored # is there any way to override/forcibly set the timezone? ir...

timing and timing reports (again)
hi ich have question about timing. i have an edk design with microblaze (using spartan 3e 500) where i use an ip core that i wrote myself. when i implement the design i get the following timing output in my console. ------------------------------------------------------------------------------------------------------ Constraint | Check | Worst Case | Best Case | Timing | Timing | | Slack | Achievable | Errors | Score -------------------------------------------------------------------------------...

Time Divided by Time is What?
I thought a time quantity divided by a time quantity would be a real, but it seems to be an integer. Can anyone confirm that? I can't find a reference that discusses this. Rick On Saturday, November 17, 2012 7:12:31 PM UTC-5, rickman wrote: > I thought a time quantity divided by a time quantity would be a real, but it seems to be an integer. Can anyone confirm that? I can't find a reference that discusses this. Rick Yes, time/time is an integer. If you need more precision than integer than you can do something like this as an example... real(time/1ps)/1E12 Kevin Jennings On 11/17/2012 9:17 PM, KJ wrote: > On Saturday, November 17, 2012 7:12:31 PM UTC-5, rickman wrote: >> I thought a time quantity divided by a time quantity would be a real, but it seems to be an integer. Can anyone confirm that? I can't find a reference that discusses this. Rick > > Yes, time/time is an integer. If you need more precision than integer than you can do something like this as an example... > > real(time/1ps)/1E12 > > Kevin Jennings That's essentially what I did. Thanks for the confirmation. My concern is that time has the potential of being much larger than an integer can hold, but then it would have a lot more precision than a real can hold either. I guess it is best to do time math in the time domain until you need to convert it to something else, like a trig function, e.g. sin(pi*1e-9*real((2*freq*no...

Times Returned by TIME()
I would have posted this on the Quicksilver group but couldn't find it. We have a Quicksilver system that picks up files from a Windows eftpos application. There have been some slowdowns in the process and we've added some logging to identify the culprit. When the QS app detects a file, it writes a log record using time derived from TIME(). It shells out to a Clipper app which returns ADIR() data on the file. What we are finding on the test PC (XP) is that the ADIR() time of the file is approximately 2 seconds later than the TIME() value recorded. Does anyone have an explanation? Th...

Sendmail
Greetings to the -L, We are thinking about using Sendmail/iX on our new 979-400 (running MPE/iX 6.5) which does not currently have it installed. 1) Do I only need the SMLHDB9(A) patch for 8.13.1 or must I get the SMLGDT8(A) and SMLHD15(A) patches and install 8.12.1 first? 2) I understand that Sendmail requires Syslog/iX. Where do I get it from? 3) Is there an 'Idiots Guide' to installing/configuring Sendmail and Syslog? regards, Robert W.Mills Systems Development Manager Windsong Services (020) 8309 3604 * To join/leave the list, search archives, change list se...

time.time() strangeness
Hello, today I encountered a very odd situation. I am on Windows Vista and usin= g = Python 2.5.2. Here's a code snippet to illustrate my problem: # uncomment the next line to trigger the problem # myExtensionModule.CreateDirect3D9Device() import time for i in range(0,100): print time.time() With the line commented time.time() returns a changing value which is wh= at = I expect. However, when I uncomment it and create a Direct3D9 Device = [1][2] it keeps printing the very same number over and over! In my proje= ct = I am using twisted which uses time.time() to schedule all calls. Since = time.time() is completely screwed the whole application breaks. I took a look at [3], but I can't see any obivous way how this all = interacts. Specifically I am not sure which API time.time() uses = internally (timeGetTime maybe?). Knowing this could probably help me deb= ug = more. I feel like time.time() should not break (unless the vid card = driver/directx has a major bug). Any idea what might be happening here? Replacing time.time() with time.clock() in twisted.python.runtime makes = = the problem disappear. I guess because it uses QueryPerformanceCounter. Thanks for your time, -Matthias References: [1] http://msdn2.microsoft.com/en-us/library/bb172527(VS.85).aspx [2] http://msdn2.microsoft.com/en-us/library/bb172527(VS.85).aspx [3] = http://svn.python.org/view/python/trunk/Modules/timemodule.c?rev=3D59678= &view=3Dmarkup Nitro <nitro@dr-c...

convert time string in UTC to time in local time
I'm guessing there is an easy way to do this but I keep going around in circles in the documentation. I have a time stamp that looks like this (corresponding to UTC time): start_time = '2007-03-13T15:00:00Z' I want to convert it to my local time. start_time = time.mktime(time.strptime(start_time, '%Y-%m-%dT%H:%M: 00Z')) start_time -= time.timezone This was working fine now, but if I do it for a date next week (such as March 13th in the above example), it breaks because my local time moves to daylight savings time this weekend. So my time is now off by an hour....

Sending mail without sendmail or highly secure sendmail
Hello all, I am setting up a very secure Red Hat Enterprise Linux Advanced Server version 4 update 6 server. My sendmail version is 8.13.1. My mail server is a Windows 2003 Server with Exchange 2003 with its patches. They are both on the same subnet. DNS is on and it will resolve the mail server's name and IP. SSH, SCP, SFTP, and such tools are the only networkable protocols on. NFS if off, MOUNTD is off, PORTMAP is off, and such. Until just recently sendmail was off on the RHEL server as part of the hardening procedure. However part of the auditing requirements is for a mail message to go out to some admin if certain events occur such as "disk is full," "a panic occurred," "the system rebooted" etc. So I will perhaps cut sendmail on and mitigate the risk as best as possible. So, this sounds dumb, but can you send mail without sendmail. I think perhaps no, but I thought I'd ask anyway. Secondly does anyone have a harden .mc file from which they could share what they did? Of course you can fudge in phoney IP and names to protect your secured environment. Advice or insight do any of you have on securing sendmail is appreciated? I want to avoid such things as promiscuous relays, unqualified senders, etc etc. But if it must be ... it must be. :) Thanks George <george.e.sullivan@saic.com> wrote: > I am setting up a very secure Red Hat Enterprise Linux Advanced Server > version 4 update 6 server. My sendmai...

Timing run time
I would like to compare the speed of two algorithms solving the same problem. As far as I understood, the tic-toc command gives the time difference between the beginning and the end of the computation, without taking into account the time spent by the processor doing something else. I'm using a multi-processor multi-users machine and the CPU time used by my process is not 100% and is not constant. The measured speeds are fluctuating so much that I can hardly conclude anything. Is it possible to obtain realistic measurements of the speed of my algorithms? Thanks for your help Dear Didi...

question about sendmail and exchange at same time
Here is the problem that I have. I have linux users that want to use pine/mail to check mail on linux. and Windows users that want to use the current Exchange server. The company wants sendmail as the frontend to the exchange server. I want to setup and sendmail server that acts as the smtp gateway and be used for pop and imap over ssl. I would like sendmail and exchange to have the same messages. As sendmail recieves it then forwards a copy onto the exchage server but keeps a local copy for the linux users and anyone that happens to travel for pop or imap. So the message would be in both p...

sendmail very slow at bootup time
I assign an IP address to ServerName in Apache /etc/httpd/conf/httpd.conf file..Now when I boot up Linux, it usually stall at 'sendmail' for quite a long while before say OK and continue booting..Does anyone know what is the problem and solve it? Also, my current PC have 2 NIC. First NIC connect to Internet, and second NIC connect to a hub..Some other PCs are connect to that hub. I would like to setup DNS and then assign Domain name..How can I do that? Thank you.. On Thu, 28 Aug 2003 01:08:09 -0400, K T wrote: > I assign an IP address to ServerName in Apache /etc/httpd/conf/httpd.conf > file..Now when I boot up Linux, it usually stall at 'sendmail' for quite a > long while before say OK and continue booting..Does anyone know what is the > problem and solve it? Put your fully qualified domain name in /etc/hosts. > Also, my current PC have 2 NIC. First NIC connect to Internet, and second > NIC connect to a hub..Some other PCs are connect to that hub. I would like > to setup DNS and then assign Domain name..How can I do that? Thank you.. http://www.tldp.org/HOWTO/DNS-HOWTO.html ...

covert standard time (AMPM time) to Military time
What is the best way to covert standard time (AMPM time) to Military time? data test; input @1 mytime 5.; @6 ampm $2.; cards; 04:20AM 07:30PM 05:27AM 00:00PM 01:00AM 12:49AM 12:59PM ; run; Hi Lee, Try this... data test; input @1 mytime $ 5. @6 ampm $2.; new=compress(mytime||ampm); new_var=input(new,time8.); format new_var time.; cards; 04:20AM 07:30PM 05:27AM 00:00PM 01:00AM 12:49AM 12:59PM ; run; On Feb 12, 1:22=A0am, hummingbird10...@HOTMAIL.COM (Annie Lee) wrote: > What is the best way to covert standard time (AMPM time) to Military time= ? > > data test; > input >...

sendmail times out waiting for local :-(
Sometimes, when the e-mail traffic gets particularly high (spammers seem to like 6am EDT), my server can't cope -- every message gets checked by the procmail-executed spamprobe, which takes a while. Other spamprobe instances wait for the first one to finish (and release the lock), leading to sendmail timing out occasionally logging: timeout waiting for input from local during Draining Input I'm not sure, but it seems, the procmail/spamprobe get BY-PASSED, when this happens... Can I make sendmail return a temporary rejection to the relaying server in such cases instead? Thanks! -mi On 08/06/06 06:42, Mikhail Teterin wrote: > Sometimes, when the e-mail traffic gets particularly high (spammers seem to > like 6am EDT), my server can't cope -- every message gets checked by the > procmail-executed spamprobe, which takes a while. > > Other spamprobe instances wait for the first one to finish (and release the > lock), leading to sendmail timing out occasionally logging: > > timeout waiting for input from local during Draining Input > > I'm not sure, but it seems, the procmail/spamprobe get BY-PASSED, when this > happens... Can I make sendmail return a temporary rejection to the relaying > server in such cases instead? If you ran your spam filter as a milter, yes you would be able to configure Sendmail to TempFail the messages if your spam filter did not respond with in time. Specifically look at ...

Sent OSX Mail time different from System time?
I checked the system and it's correct - I live in EST but the time on the e-mails is from California. I checked the apple.com forums and there are tons of problems adddressed ( no pun intended) but not this one. Any help would be appreciated Barry Feldman >I checked the system and it's correct - I live in EST but the time on >the e-mails is from California. I checked the apple.com forums and >there are tons of problems adddressed ( no pun intended) but not this >one. Common problem, easy fix. Your computer's time zone is set wrong. You set the time zone in Date and...

Time Of Day From a time
Anyone know how to calulacute the time of day, ie hour 1-24 for a time stored in a database, using just a time in a record??? Dennis Mason N6PDB dennis@bonnydoonfire.org shit wrote: > Anyone know how to calulacute the time of day, ie hour 1-24 for a time > stored in a database, using just a time in a record??? > > Dennis Mason > N6PDB > dennis@bonnydoonfire.org If you stored the time value as a DateTime data type, you can display it in 24hr time using the Format() function: Format(time_column,"hh") In Debug window: ? format(now(),"hh") 19 Now() is 4/12/2006 7:01:11 PM. 1900 = 7PM. -- MGFoster:::mgf00 <at> earthlink <decimal-point> net Oakland, CA (USA) ...

Time on Sent Mail One Hour Ahead of Current Time
I am trying to post this one again since last time I did not get an answer on point. On one of my Notes clients, email that is going out is time stamped one hour ahead of the current time. The timestamp on the mail is one hour ahead of the clock on the PC where the email is sent. At the time the mail is sent, Notes client shows the correct timestamp. The moment I send the mail and go to inspect the saved mail in the Sent or All Document view, it is stamped one hour ahead. Since the timestamp is created by the client and the email is so marked before the server gets the ma...

time defference betweem two time when time is given in numeric
i want time defferance between two times,,, which given in numeric formate,,, &nbsp; vi si attached,.,, with,, &nbsp; if any one can help me... :smileysad: time difference.vi: http://forums.ni.com/attachments/ni/170/187064/1/time difference.vi Hiii, Conselis &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks for the reply man, yes thats wat i couldnt understand that it is already in the numeric format and i just have to change the format ...

Web resources about - sendmail does not accept connections from time to time - comp.mail.sendmail

Connection - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

iMedia Connection: Interactive Marketing News, Features, Podcasts and Video - iMediaConnection.com
High-quality data, if not used properly, can still lead marketers to make bad decisions. Consider these common ways that numbers are used to ...

HTTP persistent connection - Wikipedia, the free encyclopedia
... tacked on to an existing protocol. If the browser supports keep-alive, it adds an additional header to the request: Following this, the connection ...

Controversial Australian Cup protest could be costly for Awesome Rock's connections
Nothing arouses punters' feelings more than a controversial protest. Racing people still discuss with great vigour the Nausori-Big Philou Caulfield ...

7 Minnesota Connections To The NCAA Tournament
The Gophers aren't a part of March Madness, but there are enough Minnesota connections to the Big Dance to keep local fans engaged in the action ...

84 indicted in connection with NYC, New England drug-gun ring
Bronx DA says four gangs formed "an alliance of evil" to peddle cocaine and heroin in New Hampshire and Massachusetts

Young people prefer an Internet connection to daylight
Technically Incorrect: A UK survey suggests that daylight isn't all that at least in young people's enlightened minds. Neither is hot water. ...

26-year-old man arrested in connection with Iditarod crashes
ANCHORAGE, Alaska (AP) — A man suspected of intentionally driving a snowmobile into teams of two mushers near the front of the Iditarod Trail ...

Other Sports: For first time, NFL acknowledges connection between football-related brain trauma, CTE ...
In what could be a watershed moment in the debate about the long-term effects of head injuries in the nation's most popular sport, the NFL's ...

‘Daredevil’ Star Deborah Ann Woll Talks Karen Page’s “Screwed Up” Connection To The Punisher
Which crime classic did she read to nail their “cat and mouse” relationship?

Resources last updated: 3/25/2016 6:32:45 AM