Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Tips, Tricks & Tutorials

Post new topic   This topic is locked: you cannot edit posts or make replies.
UW-IMAP Server and Thunderbird as email Client (SMS<=1.2)
View previous topic :: View next topic  
Author Message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Wed Sep 19, 2007 5:35 pm    Post subject: UW-IMAP Server and Thunderbird as email Client (SMS<=1.2) Reply with quote

UW-Imap uses system users all you need is to add users and setting the right permissions. This can be done through Webmin or by shell.
Users for email don't required shell login, so you can use 'useradd' instead of 'adduser'.
A quick and dirty script for doing that is something like that:

Code:
#!/bin/bash


if [ $USERNAME ="" ]; then
echo "Choose Username"
read USERNAME
useradd $USERNAME; fi

if [ $PASSWORD ="" ]; then
echo "Choose Password for $USERNAME"
read PASSWORD
passwd $USERNAME; fi

echo "Creating home directory"
mkdir /home/$USERNAME
echo "Setting Permissions"
chown -R $USERNAME /home/$USERNAME

Every time you run it ask you to choose username and password and sets the home directory and permissions.
Afterwards you can use IlohaMail or Thunderbird.
Making Thunderbird to work:

Code:
Account Name : SMS-MAIL
Email Address : user@sms.org
Incoming Username: user
Incoming Server Name : sms
Incoming Server Type : IMAP
Tick 'Use TLS if available'

Outgoing SMTP server :
Description : SMS
Server Name : sms
Port: 25
Un-tick 'use name and password'
Tick 'Use TLS if available'

As weird as may sound in my home network user@sms.org delivered to me, if you have problems you may want to change it to user@sms or user@yourdomain (yourdomain replace sms in settings).
You can send email to internet mails (yahoo, gmail e.t.c.) but don't expect to receive any on your email user@sms unless you're using a DNS Service.

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    SMS Forum Index » Tips, Tricks & Tutorials All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional