| Linode Forum https://forum.linode.com/ |
|
| How do I check if Postfix setup correctly? https://forum.linode.com/viewtopic.php?f=11&t=5338 |
Page 1 of 1 |
| Author: | MrMartineau [ Tue Mar 23, 2010 7:08 am ] |
| Post subject: | How do I check if Postfix setup correctly? |
I am VERY new to all this VPS stuff, I have had setup a Linode 360 and *tried* to setup Postfix using the instructions in the Linode Library. I am running Ubuntu 9.10 and i need to know if there's a way to test if I setup Postfix correctly, is there? I will use Gmail apps for all user email but I am hosting a shop that will need email for the orders. Any help would be greatly appreciated. |
|
| Author: | klinode [ Tue Mar 23, 2010 7:15 am ] |
| Post subject: | Re: How do I check if Postfix setup correctly? |
You can test its working by going: postfix reload It should say configuration reloaded, Then install squirrelmail, i prefer roundcube, and try to send some email, or you can use telnet localhost 25 to test if its working Check your mail logs in /var/log/mail.* there are 4 of them NB: make sure to check out the transport_maps section of main.cnf in postfix, it gave me real trouble, i had to comment it out before it worked, then adjust the settings accordingly to get it working again Also, make sure u send any users u have set up a welcome email from root, to initialise their account, otherwise it wont work and mail folders wont be set up etc. e.g. set up mailx, then mailx username@mydomain.com Subject: Welcome hello [enter] CTR+D [enter] Postfix will make the folders for your in /home/vmail (make sure permissions are set for vmail user in here) Hope it goes well, i followed the ubuntu 8.04 tut so there might be some differences |
|
| Author: | MrMartineau [ Tue Mar 23, 2010 7:34 am ] |
| Post subject: | |
hi klinode, I did: postfix reload and this was my result: Code: postfix/postfix-script: refreshing the Postfix mail system is that wrong? |
|
| Author: | hoopycat [ Tue Mar 23, 2010 9:13 am ] |
| Post subject: | |
If you just need to test *sending* e-mail (e.g. you won't be receiving e-mail), try: Code: echo "it works!" | mail -s "testing" your@e-mail.address.elsewhere You should have an e-mail of subject "testing" with body "it works!" in a few moments. |
|
| Author: | klinode [ Tue Mar 23, 2010 12:55 pm ] |
| Post subject: | |
MrMartineau wrote: hi klinode,
I did: postfix reload and this was my result: Code: postfix/postfix-script: refreshing the Postfix mail system is that wrong? Yes this means that postfix is working, if you check your mail logs you can see whether there are any errors. Use hoopycat's example to see whether you are receiving, and if u want to set it up for sending try the steps above too. u could always try by sending from a hotmail or gmail account too |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|