|
|
| Author |
Message |
TroyBoy none

Joined: 08 Jun 2004 Posts: 12
|
Posted: Jun 11, 2004 10:33am Post subject: msg nickserv sendpass nick - takes exactly 1 minute |
|
|
I did:
| Code: | 00:15:50 -> *nickserv* sendpass TroyBoy
00:15:59 -> *nickserv* info TroyBoy all
00:16:50 -NickServ- Password of TroyBoy has been sent.
00:16:50 -NickServ- TroyBoy is Troy Parry
00:16:50 -NickServ- TroyBoy is a services root administrator. |
You'll notice that after I requested my password to be emailed to me, services were clogged up for exactly 1 minute. Then it informed me that the password was emailed (in which it was, and received exactly 1 min after I requested it).
After that, my request for info was returned too.
Why does it take exactly 1 minute?
Why does it also clog up services from sending me anything else? |
|
| Back to top |
|
 |
uchat Idler

Joined: 17 Mar 2004 Posts: 335
|
Posted: Jun 11, 2004 12:29pm Post subject: |
|
|
| looks like network lag ... the info results should be instantanious. |
|
| Back to top |
|
 |
ed SearchIRC Staff

Joined: 25 May 2003 Posts: 367 Location: Baton Rouge, LA
|
Posted: Jun 11, 2004 12:35pm Post subject: |
|
|
| Unless sendmail (or whatever mail client you are using) is taking a long time to respond, and it wont do anything until it gets a response from sendmail? |
|
| Back to top |
|
 |
TroyBoy none

Joined: 08 Jun 2004 Posts: 12
|
Posted: Jun 11, 2004 12:58pm Post subject: |
|
|
Im using unreal ircd 3.2 and anope 1.7.3 - both running on Linux.
Its configured for sendmail. My email server is running on another server.
I get the email exactly 1 minute after ive issued the command in mirc.
Id test to see if sendmail takes a while, but dont know how.
I dont know how to terminate sendmail after I have typed up an email.
What keys do you press to finish the email in sendmail? |
|
| Back to top |
|
 |
TroyBoy none

Joined: 08 Jun 2004 Posts: 12
|
Posted: Jun 11, 2004 12:59pm Post subject: |
|
|
| uchat wrote: | | looks like network lag ... the info results should be instantanious. |
Lag is definitely out of the question.
It takes exactly 1 minute to complete, and all the servers are local.
Ive run this several times, with the same timing. |
|
| Back to top |
|
 |
openglx none

Joined: 17 Jul 2003 Posts: 28
|
Posted: Jun 11, 2004 4:49pm Post subject: |
|
|
That's because services wait 1 minute before sending the email...
The timer can be changed on your services.conf file
It is relative to the UpdateTimeOut setting, as far I remember |
|
| Back to top |
|
 |
uchat Idler

Joined: 17 Mar 2004 Posts: 335
|
Posted: Jun 11, 2004 4:51pm Post subject: |
|
|
| openglx wrote: | That's because services wait 1 minute before sending the email...
The timer can be changed on your services.conf file
It is relative to the UpdateTimeOut setting, as far I remember |
Services should not wait one minute to send an /ns info reply though. |
|
| Back to top |
|
 |
Ashen Idler

Joined: 05 Jan 2004 Posts: 285
|
Posted: Jun 11, 2004 10:29pm Post subject: |
|
|
| I don't know about this bug (if it is one)........ but maybe you should ask the maintainers/coders of your services package, rather then here? We can guess and poke around, but they will probably have a much better idea about this and how to fix it if a fix is needed. |
|
| Back to top |
|
 |
TroyBoy none

Joined: 08 Jun 2004 Posts: 12
|
Posted: Jun 11, 2004 11:57pm Post subject: |
|
|
Well I wasnt too sure if it had something to do with Unreal ircd, or Anope.
Its good to ask here to find out who else has had the problem, and possibly someone else may have already wasted alot of time to fix it.
Im sure it would be Anope now. I just wish things were fully documented (boy, there sure is a lack of that!). |
|
| Back to top |
|
 |
Ashen Idler

Joined: 05 Jan 2004 Posts: 285
|
Posted: Jun 12, 2004 1:22am Post subject: |
|
|
I use anope and find it to be quite well documented.
Having said that though, there is always a tradeoff between documentation and development.
New features are seldom documented until they are stable and well mapped out / developed...
so if you run the 'unstable' version of a piece of software, expect there to be little documentation
as it simply has not been written yet. If you run stable, however, expect more stable code with
less features and better documentation.
If you really need documentation you might consider going with the tried and tested stable versions of software. |
|
| Back to top |
|
 |
Monosex none

Joined: 08 Apr 2004 Posts: 14
|
Posted: Jun 12, 2004 8:12am Post subject: |
|
|
| I had this problem once, too, but with ircservices. I simply used the smtp module instead, but AFAIK anope can only use sendmail. |
|
| Back to top |
|
 |
bananaboy none

Joined: 14 Jun 2004 Posts: 9
|
Posted: Jun 14, 2004 8:24pm Post subject: delay. |
|
|
if you look in your services.conf. It could be part of this same line.
All depends how a person reads the comments to it.
under mail-related options. in anope 1.7.3
it says.
# MailDelay <time> [RECOMMENDED]
#
# This controls the minimum amount of time an user must wait before sending
# another mail after it has sent one. It also controls the minimum time
# an user must wait before it can receive another mail.
#
# This feature prevents users from being mail bombed using Services and
# should definitely be used.
MailDelay 5m
that is about the only config in the services.conf. what does yours say. if it says 1m. then that was it. if not. then. hmmm. hehe |
|
| Back to top |
|
 |
w00t Eleet

Joined: 09 Jun 2004 Posts: 699 Location: Nowra, Australia
|
Posted: Jun 14, 2004 8:39pm Post subject: |
|
|
That isnt it.
That just controls how long before someone can request a sendpass again. (to stop someone flooding with SENDPASS and therefore spamming ) |
|
| Back to top |
|
 |
uchat Idler

Joined: 17 Mar 2004 Posts: 335
|
Posted: Jun 14, 2004 9:01pm Post subject: |
|
|
w00t, exactlly where did you see the word SENDPASS in the MailDelay description??
Besides that still doesn't explain why Services waited 60 seconds to reply to an INFO request .. which should be instantly. |
|
| Back to top |
|
 |
w00t Eleet

Joined: 09 Jun 2004 Posts: 699 Location: Nowra, Australia
|
Posted: Jun 14, 2004 9:46pm Post subject: |
|
|
SENDPASS was an example.
It sounds to me as though services is getting caught up waiting for a response from Sendmail, screwy configuration of sendmail is my bet.
It wont respond to the info cause its waiting for sendmail... |
|
| Back to top |
|
 |
|