Facebook Badge

Thursday, August 23, 2007

Dovecot on Fedora Core System

This article explains how to setup a small mail server very fast on a Fedora Core system. After following this tutorial, you will have:
- MTA: Postfix- SMTP Authentification: Cyrus SASL- IMAP and POP3: Dovecot- Webmail: Squirrelmail
Installing packages
- Install the needed packages using YUM: Login as root and type the following command in a terminal:
# yum install postfix dovecot cyrus-sasl cyrus-sasl-devel cyrus-sasl-plain cyrus-sasl-lib squirrelmail
It doesn't matter if you have one or more packages already installed as yum will skip those and install only the missing ones.
- Change the default MTA: Type the following command in a terminal and choose postfix:
# system-switch-mail
- Add Postfix and Dovecot (and optionally httpd if you also chose to install the webmail) to startup: First, make sure they are in the services list:
# chkconfig --list grep postfix# chkconfig --list grep dovecot# chkconfig --add postfix (only if necessary)# chkconfig --add dovecot (only if necessary)
Then add them for init levels 3 and 5, just in case you will change your init level:
# chkconfig --levels 35 postfix on# chkconfig --levels 35 dovecot on# chkconfig --levels 35 httpd on
Configuring Postfix
- Edit /etc/postfix/main.cf and change the following values. These are the basic values that need editing in order to get you going really fast. Don't edit other values unless you know what you're doing:
myhostname = mail.example.com This is only an example. Replace mail.example.com with your real Internet hostname or IP address. This will be the address that receives the mails.
mydomain = example.comOptional. Replace example.com with your real domain name. This will be the domain your mails appear to be sent from. It can also be used as the destination.
inet_interfaces = allThis parameter specifies the address used for receiving mail.
mydestination = $myhostname, $mydomain, localhost, localhost.localdomainThis parameter specifies the list of domains that this machine considers itself the final destination for. You can enter here all the hostnames pointing at your IP address but DON'T specify the names of domains that this machine is backup MX host for.
home_mailbox = Maildir/This specifies the path where the mail is stored. Mailbox will store the mailto /var/spool/mail/user or /var/mail/user, while Maildir/ (the / is required) will store the mail in each user's home directory (/home/user/Maildir)
- Save the file and restart Postfix with:
# service postfix restart
- Test it: Run the following command and check /root/Maildir/new for a message. You can read it using less, cat or a text editor:
# echo "Hello" mail root
Configuring Dovecot
- Edit /etc/dovecot.conf and change the following line:
protocols = imap pop3 Don't leave the '#' in front
- Test and start Dovecot:
# echo "Hello" mail username'username' is a NON-ROOT user so you might have to create one.
- Start Apache for webmail and Dovecot:
# service httpd start # service dovecot start
- Test it: Open your favorite browser and go to http://your.hostname.com/webmail and log in with the NON-ROOT user and password. If everything worked out well, you should have a new mail in your inbox.
Enable SMTP Authentication
- Edit the /etc/postfix/main.cf file and add these lines at the bottom of the file:
smtpd_sasl_auth_enable = yessmtpd_sasl_security_options = noanonymoussmtpd_sasl_local_domain = $myhostnamebroken_sasl_auth_clients = yessmtpd_recipient_restrictions = permit_sasl_authenticated, check_relay_domains
- Start the saslauthd daemon and reload Postfix:
# service saslauthd start# service postfix reload
Everything should work fine now. Open you favorite email client (Thunderbird, KMail etc) and set your account as follows:
IncomingName: Your nameEmail address: The-NON-ROOT-user@example.comAccount password: your-linux-password-for-the-non-root-userServer type: POPIncoming server: mail.example.com
OutgoingDescription: SomethingServer address: mail.example.comPort: 25Check "My SMTP server requires authentication"Username: The-NON-ROOT-user@example.comPassword: your-linux-password-for-the-non-root-userChoose "PLAIN" for authentication type.
If you want to receive the root's mail to your non-root user maildir, edit the /etc/aliases file and uncomment the root line to look like this and reload Postfix.
root: non-root-user
That's it! Play around with the settings in main.cf and tweak them to your taste but always remember to make a backup in case something goes wrong.

Vista On CD (TinyVista)

I have search vista on CD, and i found this one

Windows TinyVista Unattended Activated CD (x86)
-----------------------------------------------------------------------------------------
Thank you for trying this special eXPerience edition of Windows Vista Ultimate.
No product key is needed. Windows Vista is activated upon installation. Windows is fully patched with all "important" Windows Updates to 8th may 2007.
The 512Mb RAM memory requirement is reduced to just 256Mb.
The requirement of almost 8Gb of disk space is reduced to less than 3Gb.
This installation only takes up about 35% of the size of a normal installation of Windows Vista. Many components have been removed from this edition of Windows, but you still have Microsoft's three main programs:
Internet Explorer 7 Windows Mail (Formerly "Outlook Express") Windows Media Player 11
You also have the new Aero theme in this edition of Windows and the ability to use Windows Update.
There are no services taken out of this special edition of Windows. Only three services have been disabled: Remote Registry, Windows Error Reporting Service, Windows Search.
You cannot do an upgrade installation from this CD, because the upgrade files have been removed. You can only install Windows by booting from the CD and formatting your partition or hard drive.
There are concerns about finding a good firewall and antivirus for Windows Vista. If you want to use a good antivirus, get hold of NOD32 v2.70.31 (or later) and use the NSANE fix. For a firewall, you're stuck with the built in firewall it seems, at least until software vendors start to make Vista compatible firewalls. On June 7th 2007, Comodo Firewall version 3 is due for release - this will have Vista support.
-----------------------------------------------------------------------------------------
[eXPerience Folder On The CD]
The eXPerience folder on the CD contains the following three folders:
---DirectX DLL Files--- Despite Windows Vista being an absolutely massive operating system, it still does not even include DirectX DLL files! What were Microsoft thinking? So if you need the DirectX 9 DLL files (d3dx9_24/25/26/27/28/29/30/31/32/33.dll) you can just double click the file in this folder to extract these 10 DLL files to system32. This will keep compatibility with games you might have stored on another drive from a previous installation. Code: Just the DirectX files listed above http://rapidshare.com/files/35235015/fixvistagames.rar p/w - fixgames
---Ethernet Drivers--- Despite Windows Vista being an absolutely massive operating system, it still does not even include some Ethernet Drivers! What were Microsoft thinking? So if your Ethernet card is not working after installing Windows Vista and it needs its driver installing, you can use the Ethernet Driver pack thats included in this folder. Follow the instructions in the ReadMe.txt file. After installing your Ethernet Card, see if your onboard sound is working, IT PROBABLY WON'T BE, it seems Microsoft forgot to include Realtek AC97 sound drivers in Windows Vista, this is ridiculous considering almost every motherboard in the world has Realtek AC97 sound! Its almost as if Microsoft are trying to annoy people on purpose, they give you a 2.5Gb+ DVD sized Operating System WITHOUT Ethernet Drivers, Sound Drivers or DirectX DLL files.
---Release Info--- This folder contains all the detailed information about this TinyVista CD:
1 - FAQ 2 - How To Install Windows 3 - Removed Components 4 - Windows Updates 5 - Custom Tweaks These files are included on the iso, add here for more info Code: http://rapidshare.com/files/34678455/ReleaseInfo.rar pass - wtvuacd
-----------------------------------------------------------------------------------------
[How To Install Windows]
This unattended version of Windows is very easy to install.
You can only install this edition of Windows onto a formatted partition or hard drive, in other words, you cannot do an upgrade installation from within Windows.
To find out all the information on how to install this edition of Windows, open the eXPerience folder that is on the CD and open the file "2 - How To Install Windows.htm" This guide will show you exactly what to do, with full images of the setup screens. upgrade installation see below -----------------------------------------------------------------------------------------
[Custom Tweaks]
This edition of Windows is heavily modified for the best possible user experience, with more than 120 registry tweaks, you can see all the details of the changes made by looking at the file "5 - Custom Tweaks.htm" that is in the Release Info folder in the eXPerience folder on the CD.
-----------------------------------------------------------------------------------------
[Removed Components]
This CD sized release of Windows Vista has had the following components removed using vLite:
[Accessories] Accessibility Speech Support Welcome Center
[Drivers] Display adapters Modems Printers
[Games] Game Explorer Inbox Games Premium Inbox Games
[Languages] Japanese Korean Simplified Chinese Traditional Chinese
[Multimedia] Media Center Movie and DVD Maker Screensavers Wallpapers Windows Media Samples
[System] BitLocker Drive Encryption Help Microsoft Agent Natural Language Security Center Tablet PC Windows Defender Windows Easy Transfer
The ability to upgrade from an older version of Windows has also been removed manually after vLite was used. vLite does not support this at this moment in time, but this was done by removing every file and folder from the "sources" folder on the CD except the two Windows image files "boot.wim" and "install.wim"
-----------------------------------------------------------------------------------------
[Windows Updates]
This special eXPerience edition of Windows Vista includes all the "important" Windows Updates up to Tuesday, May 8th, 2007.
These hotfixes are installed silently near the end of the Windows install process...
KB890830 KB925902 KB928089 KB929399 KB929735 KB930178 KB930857 KB931573 KB931768 KB932246 KB936824
-----------------------------------------------------------------------------------------
[ISO File SHA-512 Checksum]
"Windows.TinyVista.Unattended.Activated.CD.iso"
To get the "SHA-512" checksum for this ISO file calculated, use the included program "HashCalc"
1 - Run HashCalc. 2 - Tick the "SHA512" tick box. 3 - Untick all other tickboxes. 4 - Click the browse "..." button (next to the white box) 5 - In the window that pops up, double click the downloaded ISO file. 6 - Click "Calculate" 7 - After a few minutes you will see a 128 digit number.
Make sure that the number shown in HashCalc is the same as this one:
77a57ecf9bda4c4e347c5d4bd3cc3256 dad3d0a25d6d63c3ac69d82112b8a475 427da569023d3c87572aac84916148d2 ea579645e3207c85847a154171e9164e
If your checksum number is not the same as above, don't use this release, because it is not a genuine eXPerience release!
This same checksum code can be verified with the one in the post for this release on Demonoid.com or retestrak.nl
This ISO file is already bootable! If you have Nero Burning ROM, just right click the ISO file and open it with Nero, then burn the ISO file as an image file.
----------------------------------------------------------------------------------------- Enjoy this fine release from eXPerience ------------------------------------------------------