0
Can anybody point me in the right direction on how to set up my webserver so that the sites can send mail via phpmailer?
I have installed postfix using sudo apt-get
Then during the installation I selected internet site (which I think is the correct one)
If I select local only, will I still be able to send emails to say for example gmail.com, outlook.com addresses?
It then asks me for domain name, and this is the part I am struggling with as the server is connected to our work network and the sites on the server can only to be viewed by typing the ip address (for now) e.g. 192.168.0.223. what should I put here?
I have looked at a few other posts but none have helped me so far.
If you need any info from me about the server, just ask and I'll let you know. As not sure what you would need.
Welcome to Superuser "Questions seeking product, service, or learning material recommendations are off-topic because they tend to become obsolete quickly. Instead, describe your situation and the specific problem you're trying to solve." did you have a specific issue setting it up? – 50-3 – 2013-12-17T11:53:12.467
"i have no idea what im doing or what any of the settings should be." Unfortunately, that's a bad place to start with regards to setting up a mail server, or any server for that matter. Specifically for email, it's how lots of spam gets sent these days, for one. Have you considered just pointing phpmailer at your ISP's outgoing mail server instead? – a CVn – 2013-12-17T13:41:12.117
i agree that its a bad place to start, but thought id have a go instead of paying a hosting company as the webserver wont be required access from outside.
also thanks for both of you for the replies i'd just got it to send shortly after i edited my posts. – Steve – 2013-12-17T14:09:50.193