Anope IRC Services

Anope.org => Anope General => Topic started by: ComputerTech on July 27, 2020, 10:24:30 PM

Title: Adding email service
Post by: ComputerTech on July 27, 2020, 10:24:30 PM
Hmm, how do i add email service to anope?

i am unsure how to do so, is there a step by step guide out there?

Need help with this  :-\
Title: Re: Adding email service
Post by: Lord255 on July 27, 2020, 10:39:44 PM
see: https://github.com/anope/anope/blob/c327d1aeefb372cff4dce26e482a8f087f871b71/data/example.conf#L934-L1069
Title: Re: Adding email service
Post by: ComputerTech on July 28, 2020, 03:52:14 PM
I am unsure of this line..

sendmailpath = "/usr/sbin/sendmail -t"

is there a file i need to have? or a code?  ???
Title: Re: Adding email service
Post by: Rene on July 28, 2020, 04:00:59 PM
sendmail is a mail program of your distribution you do not chance this value when you has installed sendmail

you can check it to look in this called folder if sendmail is exist.
Title: Re: Adding email service
Post by: ComputerTech on July 28, 2020, 04:55:06 PM
Oh, i see so i install sendmail, if it's not already installed, correct?  :P
Title: Re: Adding email service
Post by: Rene on July 28, 2020, 05:12:44 PM
If you don't use another e.g. Postfix or other then you can install sendmail via apt-get install sendmail
Title: Re: Adding email service
Post by: ComputerTech on July 28, 2020, 08:12:40 PM
Woo hoo, i got it working :D thanks a lot Rene  ;D  ;D  ;D

by the way a user used a unusual email like test@test.rt

and anope wouldnt send a email to it

wouls only work for gmail, how do i fix this  ???
Title: Re: Adding email service
Post by: CrazyCat on July 29, 2020, 09:36:30 AM
I don't really understand.
You want anope to send mail only when address is @gmail ?
Title: Re: Adding email service
Post by: ComputerTech on July 29, 2020, 03:08:40 PM
No, i mean when a user used a foreign random email, Anope wouldnt email it.

But, i think its working now  ;D
Title: Re: Adding email service
Post by: ComputerTech on August 04, 2020, 04:14:53 PM
Ok, all working perfect now, learned to use postfix "much better than sendmail  :P"