HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   IMAP doesn't work..as i followed the Perfect Setup for Fedora 4 (http://www.howtoforge.com/forums/showthread.php?t=1340)

asokaajay 21st November 2005 05:25

IMAP doesn't work..as i followed the Perfect Setup for Fedora 4
 
Good day,

i'm currently setting up my own mail server. almost 80% of the instruction of the Perfect Setup for Fedora 4 works...but i got stuck on the apt-get install cyrus-sasl-gssapi and imap...where the update shows NO PACKAGE FOUND for these two item. And i also having problem starting up imap, pop3...where it shows no directory found. Kindly someone help me on this....plz...

falko 21st November 2005 09:28

I quote from the tutorial:

Quote:

Edit /etc/apt/sources.list. It should contain the following lines:

Code:

rpm http://ayo.freshrpms.net fedora/linux/4/i386 core updates freshrpms
rpm http://ayo.freshrpms.net fedora/linux/4/i386 tupdates
rpm http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms

In the last line, rpm http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms, the 1 is not an error or typo! This is the repository that has the imap package which we are going to install soon! So do not change these lines!
I guess your /etc/apt/sources.list is missing the last line. Put it in there, and run
Code:

apt-get update
afterwards. Then you can install imap:
Code:

apt-get install imap

milas 22nd November 2005 04:58

Not There
 
I can't find it either. I searched through the listing of freshrpms on the Fedora Core 1 entry manually too and cannot find any package with the words IMAP in it. Was it removed from the server?

till 22nd November 2005 08:30

And you checked that this line is in your /etc/apt/sources.list:

rpm http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms

(Yes, its a fedora 1 not fedora 4 repository!) and run apt-get update before you tried to install the package?

egomouse 22nd December 2005 18:25

I'm having trouble installing imap.

Yes i have the last line in sources.list and when i do a apt-get update i get some 404 file not found.

And if you look here http://ftp.freshrpms.net/pub/fedora/linux/extras/

there is no 1 folder!!!!!!

brianclark 9th April 2006 04:20

apt-get update worked for me and imap installed fine as well as the other packages I was missing initially :)

Brian

CraigMoore 28th May 2007 18:12

Trouble installing IMAP on FC4
 
I've been following the The The Perfect Setup - Fedora Core 4 - Page 4, but I'm having trouble with the imap package.

I've read the above comments and tried to install imap as you instructed. My sources.list file reads:
Code:

# Add any local / 3rd party repositories here..
rpm http://ayo.freshrpms.net fedora/linux/4/i386 core updates freshrpms
rpm http://ayo.freshrpms.net fedora/linux/4/i386 tupdates
rpm http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms

I ran:

Code:

apt-get update
After that I tried to install imap, and I get a 403 Forbidden Error as you can see:

Code:

[root@laptop ssl]# apt-get install imap
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  openssl097a (0.9.7a-3.1)
  xinetd (2.3.13-6)
The following NEW packages will be installed:
  imap (2002d-3)
  openssl097a (0.9.7a-3.1)
  xinetd (2.3.13-6)
0 upgraded, 3 newly installed, 0 removed and 265 not upgraded.
Need to get 1287kB/2210kB of archives.
After unpacking 4871kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://ayo.freshrpms.net fedora/linux/1/i386/core imap 1:2002d-3  403 Forbidden
Failed to fetch http://ayo.freshrpms.net/fedora/linux/1/i386/RPMS.core/imap-2002d-3.i386.rpm 403 Forbidden
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Any thoughts on how I can get this work? Otherwise, I'll have to run the other package called dovecot like you mention here? How will this change the commands, which are shown in the tutorial, if I do use dovecot:

Code:

chkconfig --levels 235 sendmail off
chkconfig --levels 235 postfix on
chkconfig --levels 235 saslauthd on
chkconfig imap on
chkconfig imaps on
chkconfig ipop3 on
chkconfig pop3s on
/etc/init.d/sendmail stop
/etc/init.d/postfix start
/etc/init.d/saslauthd start
/etc/init.d/xinetd restart

Thanks in advance for your help,
Craig

falko 29th May 2007 14:26

Take a look at chapter 9 on http://www.howtoforge.com/perfect_se...dora_core_5_p5 . That should work for Fedora Core 4, too.

CraigMoore 29th May 2007 20:41

Got it working, but I have some questions
 
I've gotten it working now, but I'm going to try and configure the e-mail now. I'll start a new post if I run into trouble. However, I've got a things I want to clear up before I get too far along.

I really want to configure the server to be a IMAP Mail server so I'm working toward that goal. From what I could tell from the set-up I carried out here and here. The server is currently configured to do POP3 only. I did a "netstat -tap" with the following output:

Code:

[root@laptop postfix]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address              Foreign Address            State      PID/Program name
tcp        0      0 *:32769                    *:*                        LISTEN      1734/rpc.statd
tcp        0      0 *:mysql                    *:*                        LISTEN      2176/mysqld
tcp        0      0 *:sunrpc                    *:*                        LISTEN      1716/portmap
tcp        0      0 *:81                        *:*                        LISTEN      2515/ispconfig_http
tcp        0      0 laptop.server.com:domain    *:*                        LISTEN      2638/named
tcp        0      0 192.168.1.101:domain        *:*                        LISTEN      2638/named
tcp        0      0 192.168.0.100:domain        *:*                        LISTEN      2638/named
tcp        0      0 localhost.localdomai:domain *:*                        LISTEN      2638/named
tcp        0      0 localhost.localdomain:ipp  *:*                        LISTEN      2042/cupsd
tcp        0      0 localhost.localdomain:5335  *:*                        LISTEN      2024/mDNSResponder
tcp        0      0 *:smtp                      *:*                        LISTEN      7655/master
tcp        0      0 localhost.localdomain:rndc  *:*                        LISTEN      2638/named
tcp        0      0 *:imaps                    *:*                        LISTEN      3413/dovecot
tcp        0      0 *:pop3s                    *:*                        LISTEN      3413/dovecot
tcp        0      0 *:pop3                      *:*                        LISTEN      3413/dovecot
tcp        0      0 *:imap                      *:*                        LISTEN      3413/dovecot
tcp        0      0 *:http                      *:*                        LISTEN      2538/httpd
tcp        0      0 *:ftp                      *:*                        LISTEN      2654/proftpd: (acce
tcp        0      0 *:ssh                      *:*                        LISTEN      2072/sshd
tcp        0      0 ::1:rndc                    *:*                        LISTEN      2638/named
tcp        0      0 *:https                    *:*                        LISTEN      2538/httpd
tcp        0    148 laptop.server.com:ssh      ::ffff:192.168.1.2:1407    ESTABLISHED 3029/0

I see a listing for IMAP so I take it I will be able to run the server as an IMAP; however, I think there will be more configuring to do regarding dovecot? Any idea of a good source of information for this? There is what looks like a nice wiki here however, it seems like I should be doing this through the ISPConfig interface and I haven't seen anything regarding how to do that?

Finally, I did a checked of the current levels for the list of processes I'm running, and I see that sendmail is running at level 4. Is this right? I thought sendmail was supposed to be off since postfix is the mail carrier? Here is the list of processes and the levels on which they run:

Code:

[root@laptop postfix]# chkconfig --list
NetworkManager  0:off  1:off  2:off  3:off  4:off  5:off  6:off
NetworkManagerDispatcher        0:off  1:off  2:off  3:off  4:off  5:off  6:off
acpid          0:off  1:off  2:off  3:on    4:on    5:on    6:off
anacron        0:off  1:off  2:on    3:on    4:on    5:on    6:off
apmd            0:off  1:off  2:on    3:on    4:on    5:on    6:off
apt            0:off  1:off  2:off  3:off  4:off  5:off  6:off
atd            0:off  1:off  2:off  3:on    4:on    5:on    6:off
auditd          0:off  1:off  2:on    3:on    4:on    5:on    6:off
autofs          0:off  1:off  2:off  3:on    4:on    5:on    6:off
bluetooth      0:off  1:off  2:on    3:on    4:on    5:on    6:off
cpuspeed        0:off  1:on    2:on    3:on    4:on    5:on    6:off
crond          0:off  1:off  2:on    3:on    4:on    5:on    6:off
cups            0:off  1:off  2:on    3:on    4:on    5:on    6:off
cups-config-daemon      0:off  1:off  2:off  3:on    4:on    5:on    6:off
dc_client      0:off  1:off  2:off  3:off  4:off  5:off  6:off
dc_server      0:off  1:off  2:off  3:off  4:off  5:off  6:off
diskdump        0:off  1:off  2:off  3:off  4:off  5:off  6:off
dovecot        0:off  1:off  2:on    3:on    4:on    5:on    6:off
gpm            0:off  1:off  2:on    3:on    4:on    5:on    6:off
haldaemon      0:off  1:off  2:off  3:on    4:on    5:on    6:off
httpd          0:off  1:off  2:on    3:on    4:off  5:on    6:off
iptables        0:off  1:off  2:on    3:on    4:on    5:on    6:off
irda            0:off  1:off  2:off  3:off  4:off  5:off  6:off
isdn            0:off  1:off  2:on    3:on    4:on    5:on    6:off
kudzu          0:off  1:off  2:off  3:on    4:on    5:on    6:off
mDNSResponder  0:off  1:off  2:off  3:on    4:on    5:on    6:off
mdmonitor      0:off  1:off  2:on    3:on    4:on    5:on    6:off
mdmpd          0:off  1:off  2:off  3:off  4:off  5:off  6:off
messagebus      0:off  1:off  2:off  3:on    4:on    5:on    6:off
mysqld          0:off  1:off  2:on    3:on    4:off  5:on    6:off
named          0:off  1:off  2:on    3:on    4:off  5:on    6:off
ndas            0:off  1:off  2:on    3:on    4:on    5:on    6:off
netdump        0:off  1:off  2:off  3:off  4:off  5:off  6:off
netfs          0:off  1:off  2:off  3:on    4:on    5:on    6:off
netplugd        0:off  1:off  2:off  3:off  4:off  5:off  6:off
network        0:off  1:off  2:on    3:on    4:on    5:on    6:off
nfs            0:off  1:off  2:off  3:off  4:off  5:off  6:off
nfslock        0:off  1:off  2:off  3:on    4:on    5:on    6:off
nifd            0:off  1:off  2:off  3:on    4:on    5:on    6:off
nscd            0:off  1:off  2:off  3:off  4:off  5:off  6:off
ntpd            0:off  1:off  2:off  3:on    4:off  5:on    6:off
pcmcia          0:off  1:off  2:on    3:on    4:on    5:on    6:off
portmap        0:off  1:off  2:off  3:on    4:on    5:on    6:off
postfix        0:off  1:off  2:on    3:on    4:off  5:on    6:off
proftpd        0:off  1:off  2:on    3:on    4:off  5:on    6:off
psacct          0:off  1:off  2:off  3:off  4:off  5:off  6:off
rdisc          0:off  1:off  2:off  3:off  4:off  5:off  6:off
rhnsd          0:off  1:off  2:off  3:on    4:on    5:on    6:off
rpcgssd        0:off  1:off  2:off  3:on    4:on    5:on    6:off
rpcidmapd      0:off  1:off  2:off  3:on    4:on    5:on    6:off
rpcsvcgssd      0:off  1:off  2:off  3:off  4:off  5:off  6:off
saslauthd      0:off  1:off  2:on    3:on    4:off  5:on    6:off
sendmail        0:off  1:off  2:off  3:off  4:on    5:off  6:off
smb            0:off  1:off  2:off  3:off  4:off  5:off  6:off
spamassassin    0:off  1:off  2:off  3:off  4:off  5:off  6:off
squid          0:off  1:off  2:off  3:off  4:off  5:off  6:off
sshd            0:off  1:off  2:on    3:on    4:on    5:on    6:off
syslog          0:off  1:off  2:on    3:on    4:on    5:on    6:off
tux            0:off  1:off  2:off  3:off  4:off  5:off  6:off
vncserver      0:off  1:off  2:off  3:off  4:off  5:off  6:off
winbind        0:off  1:off  2:off  3:off  4:off  5:off  6:off
xfs            0:off  1:off  2:on    3:on    4:on    5:on    6:off
ypbind          0:off  1:off  2:off  3:off  4:off  5:off  6:off
yum            0:off  1:off  2:off  3:off  4:off  5:off  6:off

From what you can see, are the levels appropriate for what I'm trying to do?

Thanks for you help,

Craig.

falko 30th May 2007 17:06

Quote:

Originally Posted by CraigMoore
The server is currently configured to do POP3 only.

No, it's currently doing POP3, POP3S, IMAP, and IMAPS.

If you want to use IMAP only, you must configure IMAP. I think the configuration file is /etc/dovecot.conf.


All times are GMT +2. The time now is 11:40.

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