port 143 doesn't work


 
Thread Tools Search this Thread
Special Forums IP Networking port 143 doesn't work
# 1  
Old 10-06-2008
port 143 doesn't work

Hi folks,


Postfix
Dovecot-imap 1.0


port 143 not working.


$ telnet localhost 143
Code:
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
* OK Dovecot ready.
1 login satimis mypassword
1 NO Authentication failed.
* BYE Disconnected for inactivity.
Connection closed by foreign host.


# tail /var/log/mail.log
Code:
Password:
Oct  6 01:05:02 xen5 dovecot: imap-login: Disconnected: user=<satimis>, method=P LAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Oct  6 01:17:09 xen5 postfix/smtpd[1820]: connect from 201-43-209-60.dsl.telesp. net.br[201.43.209.60]
Oct  6 01:17:11 xen5 postfix/smtpd[1820]: NOQUEUE: reject: RCPT from 201-43-209- 60.dsl.telesp.net.br[201.43.209.60]: 554 5.7.1 Service unavailable; Client host [201.43.209.60] blocked using bl.spamcop.net; Blocked - see http://www.spamcop.n et/bl.shtml?201.43.209.60; from=<criticastry@frontier-cnc.com> to=<mail@satimis. com> proto=SMTP helo=<gvaeprbc>
Oct  6 01:17:11 xen5 postfix/smtpd[1820]: lost connection after RCPT from 201-43 -209-60.dsl.telesp.net.br[201.43.209.60]
Oct  6 01:17:11 xen5 postfix/smtpd[1820]: disconnect from 201-43-209-60.dsl.tele sp.net.br[201.43.209.60]
Oct  6 01:20:31 xen5 postfix/anvil[1823]: statistics: max connection rate 1/60s for (smtp:201.43.209.60) at Oct  6 01:17:09
Oct  6 01:20:31 xen5 postfix/anvil[1823]: statistics: max connection count 1 for  (smtp:201.43.209.60) at Oct  6 01:17:09
Oct  6 01:20:31 xen5 postfix/anvil[1823]: statistics: max cache size 1 at Oct  6  01:17:09
Oct  6 01:24:32 xen5 dovecot: auth-worker(default): mysql: Connected to 127.0.0. 1 (mailserver)
Oct  6 01:26:06 xen5 dovecot: imap-login: Disconnected: Inactivity: user=<satimi s>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured


I suppose it uses "MySQL authorization". But I can't find /etc/dovecot/dovecot-mysql.conf


# cat /etc/dovecot/dovecot.conf
Code:
protocols = imap imaps
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
ssl_cert_file = /etc/ssl/certs/xen5.pem
ssl_key_file = /etc/ssl/private/xen5.pem
mail_privileged_group = mail

##
## IMAP specific settings
##

protocol imap {
}
  
##
## POP3 specific settings
##

protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}

##
## LDA specific settings
##

  protocol lda {
    log_path = /var/vmail/dovecot-deliver.log
    auth_socket_path = /var/run/dovecot/auth-master
    postmaster_address = postmaster@satimis.com

  # Enabling Sieve plugin for server-side mail filtering
    mail_plugins = cmusieve
    global_script_path = /var/vmail/globalsieverc
  }

##
## Authentication processes
##

auth default {
  # Space separated list of wanted authentication mechanisms:
  #   plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi
  mechanisms = plain login

  passdb sql {
    # Path for SQL configuration file, see /etc/dovecot/dovecot-sql.conf for example
    args = /etc/dovecot/dovecot-sql.conf 
  }

  userdb passwd {
  }

  user = root

  socket listen {
     master {
       path = /var/run/dovecot/auth-master
       mode = 0600
      # Default user/group is the one who started dovecot-auth (root)
       user = vmail
      #group = 
     }
     client {
      # The client socket is generally safe to export to everyone. Typical use
      # is to export it to your SMTP server so it can do SMTP AUTH lookups
      # using it.
        path = /var/spool/postfix/private/auth
        mode = 0660
	user = postfix
	group = postfix
     }
   }

}

dict {
  #quota = mysql:/etc/dovecot-dict-quota.conf 
}

##
## Plugin settings
##

plugin {
}


Please help. Where can I find samples of dovecot.conf and dovecot-mysql.conf for my use. TIA


B.R.
satimis
# 2  
Old 10-09-2008
I don't think it's port 143 that's not working. It sounds like /etc/dovecot/dovecot-mysql.conf is the file you need to configure for it to authenticate against the MySQL database. I'm no expert about dovecot, so google "dovecot mysql howto"
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

-ne 0 doesn't work -le does

Hi, I am using korn shell. until ] do echo "\$# = " $# echo "$1" shift done To the above script, I passed 2 parameters and the program control doesn't enter inside "until" loop. If I change it to until ] then it does work. Why numeric comparison is not working with -ne and works... (3 Replies)
Discussion started by: ab_2010
3 Replies

2. UNIX for Dummies Questions & Answers

Why doesn't this work?

find . -name "05_scripts" -type d -exec mv -f {}/'*.aep\ Logs' {}/.LogFiles \; Returns this failure: mv: rename ./019_0120_WS_WH_gate_insideTEST/05_scripts/*.aep\ Logs to ./019_0120_WS_WH_gate_insideTEST/05_scripts/.LogFiles/*.aep\ Logs: No such file or directory I don't know why it's trying... (4 Replies)
Discussion started by: scribling
4 Replies

3. Shell Programming and Scripting

echo doesn't work right

Hi,when I run my first shell script,I got something that doesn't work right. I wrote this code in the script. echo -e "Hello,World\a\n"But the screen print like this: -e Hello,World The "-e" wasn't supposed to be printed out. Can anyone help me out?:wall: Many thanks!:) (25 Replies)
Discussion started by: Demon
25 Replies

4. Shell Programming and Scripting

my script doesn't work :(

i have this script and when i ejecute it, the console tell me this " sintax error line 41 unexpected element "}" " is the sintaxis ok? #!/bin/bash if ;then { exit 0; } if ; then { sudo /etc/init.d/apache2 start; sudo /etc/init.d/mysql start; php5 & nautilus... (3 Replies)
Discussion started by: keiserx
3 Replies

5. Shell Programming and Scripting

Lipo doesn't work

Hi guys, Am using lipo to merge ppc and i386 version of a static/dylib file based on "file type to load". I am working on Mac OS 10.5.6 and new to shell scripting. Please help me out. This is my code. echo "This file combine ppc and i386 file to form universal library" echo "source... (4 Replies)
Discussion started by: vishwesh
4 Replies

6. Shell Programming and Scripting

What to do when mtime doesn't work?

I have a folder that I need to search for new files and copy on the latest. I've been using "-mtime -1" in my command line but it doesn't seem to work. I've been meaning to fine a different script because files are dropped into the folder all day long and because of the -mtime, I've only be... (19 Replies)
Discussion started by: bbbngowc
19 Replies

7. Shell Programming and Scripting

awk -v -- Why doesn't my example work?

Hi. I've been playing around a bit. This isn't for any practical purpose-- it's really just a theoretical exercise. I wrote this little thing: foreach num ( 6 5 4 ) awk -v "number=$num" 'BEGIN{for(x=0;x<$number;x++) printf "-"; printf "\n"}' end I would expect the following output: ... (3 Replies)
Discussion started by: treesloth
3 Replies

8. UNIX for Dummies Questions & Answers

Script doesn't work, but commands inside work

Howdie everyone... I have a shell script RemoveFiles.sh Inside this file, it only has two commands as below: rm -f ../../reportToday/temp/* rm -f ../../report/* My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies

9. Shell Programming and Scripting

Why doesn't this work?

cat .servers | while read LINE; do ssh jason@$LINE $1 done exit 1 ./command.ksh "ls -l ~jason" Why does this ONLY iterate on the first server in the list? It's not doing the command on all the servers in the list, what am I missing? Thanks! JP (2 Replies)
Discussion started by: jpeery
2 Replies
Login or Register to Ask a Question