Thunderbird for Virtual Users

Discussion in 'HOWTO-Related Questions' started by LinuxPete, Jul 12, 2011.

  1. LinuxPete

    LinuxPete Member HowtoForge Supporter

    Is it possible for virtual users to use Thunderbird to access emails instead of using webmail? I've tried a test case and cannot seem to get it working.

    I have setup a server using "The Perfect Server - Fedora 13 x86_64".

    I have about 10-15 virtual users but most of my users would like to access their emails from one application like Thunderbird, or Outlook.

    Do I need to make the virtual users regular users?

    Thanks
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Yes, of course!

    No, please don't try this! :eek:

    What error message do you get in your mail log?

    What are the outputs of
    Code:
    netstat -tap
    ,
    Code:
    iptables -L
    , and
    Code:
    getenforce
    ?
     
  3. LinuxPete

    LinuxPete Member HowtoForge Supporter

    This is the output of netstat -tap
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:EtherNet/IP-1 *:* LISTEN 1455/sshd
    tcp 0 0 pillhill.my-linux.net:783 *:* LISTEN 20776/spamd.pid
    tcp 0 0 *:sunrpc *:* LISTEN 1225/rpcbind
    tcp 0 0 *:ftp *:* LISTEN 1803/pure-ftpd (SER
    tcp 0 0 pillhill.my-linux.n:domain *:* LISTEN 1211/named
    tcp 0 0 pillhill.my-linux.net:ipp *:* LISTEN 1342/cupsd
    tcp 0 0 *:smtp *:* LISTEN 1756/master
    tcp 0 0 pillhill.my-linux.net:rndc *:* LISTEN 1211/named
    tcp 0 0 *:35420 *:* LISTEN 1243/rpc.statd
    tcp 0 0 pillhill.my-linux.ne:10024 *:* LISTEN 20808/amavisd (mast
    tcp 0 0 pillhill.my-linux.ne:10025 *:* LISTEN 1756/master
    tcp 0 0 *:mysql *:* LISTEN 1589/mysqld
    tcp 0 0 pillhill.my-linux.ne:mysql pillhill.my-linux.ne:38709 ESTABLISHED 1589/mysqld
    tcp 0 0 pillhill.my-linux.ne:38711 pillhill.my-linux.ne:mysql ESTABLISHED 25560/amavisd (ch1-
    tcp 0 0 pillhill.my-linux.ne:38716 pillhill.my-linux.ne:mysql ESTABLISHED 25738/virtual
    tcp 0 596 pillhill.my-:EtherNet/IP-1 h-72-200-00-00.chcgil:50022 ESTABLISHED 25654/sshd: khizkey
    tcp 0 0 pillhill.my-linux.ne:38707 pillhill.my-linux.ne:mysql ESTABLISHED 25657/proxymap
    tcp 0 0 pillhill.my-linux.ne:38705 pillhill.my-linux.ne:mysql ESTABLISHED 25657/proxymap
    tcp 0 0 pillhill.my-linux.ne:mysql pillhill.my-linux.ne:38707 ESTABLISHED 1589/mysqld
    tcp 0 0 pillhill.my-linux.ne:38708 pillhill.my-linux.ne:mysql ESTABLISHED 25656/smtpd
    tcp 0 0 pillhill.my-linux.ne:10025 pillhill.my-linux.ne:45774 ESTABLISHED 25737/smtpd
    tcp 0 0 pillhill.my-linux.ne:38706 pillhill.my-linux.ne:mysql ESTABLISHED 25657/proxymap
    tcp 0 0 pillhill.my-linux.ne:mysql pillhill.my-linux.ne:38705 ESTABLISHED 1589/mysqld
    tcp 0 0 pillhill.my-linux.ne:mysql pillhill.my-linux.ne:38711 ESTABLISHED 1589/mysqld
    tcp 0 0 pillhill.my-linux.ne:mysql pillhill.my-linux.ne:38708 ESTABLISHED 1589/mysqld
    tcp 0 0 pillhill.my-linux.ne:45774 pillhill.my-linux.ne:10025 ESTABLISHED 25560/amavisd (ch1-
    tcp 0 0 pillhill.my-linux.ne:38709 pillhill.my-linux.ne:mysql ESTABLISHED 25698/cleanup
    tcp 0 0 pillhill.my-linux.ne:mysql pillhill.my-linux.ne:38716 ESTABLISHED 1589/mysqld
    tcp 0 0 pillhill.my-linux.ne:mysql pillhill.my-linux.ne:38706 ESTABLISHED 1589/mysqld
    tcp 0 0 *:pop3 *:* LISTEN 1673/couriertcpd
    tcp 0 0 *:EtherNet/IP-1 *:* LISTEN 1455/sshd
    tcp 0 0 *:imap *:* LISTEN 1660/couriertcpd
    tcp 0 0 *:sunrpc *:* LISTEN 1225/rpcbind
    tcp 0 0 *:http *:* LISTEN 1794/httpd
    tcp 0 0 *:ftp *:* LISTEN 1803/pure-ftpd (SER
    tcp 0 0 pillhill.my-linux.n:domain *:* LISTEN 1211/named
    tcp 0 0 pillhill.my-linux.net:ipp *:* LISTEN 1342/cupsd
    tcp 0 0 *:43320 *:* LISTEN 1243/rpc.statd
    tcp 0 0 *:smtp *:* LISTEN 1756/master
    tcp 0 0 pillhill.my-linux.net:rndc *:* LISTEN 1211/named
    tcp 0 0 *:https *:* LISTEN 1794/httpd
    tcp 0 0 *:microsoft-ds *:* LISTEN 1831/smbd
    tcp 0 0 *:imaps *:* LISTEN 1667/couriertcpd
    tcp 0 0 *:pop3s *:* LISTEN 1679/couriertcpd
    tcp 0 0 *:netbios-ssn *:* LISTEN 1831/smbd

    [[email protected] ~]# iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    fail2ban-courierpop3 tcp -- anywhere anywhere tcp dpt:pop3
    fail2ban-courierimap tcp -- anywhere anywhere tcp dpt:imap
    fail2ban-SSH tcp -- anywhere anywhere tcp dpt:EtherNet/IP-1
    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
    ACCEPT icmp -- anywhere anywhere
    ACCEPT all -- anywhere anywhere
    ACCEPT all -- anywhere anywhere
    ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-ns
    ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-dgm
    ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:netbios-ssn
    ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:microsoft-ds
    ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-ns
    ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-dgm
    ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
    ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:mysql
    REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
    ACCEPT icmp -- anywhere anywhere
    ACCEPT all -- anywhere anywhere
    ACCEPT all -- anywhere anywhere
    REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain fail2ban-SSH (1 references)
    target prot opt source destination
    RETURN all -- anywhere anywhere

    Chain fail2ban-courierimap (1 references)
    target prot opt source destination
    RETURN all -- anywhere anywhere

    Chain fail2ban-courierpop3 (1 references)
    target prot opt source destination
    DROP all -- 210.46.85.170 anywhere
    RETURN all -- anywhere anywhere

    in my testID this is what I found in maillog:
    Jul 13 13:46:05 pillhill imapd: Connection, ip=[::ffff:72.245.50.64]
    Jul 13 13:46:11 pillhill imapd: LOGIN FAILED, method=PLAIN, ip=[::ffff:72.245.50.64]
    Jul 13 13:46:16 pillhill imapd: LOGIN FAILED, user=testuser1, ip=[::ffff:72.245.50.64]

    Thanks but am I missing something?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    It seems as if you use the wrong username. The username should be the email address of the user.
     
  5. LinuxPete

    LinuxPete Member HowtoForge Supporter

    Hey Thanks Falco. That was it. I forgot that virtual users need the host name.
     

Share This Page