CSF/LFD email without mail server, using 3rd party SMTP how?
CSF/LFD email without mail server, using 3rd party SMTP how?
Hi,
I have just install CSF on Ubuntu, on a Digital Ocean droplet.
I don't have an email server installed, so I would like to send CSF/LFD emails via a 3rd party SMTP server.
How would I do this, without installing a mail server?
I have looked at the csf.conf and couldn't see away.
Thanks,
Gaz
I have just install CSF on Ubuntu, on a Digital Ocean droplet.
I don't have an email server installed, so I would like to send CSF/LFD emails via a 3rd party SMTP server.
How would I do this, without installing a mail server?
I have looked at the csf.conf and couldn't see away.
Thanks,
Gaz
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: CSF/LFD email without mail server, using 3rd party SMTP how?
You would have to use LF_ALERT_SMTP
Re: CSF/LFD email without mail server, using 3rd party SMTP how?
Hi,
Thanks for the reply.
How would I set the username and password for the SMTP as it, is required?
Thanks,
Gaz
Thanks for the reply.
How would I set the username and password for the SMTP as it, is required?
Thanks,
Gaz
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: CSF/LFD email without mail server, using 3rd party SMTP how?
There is no such functionality in csf to do that.
Re: CSF/LFD email without mail server, using 3rd party SMTP how?
Hi,
I have sorted this problem now, by installing sSMTP and using Gmail SMTP
I have sorted this problem now, by installing sSMTP and using Gmail SMTP
Re: CSF/LFD email without mail server, using 3rd party SMTP how?
Can you share how you were able to accomplish this? Did you need to do anything special other than setup SSMTP? I'm finding very little information on this.GazCBG wrote:Hi,
I have sorted this problem now, by installing sSMTP and using Gmail SMTP
Thanks,
shealyw2
Re: CSF/LFD email without mail server, using 3rd party SMTP how?
Hi,
If I remember I installed sSMTP and then followed this setup guide:
Link: http://www.havetheknowhow.com/Configure ... ssmtp.html
Hope this helps.
Also if you using Google email account and have it locked down you need another password, which you need to setup, if you try and send an email like it says, it will come back from Google with a link.
If I remember I installed sSMTP and then followed this setup guide:
Link: http://www.havetheknowhow.com/Configure ... ssmtp.html
Hope this helps.
Also if you using Google email account and have it locked down you need another password, which you need to setup, if you try and send an email like it says, it will come back from Google with a link.
Re: CSF/LFD email without mail server, using 3rd party SMTP how?
Thanks GazCBG, that lead to on the right path. Seems installing ssmpt takes the place of sendmail.
Re: CSF/LFD email without mail server, using 3rd party SMTP how?
Hi,
Just a follow up on this, I just installed sSMTP on a Ubunta 16.04 LTS VPS for CSF emails and had issues, with connecting to smtp.gmail.com
The fix is to set the hostname as localhost instead of the email address, like:
Just a follow up on this, I just installed sSMTP on a Ubunta 16.04 LTS VPS for CSF emails and had issues, with connecting to smtp.gmail.com
The fix is to set the hostname as localhost instead of the email address, like:
Code: Select all
hostname=localhost
Re: CSF/LFD email without mail server, using 3rd party SMTP how?
and when installing smtp how to configure this line in csf.conf:
LF_ALERT_SMTP
LF_ALERT_SMTP