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
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)
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)
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)
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)
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)
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)
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)
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)