LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 11-20-2004, 08:19 AM   #1
jonsson
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Kubuntu Feisty, Fedora Core 3
Posts: 22

Rep: Reputation: 15
Question Dovecot and tcpwrappers in FC3?


I've just set up a Fedora Core 3 box to handle some mail. I use the included Dovecot and connect to it over IMAPS. I've opened port 993 and planned to use tcpwrappers to allow only a few selected hosts to connect. However, this does not seem to work?

My /etc/hosts.deny contains only one line:

ALL: ALL

And my /etc/hosts.allow currently contains only

sshd: 192.168.0.5 # my desktop machine

Still, Thunderbird happily logs on to the server.

How can I make Dovecot use the hosts.allow/deny files?
 
Old 08-09-2010, 04:53 AM   #2
fast-reflexes
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 36

Rep: Reputation: 16
Late answer but for other people who's searching for answers.

If you use dovecot with inetd or xinetd. You activate it with /path/to/dovecot/pop3-login or pop3-login --ssl (if you use TLS/SSL). This is the binary we want to exclude people from using through hosts.deny.

Use
Code:
pop3-login: ALL
to exclude anyone at all from using dovecot pop3 through hosts.deny. Works for me! if you use an the IMAP enabled part of Dovecot, checkout what the corresponding entries would be in the Dovecot documentation but a wild guess is imap-login

Also, when it comes to Thunderbird, you can't expect it to show you what's really going on. I first picked up mail and everything was fine. I then activated the above and Thunderbird still said he could fetch mail, even though there was a delay between the "Checking for mail" messages and "No mail to fetch" message... However, the mails in the mailbox were not fetched, the Thunderbird error console reported an error (Component not available) and the Linux secure log reported that my IP was denied a connection to the pop3 service.

..still, Thunderbird, if you didn't bother to "look under the table", said that "No mail to fetch"...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FC3, dovecot connection close after correct login... jingi Fedora - Installation 0 11-28-2005 04:25 AM
dovecot fc4 Ammad Linux - Networking 2 11-05-2005 10:27 PM
FC3, Postfix, and Dovecot Cottsay Fedora 0 06-25-2005 12:18 PM
Getting Dovecot working Q25 Linux - Software 0 09-23-2004 08:23 AM
Do I need an firewall if I set my tcpwrappers like this? rbrasil Linux - Security 7 12-18-2003 11:19 AM


All times are GMT -5. The time now is 03:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration