Pages

Tuesday, October 9, 2012

Postfix/ Squirrelmail/ Webmail Time, MailBOX, related Tips


============

Time problem in webmail/ squirrelmail time problem / mail transfer time is wrong

vi /etc/php.ini
date.timezone = "Asia/Dhaka"


======================
If mail box not show in squirrelmail webmail

 vi /etc/dovecot.conf
  
 mail_location = mbox:~/mail:INBOX=/var/mail/%u

# mail_location = maildir:~/Maildir

/etc/init.d/dovecot restart

#### /usr/share/squirrelmail/config/conf.pl
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Server Settings

General
-------
1.  Domain                 : tayabkhan.com
2.  Invert Time            : false
3.  Sendmail or SMTP       : SMTP

A.  Update IMAP Settings   : localhost:143 (uw)
B.  Update SMTP Settings   : localhost:25

R   Return to Main Menu
C   Turn color on
S   Save data
Q   Quit

===========================================


Time problem in webmail/ squirrelmail time problem / mail transfer time is wrong

vi /etc/php.ini
date.timezone = "Asia/Dhaka"


=================================
SquirrelMail
==========================


First find all email from /home in passwd_new file
cat passwd_new | awk -F: {'print "chown -R "$1":"$1"/home/"$1"/mail"'} > chown_change
chmod 755 chown_change 
then ./chown_change 

Squirrelmail location change


<VirtualHost *:80>
 DocumentRoot /usr/share/squirrelmail/
 ServerName mail.synergiesbangladesh.com
</VirtualHost>

=================
IF error message shows "(unknown mail transport error)"

Just copy the /etc/services file to /var/spool/postfix/etc/
And restart the postfix. 

 /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf are equal:


========================

No comments:

Post a Comment