Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: Morpheus1200 on March 24, 2006, 01:34:22 AM

Title: NickServ Registration with Windows
Post by: Morpheus1200 on March 24, 2006, 01:34:22 AM
We run UnrealIRCD with Anope 1.7.13 on a windows 2003 Server.

what do I have to set in my services.conf so that NickServ sends an email when somebody wants to register a Nickname.
Title:
Post by: TRAiNER4 on March 24, 2006, 03:30:05 AM
that is an excellent question. I would like an answer to this also, as I am in a similar situation.
Title:
Post by: lonewolf on March 24, 2006, 02:46:29 PM
# NSEmailReg [OPTIONAL]
#      This option splits the nick registration into 2 steps,  the first
#      after registering a email with a passcode is sent to the supplied
#      email address, this passcode needs to be entered with a confirm
#      command before the nick registration will be completed.
#
#      You must have mail / forcemail set for this to work correctly.
#      It is also recommended that MailDelay be set to a sensible value
#      to prevent mail flooding. This setting is [REQUIRED] if NSEmailReg
#      is enabled.

NSEmailReg
Title:
Post by: Morpheus1200 on March 24, 2006, 03:47:05 PM
i try this but no email was send
Title:
Post by: ShelLuser on March 25, 2006, 07:46:01 PM
Quote
Originally posted by Morpheus1200
i try this but no email was send

What did you try?  Just this option?  If so then please read very carefully what it says about other needed options.

Are you sure that this isn't an issue with your mailserver ?
Title:
Post by: hussain on April 02, 2006, 09:59:21 PM
Well i am sure that u have the problem with Emailpath

# SendMailPath <path> [REQUIRED]
#
# This is how we should call SendMail to send a mail. It must be
# called with all parameters needed to make it scan the mail input
# to find the mail recipient; consult your SendMail documentation.
#
# Postfix users must use the compatible sendmail utility provided
# with it; this one usually needs no parameters on the command line.
# Most sendmail applications (or replacements of it) require the -t
# option to be used.

SendMailPath "/usr/sbin/sendmail -t"

Set aprropriate emailpath. Well i am not sure aboout the windows email path.

[Edited on 2-4-2006 by hussain]
Title:
Post by: WhiteHaze on April 19, 2008, 10:50:27 PM
Hi everyone,

I have the same problem, I think I've done something wrong in
the services.conf or made a mistake with the smtp server...

1)What am i supposed to put in SendMailPath? "/usr/sbin/sendmail -t"? or the IP of the smtp server?


2)How can i set up a smtp server correctly? i'm on WinXP(lame.... ) and i've set up the winXP smtp server but it do not work, i've also tried with another smtp server and the result was the same!



So if someone, a very kind one, could explain me how could i
get the "sendpass" or "NSEmailReg" options work i would be
very pleased :D


Thanks.

[Edited on 19-4-2008 by WhiteHaze]
Title:
Post by: Jobe on April 20, 2008, 12:28:31 PM
Well for SendmailPath you can put "anope2smtp <ipaddress>" where <ipaddress> is the IP address of an SMTP server that will allow relaying of emails from the IP Anope will send from without authentication.

As for setting up an SMTP server, that's really beyond the scope of this forum.
Title:
Post by: katsklaw on April 20, 2008, 01:36:17 PM
As this is Win 2k3 server, you should have an MTA installed or it can be installed as a windows component, then use anope2smtp as jobe suggested with your localhost IP
Title:
Post by: WhiteHaze on April 21, 2008, 09:59:16 AM
Thanks a lot guys i'm gonna try this afternoon.
Title: Re:
Post by: Izv143 on August 31, 2008, 04:45:50 AM
Well for SendmailPath you can put "anope2smtp <ipaddress>" where <ipaddress> is the IP address of an SMTP server that will allow relaying of emails from the IP Anope will send from without authentication.

As for setting up an SMTP server, that's really beyond the scope of this forum.
Can you give us example with this "anope2smtp <ipaddress>", is it like "anope2smtp 1.2.3.4" and what about /usr/sbin/sendmail -t, if you can put together everything what has to be done in here SendMailPath.
1. SendMailPath "anope2smtp 1.2.3.4" or
2. SendMailPath "anope2smtp 1.2.3.4/usr/sbin/sendmail -t"
3. Something else

For example my e-mail is on the BlueHost services@mydomain.com
Title: Re: NickServ Registration with Windows
Post by: Jobe on August 31, 2008, 11:27:19 AM
1. SendMailPath "anope2smtp 1.2.3.4"
Is the correct syntax as stated repeatedly above.

Where the IP must be the IP of an SMTP server listening on port 25 that will allow unauthenticated relaying of emails from the computer running Anope.
Title: Re: NickServ Registration with Windows
Post by: Jan Milants on August 31, 2008, 12:13:11 PM
if you want to use sendmail instead the correct syntax would be
Code: [Select]
SendMailPath "/usr/sbin/sendmail -t"where "/usr/sbin/sendmail" is the path to a working installation of sendmail.
Title: Re: NickServ Registration with Windows
Post by: katsklaw on August 31, 2008, 02:22:37 PM
if you want to use sendmail instead the correct syntax would be
Code: [Select]
SendMailPath "/usr/sbin/sendmail -t"where "/usr/sbin/sendmail" is the path to a working installation of sendmail.

Windows doesn't have a /usr/sbin.
Title: Re: NickServ Registration with Windows
Post by: Jan Milants on August 31, 2008, 03:29:25 PM
blèhhh... i was talking about a decent OS  ;D
Title: Re: NickServ Registration with Windows
Post by: Jobe on September 01, 2008, 08:39:11 AM
blèhhh... i was talking about a decent OS  ;D

I big clue would have been the thread title "NickServ Registration with Windows"