Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st August 2011, 01:41
GioMBG GioMBG is offline
Junior Member
 
Join Date: Dec 2009
Location: Rimini
Posts: 28
Thanks: 2
Thanked 1 Time in 1 Post
Default mail in var/spool/mail/ how do for read?

Hi ALL,
Centos 6 + sendmail + dovecot:
I send from my machine X using squirrelmail to a certain mail address out,
I receive, no spam... perfect so I reply and the email go to my machine X
I am sure that go to destination because SIMPLY is in /var/spool/email/USER on my machine X BUT the question:
I can't read the email :
- with squirrelmail on server machine X
- with my evolution in my home (note that I think that I successful log in with ssl and tls because if I use plain text is impossible)
suggestions?
thx
GioMBG
Reply With Quote
Sponsored Links
  #2  
Old 1st August 2011, 02:52
GioMBG GioMBG is offline
Junior Member
 
Join Date: Dec 2009
Location: Rimini
Posts: 28
Thanks: 2
Thanked 1 Time in 1 Post
 
Default RESOLVED Centos 6 X86 64bit + sendmail + dovecot + squirrelmail

Hi ALL,
hope that can be user full for some newbie like me:
Centos 6 + sendmail + dovecot + Squirrelmail:
very simple to install the first three with Yum,
for squirrelmail is needed modify the repos by add:
epel.repo
Code:
rpm -Uvh http://bit.ly/q7kHBq
yum repolist
yum install yum-priorities
modify with priority=10 /etc/yum.repos.d/epel.repo:
Code:
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

priority=10
(I've safetly disable after install squirrel)

in sendmail is needed install sendmail.cf to MAKE compiled
Code:
yum install sendmail-cf
hack sendmail.mc
Code:
dnl # The following causes sendmail to only listen on the IPv4 loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
TO:
dnl # The following causes sendmail to only listen on the IPv4 loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
and after compile with sendmail.cf
Code:
/etc/mail/sendmail.cf
in dovecot is needed modify/DE-comment the 2th option/mail_location in:
/etc/dovecot/conf.d/10-mail.conf
Code:
FROM:
#   mail_location = maildir:~/Maildir
#   mail_location = mbox:~/mail:INBOX=/var/mail/%u
#   mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n
TO:
#   mail_location = maildir:~/Maildir
mail_location = mbox:~/mail:INBOX=/var/mail/%u
#   mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n
remeber to set yours squirrelmail:
Code:
/usr/share/squirrelmail/config/conf.pl
thst's all
respect 2 howtoforge
Ciao
GioMBG

Last edited by GioMBG; 11th August 2011 at 00:33.
Reply With Quote
The Following User Says Thank You to GioMBG For This Useful Post:
admin (1st August 2011)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing squirrelmail on Debian with ispconfig3 saco721 Installation/Configuration 18 1st April 2011 17:57
Postfix problem and few questions Gimly Installation/Configuration 12 7th July 2009 16:27
Postfix + postfixadmin = SMTP errors... Rashef Server Operation 4 25th June 2009 16:12
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 09:50
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 20:47


All times are GMT +2. The time now is 10:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.