Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Mar 23, 2010 7:08 am 
Offline
Senior Newbie

Joined: Tue Mar 23, 2010 7:04 am
Posts: 9
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.


Top
   
PostPosted: Tue Mar 23, 2010 7:15 am 
Offline
Senior Newbie

Joined: Thu Mar 18, 2010 2:03 pm
Posts: 15
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


Top
   
 Post subject:
PostPosted: Tue Mar 23, 2010 7:34 am 
Offline
Senior Newbie

Joined: Tue Mar 23, 2010 7:04 am
Posts: 9
hi klinode,

I did: postfix reload and this was my result:

Code:
postfix/postfix-script: refreshing the Postfix mail system


is that wrong?


Top
   
 Post subject:
PostPosted: Tue Mar 23, 2010 9:13 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
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.


Top
   
 Post subject:
PostPosted: Tue Mar 23, 2010 12:55 pm 
Offline
Senior Newbie

Joined: Thu Mar 18, 2010 2:03 pm
Posts: 15
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group