I am trying to test some email sending from my localhost. I'd like to use an external SMTP server for this matter. I am using Cent OS 6.I can't find the useful topics related for this? Could anyone explain this to me?
Related
Using freebsdI I setup a postfix, dovecot, postgresql and postfixadmin virtual email server. Everything is working to my satisfaction except email to root#localhost and my user email to localhost. Having done a lot of investigation and some trial I'm not finding the answer.
I looked at mydestination I have localhost listed, I think that is correct.
I tried adding localhost as a postfixadmin domain, this fails the x.x edit. localhost. does not work either. Don't really want to change code for obvious reasons. Localhost will resolve to the correct local ip 127.0.0.1.
Tried using mail to send root#localhost and get a dead.letter file with the message in it.
I am not a email server expert only the first time I've done this so much learning to do.
how do I solve this issue?
Thanks in advance for your help.
I would like to ask for advice about SMTP Servers.
I'd like to setup a small and simple server for a school project for which I need to send (or mock send) emails to a small amount of recipients.
So I need a simple, lightweight and Windows 10 compatible SMTP server.
I've already tried hMailServer but it didn't work, though I don't know why.
It had also messed with my OpenVPN configuration and I needed to reinstall it to have VPN tunelling working again.
Thank you in advance for any piece of advice.
I have just had to re-image my server and for some reason, when I do a test connection in outlook, it errors on both send/receive with could not connect to server.
I have checked that both postfix and courier-imap are running on the server and have restarted both just to make sure. I am using plesk 12 and have setup users for the email system, so would appreciate some guidance as to how I can troubleshoot this. Many thanks
SOLVED
Reset iptables all good now
I am having a problem in my server. It's sending a lot of spam emails out. I am using Exim, and i did all the possible Tweaks from WHM to prevent spamming. I already tried to find the source of these email, from what script they are coming from.
I tried with TCPdum and netstat.
The emails are going out from some cPanel user for example user1#servername.sdm.com (the server host name) not from user#samedomain.com.
Any idea or suggestion what can i check?
I already found the problem. I was monitoring with TCP dump the connections in port 25 and grepped the account what was spamming than i found what script was sending the emails by monitoring the Exim logs.
I'm using Symfony 2.1 and SwiftMailer to send out registration e-mails.
The process handling for this takes abouts 20 seconds if there's an email to be send. Meanwhile the website is loading. This might give users the impression that something went wrong.
I'm connecting using SMTP.
I have a similar Symfony2 Installation which connects to the same mail server, also using SMTP and there an email is send immediately.
Is there a way using XDEBUG or something else to see what is causing the delay?
I think this was a slow DNS lookup problem.
In parameters.yml I've changed the SMTP host from the domain name to 127.0.0.1 and it works perfectly now.