Subscribe:

Ads 468x60px

Pages

Showing posts with label Mail. Show all posts
Showing posts with label Mail. Show all posts

Friday, August 19, 2011

Install spamassassin with sendmail

1. Install spamassassin on the server
# yum install spamassassin -y

2. Install required perl CPAN modules
# perl -MCPAN -e shell
cpan> install Digest::SHA1
cpan> install HTML::Parser
cpan> Install option perl modules...

3. Edit spamassassin configuration in /etc/mail/spamassassin/local.cf .
# vim /etc/mail/spamassassin/local.cf
# Encapsulate spam in an attachment (0=no, 1=yes, 2=safe)
report_safe 0

# Enable the Bayes system
use_bayes 1

# Enable Bayes auto-learning
bayes_auto_learn 1

# Enable or disable network checks
skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1

# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_languages all

# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales all

4. Tell procmail to run spamc on everyone's mail. Add these to /etc/procmailrc :

DROPPRIVS=yes

:0fw
| /usr/bin/spamc

5. Restart spamassassin
# service spamassassin restart 
Read more...

Wednesday, August 10, 2011

Microsoft Exchange Server 2007

Q: What is the purpose of the Public Folders feature of Microsoft Exchange Server?
A: The Public Folders feature of Microsoft Exchange Server allows you and your colleagues to share emails and discussions publicly rather than via internal email.

      Multiple Public Folders can be created under a single installation of Exchange Server, meaning that you can create folders for different purposes – i.e. one folder for sharing emails and one folder for sharing appointments or events.


Q: For the end user, is there a difference between the Standard and Enterprise versions of Microsoft Exchange Server?
Yes, there is. On accounts created for use with the Standard version of Exchange server there is a set storage limit of 16GB. However, this limit doesn’t exist for user accounts created for use on the Enterprise version of the Exchange Server software.

Q: How can I login to Outlook Web Access using forms?
A: By default, you login to Outlook Web Access by entering your username and password into a prompt that you should receive upon entering the necessary URL for Outlook Web Access.
If you want to login using forms so that you are able to display a customized page, you will first need to install an SSL certificate on your Exchange server and will then be able to select secure forms from the properties pane for the server in question on the Exchange Server management console.

Q: I’m using Exchange Server 2007; Outlook Mobile Access seems inaccessible – how do I sort this?
A: Unfortunately Microsoft chose to discontinue with Outlook Mobile Access in Exchange Server 2007 due to the fact that there were problems with the software including security issues and password caching.

Q: What’s different in Exchange Server 2007 compared to Exchange Server 2003?
A: Exchange Server 2007 comes with more security features as standard than Exchange Server 2003 to ensure that your Exchange server remains secure at all times and that emails both send and received are scanned for viruses and to check whether or not they are spam.
New calendaring features and features for those who connect to their Exchange server account using a mobile device have also been added to give end-users greater flexibility than was possible when using Exchange Server 2003.

      Integration with corporate voice and fax systems has also been added meaning that it is now more possible than ever for large corporations to only need to use one system to manage their entire internal and external communication infrastructure.

    Improvements have also been made to existing components of the Exchange Server system; for example a new style has been applied to the Outlook Web Access application, along with many new features to allow employees on the move to manage all that it is important to them from any internet connected computer that hosts a web browser.

Q: Does Exchange Server 2007 integrate with Microsoft Office Outlook 2007 in the way that Outlook 2003 integrated with Exchange server 2003?
A: Yes, Outlook 2007 integrates seamlessly with Exchange Server 2007 much in the same way that Outlook 2003 integrated with Exchange Server 2003.
Read more...

Monday, August 8, 2011

check and monitor the plesk email logs.


You can check the email logs on linux plesk with
# tail -f /usr/local/psa/var/log/maillog


On linux plesk server the email get stored at following path:
/var/qmail/mailnames/domain.com/email_account/Maildir/ 
Read more...

Receiving the error while sending email from a web form

If you are receiving the error while sending email from a web form as follows.


Error::
The error in /usr/local/psa/var/log/maillog somewhat as follows:


Quote:
Jul 16 18:02:15 vpsxxx qmail: 1184605335.388076 status: local 2/100 remote 1/100
Jul 16 18:02:15 vpsxxx qmail-remote-handlers[xxxx]: Handlers Filter before-remote for qmail started ...
Jul 16 18:02:15 vpsxxx qmail-remote-handlers[xxxx]: from=YY@YY.YY
Jul 16 18:02:15 vpsxxx qmail-remote-handlers[xxxx]: to=XX@XX.XX
Jul 16 18:02:15 vpsxxx qmail-remote-handlers[xxxx]: cannot reinject message to mail system
Jul 16 18:02:15 vpsxxx qmail: 1184605335.457055 delivery 85: failure:
Jul 16 18:02:15 vpsxxx qmail: 1184605335.457508 status: local 2/100 remote 0/100
Jul 16 18:02:15 vpsxxx qmail-queue-handlers[xxxx]: Handlers Filter before-queue for qmail started ...


Solution:
I got it fixed with very simple trick. :P


1. Login to plesk control of the server as a admin user.
2. Select the domain from "Domains" and click on its "Services>> Mail" option.
3. Then, disable the mail service for that domain by clicking on "Switch Off" and then re-enable the mail service.
Read more...

Tuesday, August 2, 2011

Installing and configuring dovecot IMAP/POP3 server

The Internet Message Access Protocol (IMAP) is one of the two most prevalent Internet standard protocols for e-mail retrieval. Dovecot is an open source IMAP.

  • IMAP host FQDN: mail1.dev.local, ip: 192.168.10.11, DNS alias: mail.dev.local
  • Mailbox type: Maildir
  • Mail location: /var/mail/<user>
  • Communication: Only secure, TLS/SSL
  • Protocol: TCP.



List of ports used for dovecot

  • Imap - 143
  • Pop3 - 110
  • Imaps - 995
  • Pop3s - 993

Step by step for configuration of dovecot:


Installing the dovecot
# yum install -y dovecot


Modify the configurtions file
# vim /etc/dovecot/dovecot.conf


Uncomment the line to enable the following protocols(imap, pop3)
protocols=imap,pop3


Mail directory
mail_location = maildir:/var/mail/%u


Save the configuration file
:wq


Check whether the port number is exits or not
# netstat -ntlp | grep 143
# netstat -ntlp | grep 110


Restart the dovecot service
# service dovecot restart


Start the service at boot time
# chkconfig dovecot on



Check whether the port number is exits or not
# netstat -ntlp | grep 143
# netstat -ntlp | grep 110

Test mail access
# mutt -f imap://username@servername
# mutt -f pop3://username@servername

Read more...

Tuesday, July 12, 2011

Cannot send or receive emails using Outlook / Outlook Express

Cannot send emails:

There are several common reasons for not being able to receive emails through Outlook (Express). These reasons include such as


1. Temporary mail server problems
2. Wrong Outlook Express settings
3. Incorrect MX records of the domain.

Read more...

Tuesday, June 28, 2011

Installing and configuring the Postfix mail server


Postfix provides for easier administration, allows increased security, and supports virtual domains. It is also the default mail program on RHEL6. It is the outgoing mail server.


Step 1. To verify that Postfix is installed or not
# rpm -qa | grep postfix


If the package isn’t installed then install it
# yum install –y postfix


Step 2. To start service during system boot time
# chkconfig postfix on


Step 3. Nedd to Stop the sendmail service because you are going to use Postfix in place of the default Sendmail:
# service sendmail stop


Step 4. Need to off sendmail service during system boot if the service is on:
# chkconfig sendmail --list
# chkconfig sendmail off


Step 6. Change the default mail program to Postfix:
# alternatives --config mta
There are 2 programs which provide ‘mta’.
Selection Command
----------------------------------------------
*+ 1 /usr/sbin/sendmail.sendmail
2 /usr/sbin/sendmail.postfix
Enter to keep the current selection[+], or type selection number: 2


Step 7. Verify that the current default for mail is Postfix:
# alternatives --display mta | grep current


Edit the master.cf file:
# vim /etc/postfix/main.cf


Step 2. Change the following options:
myhostname = server1.example.com
mydomain = example.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks = 192.168.1.0/24, 127.0.0.0/8


configure DNS server with the correct MX records before you start the Postfix service.


Step 3. Check sytax of config file:
# postfix check




Step 4. Start the Postfix service:
# service postfix start


Step 1.To open TCP port 25 for the SMTP service
# iptables -I INPUT 5 -p tcp -m tcp --dport 25 -j ACCEPT


Step 2. Save the rule:
# service iptables save


Step 3. Restart the iptables service:
# service iptables restart
Read more...

Email Service

The email system is divided into three different parts: 
1. MUA
2. MDA
3. MTA.


Mail User Agent(MAU):
It deals specifically with end users. It is what they use to type and read emails they receive. The MUA is a mail client of some sort, such as Thunderbird or Evolution. 


Mail Delivery Agent (MDA):
It handles the delivery of mail from the receiving mail server to the spool where the mail sits
until an MUA picks it up for the user. 


Mail Transfer Agent (MTA):
It is responsible for moving mail from one server to another until it arrives at its destination.
Read more...

Monday, June 20, 2011

Difference between the IMAP, POP and Exchange ActiveSync

The difference between the IMAP, POP and Exchange ActiveSync:


Each of these email protocols operates on a web-based system to transfer messages from a server. In addition, each one supports most, if not all, email clients. So, no matter what email client you choose, you can access your email on a remote server.


IMAP: 
       IMAP supports both online and offline account access. It provides advanced sync features, and lets you view and manage messages without removing them from the server. Therefore, any changes you make are saved and reflected from all locations.


POP:
      The POP protocol lets you read email messages without a constant Internet connection. POP downloads the messages from your server to your local computer or phone. While you can save a copy of the messages on your server, changes made from the local device are not saved on the server.


Exchange ActiveSync:
       The Exchange ActiveSync® protocol provides a robust syncing tool for all of your email, calendar, contacts, and other communications between your desktop, mobile device, or Internet connection. With your Hosted Exchange Email account and your Exchange ActiveSync-enabled phone, you have secure access to communications from anywhere.


referred from: http://community.godaddy.com/help/5231/making-sense-of-email-clients-desktop-and-mobile
Read more...

Taking Back of Outlook


To prevent data loss, we recommend backing up your email. You can easily and routinely back up your data by exporting your PST file.
The PST file stores your email messages, attachments, folder structure, contacts, calendar items, and more. A backed up PST file is easy to import in the event of any data loss.

To Back Up Your Emails to a New PST File

  1. Launch Outlook®.
  2. Click File, and then select Import and Export.
  3. Click Export to a file, and then click Next.
  4. Click Personal Folder File (.pst), and then click Next.
  5. Click the top folder, select Include subfolders, and then click Next.
  6. Type or browse to the folder where you want to save the new file, and name the file.
  7. Click Finish.
Read more...

Unable to send the mail from OutLook - part1


 Try Different SMTP Ports

Typically, SSL and port 465 work most of the time. If you can receive email but can't send any messages in Outlook, double-check that you're using the correct port number.
Sometimes ISPs or network providers block specific ports for security reasons. If the default settings don't work, you can try some alternate ports.

To Change Your Outlook SMTP Port Settings
  1. In Microsoft Outlook 2010, click File, and then click Account Settings.
  2. Select the account you want to change and click Change.
  3. Click More Settings... and select the Advanced tab.
  4. Next to Use the following type of encrypted connection, select SSL.
  5. Next to Outgoing Server (SMTP), type 465. Click OK and click Next.
  6. If those settings don't work,repeat steps 1-3 and select None for Use the following type of encrypted connection. Try these other ports for Outgoing server (SMTP): 80, 3535, 587, or 25.
  7. Click OK and Next to see if the other ports will work.

Read more...