postfix/mozills thunderbird mailclient

Discussion in 'Installation/Configuration' started by hotchilli, Jul 18, 2006.

  1. hotchilli

    hotchilli New Member

    I installed mozilla thunderbird mail client and in the incomimg and outgoing boxes i placed my fqn but connection was refused.

    in my /etc/hosts i have the entry mail

    I have postfix and in the
    mynetwors =
    so in postfix i added this line to mynetworks
    but still on running thunderbired conection refused.

  2. Ben

    Ben HowtoForge Supporter

    what tells /var/log/mail.log (/var/log/maillog) while trying to access your mailserver?

    maybe server or clientfirewall blocking incoming / outgoing traffic on that port?
  3. hotchilli

    hotchilli New Member

    mail client

    there is nothing in mail.log
    there is no client firewall

  4. Ben

    Ben HowtoForge Supporter

    which OS do you run on your server?

    If nothing is in your mail.log then your mailserver does not receive anything.

    Any iptable rules active? -> iptables -L
  5. hotchilli

    hotchilli New Member

    OS is dapper drake 6.06(ubuntu) server


    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    if the above need to be completed? if so how to complete?

    here is part of my (no pop) does this matter for mail client that mail server doesnot have pop?

    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = no
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_auth_only = yes
    smtp_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom

    i have outgoing configured outgoing smtp to use localhost or as its SMTP server. on prt 25
    in thunderbird but still refused connection to potfix.

    also under edit>>>>account settings>>>>>>>>>>>server settings
    server type: pop mail server
    server name
    port :110
    user name admin (i must point out here that admin does not have root privlagies)
    use secure connection TLS

    Last edited: Jul 19, 2006
  6. falko

    falko Super Moderator

    Is your server's public IP address?
    What's the output of
    netstat -tap
  7. hotchilli

    hotchilli New Member

    mail client

    Is your server's public IP address? no?

    netstat -tap

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:smtp *:* LISTEN 3972/master
    tcp6 0 0 *:ssh *:* LISTEN 3991/sshd
    tcp6 0 0 *:nntp *:* LISTEN 3891/innd
    tcp6 0 0 *:smtp *:* LISTEN 3972/master

    OK imy posrfix server does not have pop then what can i expect sorry.

    but what i would like to know is that postfix is a local ie

    now I have a smtp feed from my ISP and i only use postfix and my ISP
    in the way that I use the MX record from my ISP ie

    I am wondering if it would be possible in thunderbird to use the pop and smtp
    from my ISP ?

    but if i use the same usernames as are connected to my
    domain ie and would this
    confuse things in my local serverv(postfix) as you can see in post no5
    of this thread how it is configured?

    Last edited: Jul 20, 2006
  8. falko

    falko Super Moderator

    That's not your server's public IP address? Then you must change the DNS record for because is pointing to that IP address which means your mail client connects to that IP address...
  9. hotchilli

    hotchilli New Member

    mail client

    ok its my fault first of all or . com is an example i used it is not my web site or ISP.

    I have two accounts at

    admin(this user does not have root access)

    I am loged in as user hotchilli and am creating a mail account for

    mail for hotchilli comes into /home/hotchilli
    mail for adim comes into /home/admin

    thunderbird is altering me with this message

    unable to create lock file /var/spool/mail/hotchilli.lock for ovemail to work , it is neccessary
    to create lock files in the mail spool directory on many syatems this is beat done by making the
    the spool directory be mode 01777

    how to create lock files ?
    asuming my mail comes ito /home/admin how to change this to /var/spool directory?

    Last edited: Jul 21, 2006
  10. falko

    falko Super Moderator

    Please run
    chmod 01777 /var/spool/mail/
    Do you use Maildir or mbox? What's the output of
    netstat -tap
  11. hotchilli

    hotchilli New Member

    rob@hotchlli:~$ sudo chmod 01777 /var/spool/mail/
    rob@hotchilli:~$ cd /var/spool
    rob@hotchilli:/var/spool$ ls -la
    total 24
    drwxr-xr-x 6 root root 4096 2006-06-29 10:53 .
    drwxr-xr-x 13 root root 4096 2006-06-13 14:47 ..
    drwxr-xr-x 5 root root 4096 2006-06-13 13:54 cron
    lrwxrwxrwx 1 root root 7 2006-06-13 14:47 mail -> ../mail
    drwxrwxr-x 8 news news 4096 2006-07-11 15:52 news
    drwxr-xr-x 19 root root 4096 2006-06-14 12:36 postfix
    drwxrwxr-x 2 news news 4096 2004-10-27 13:37 suck

    netstat -tap attached

    i think its maildir not mbox not sure.


    Attached Files:

    Last edited: Jul 22, 2006
  12. falko

    falko Super Moderator

    Please run
    chmod 01777 /var/mail/
    You don't have a POP3/IMAP server running... Please start it and post the output of
    netstat -tap
    again (please post it directly instead of attaching it in a file).

Share This Page