Re: [Dovecot] dovecot: Fatal: Time just moved backwards by 3603seconds.

2008-08-19 Thread kbajwa
OK, I admit I am new to LINUX, so please help me in setting up my server as
NTP client. In the past, I have had the same problem where the time moved
backward.

In my case I have only 1 server on which I run everything. Currently this
server is setup to synchronize time using the NETWORK TIME PROTOCOL
(application which comes with CentOS).

So here is my question: How do I setup this one server as NTP Client? You
can point me to a location the NET, where I can read and set it up myself!

Kirt



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ville
Walveranta
Sent: Monday, August 18, 2008 2:38 PM
To: Dovecot Mailing List
Subject: Re: [Dovecot] dovecot: Fatal: Time just moved backwards by
3603seconds.

ntp client as a service (daemon) is the way to go... I had the same
problem; I wasn't aware of the fact that dovecot would be sensitive to
time going backwards. I was running ntpdate via cron, and the first
time the time-check resulted in backwards correction, dovecot bombed.
Unless the drift is great and frequent it's not a hardware clock
problem as generally the clocks on the PC motherboard drift, and the
drift doesn't have to be much when it's to the "wrong" direction (as
far as dovecot is concerned). The way ntp handles the correction is
very graceful—by speeding up or slowing down the clock (or stepping
for greater corrections)—that it's recommended even on systems that
don't run dovecot. If the drifts are generally nominal, it might be a
good idea to use -x (--slew) option to allow adjustment of the common
few second corrections more gradually without stepping. Without the
"-x" option slew is limited to ±0.128 second corrections and time is
stepped even for, say, 3 second corrections. With -x one second
correction is completed in about 33 minutes, and greater corrections
(up to 600 seconds) take thus days to complete, so the -x option is
not good for systems with bad clocks :-).

Ville




Re: [Dovecot] Cyrus vs Dovecot

2008-08-13 Thread kbajwa
Hello:

I think you are missing a point which is most important, i.e., what type of
support Cyrus vs Dovecot offers. In my experience:

Cyrus  =  0
Dovecot=  100


My personal experience.

Kirt






[Dovecot] dovecot.sieve file location?

2008-07-27 Thread kbajwa
CentOS 5.2
Postfix-2.3.3
Dovecot-1.1.1
Dovecot.Sieve-1.1.5

I have setup with:

home_mailbox = Maildir/ (/etc/postfix/main.cf)  &

mail-location = maildir:~/Maildir (/etc/dovecot.conf)


I have created a 'test' user to test Sieve 'Vacation' setup. My questions
are:

1. Which folder '.dovecot.sieve' script is copied into? Is it 'home/test'
-or- 'home/test/Maildir' or someplace else?

2. '.dovecot.sieve' script parameter ":days 1" means that the reply is sent
once a day. Is it possible to send the reply 'immediately'? 

Kirti




[Dovecot] dovecot.sieve file location?

2008-07-27 Thread kbajwa
CentOS 5.2
Postfix-2.3.3
Dovecot-1.1.1
Dovecot.Sieve-1.1.5

I have setup with:

home_mailbox = Maildir/ (/etc/postfix/main.cf)  &

mail-location = maildir:~/Maildir (/etc/dovecot.conf)


I have created a 'test' user to test Sieve 'Vacation' setup. My questions
are:

1. Which folder '.dovecot.sieve' script is copied into? Is it 'home/test'
-or- 'home/test/Maildir' or someplace else?

2. '.dovecot.sieve' script parameter ":days 1" means that the reply is sent
once a day. Is it possible to send the reply 'immediately'? 

Kirti




Re: [Dovecot] Error - Dovecot Permission denied

2008-07-27 Thread kbajwa
Big thanks. It worked.

Kirti

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sahil
Tandon
Sent: Sunday, July 27, 2008 1:53 PM
To: kbajwa
Cc: dovecot@dovecot.org
Subject: Re: [Dovecot] Error - Dovecot Permission denied

kbajwa <[EMAIL PROTECTED]> wrote:

> I have posted the permissions on another post. However, when I look at
> "properties" & then "permissions" for 'dovecot.conf' file, following are
the
> 'permissions' listed:
> 
> Owner:dovecot
> Access:   Read & Write
> 
> Group:Mail
> Access:   Read-Only
> 
> Others
> Access: none

This is the problem.  The mailbox_command runs neither as the dovecot user 
nor with the mail GID.  You need to give others access to read the file.

# chmod o+r /etc/dovecot.conf

> 
> Execute: [] Allow executing file as program
> SELinux Context: file_t
> 
> I hope it makes sense to you, it does not to me.
> 
> Let me know if the above need some change.

[...]

-- 
Sahil Tandon <[EMAIL PROTECTED]>




Re: [Dovecot] Error - Dovecot Permission denied

2008-07-27 Thread kbajwa
Mouss:

Here is the information you asked for:

[EMAIL PROTECTED] ~]# ls -1 / | grep /etc 
[EMAIL PROTECTED] ~]# ls -l /etc/dovecot.conf 
-rw-r- 1 dovecot mail 46723 Jul 26 20:09 /etc/dovecot.conf 
[EMAIL PROTECTED] ~]#  

I hope you have an answer.

Kirti


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mouss
Sent: Sunday, July 27, 2008 10:45 AM
Cc: dovecot@dovecot.org
Subject: Re: [Dovecot] Error - Dovecot Permission denied


FYI, I have asked for the output of two commands:


# ls -l / | grep /etc
# ls -l /etc/dovecot.conf

in my previous post :)






Re: [Dovecot] Error - Dovecot Permission denied

2008-07-27 Thread kbajwa
Hello:

Since I posted this original messages, I have installed, re-installed
Postfix-2.3.3, Dovecot-1.1.1 & Dovecot-Sieve-1.1.5 over and over & still got
the "Permission Denied" error (see "/var/log/maillog" logs below).

Here what I found! If I add the following in "/etc/postfix/main.cf";

Mailbox_command = /usr/libexec/dovecot/deliver

Then the "Permission Denied" error appears and all mail is bounced back with
error message.

If I remove this line, all emails are delivered fine. No error.

This problem started when I switched dovecot from Ver# 1.0.7 to 1.1.1

So my question is: 

(1) has something changed in Dovecot V# 1.1.1 to cause this error?
(2) what if I leave this line out? Would it cause problem with either
Dovecot or Dovecot-Sieve?
(3) Any other solution.

FYI, I have already included Postfix, Dovecot & Dovecot-Sieve configuration
in my previous post.

HELP. I have spent 20 days on this problem.

Kirti


---

Jul 27 09:12:48 www dovecot: Dovecot v1.1.2 starting up
Jul 27 09:12:49 www postfix/postfix-script: starting the Postfix mail system
Jul 27 09:12:49 www postfix/master[4948]: daemon started -- version 2.3.3,
configuration /etc/postfix

Jul 27 09:16:23 www postfix/smtpd[5613]: warning: 12.179.81.11: hostname
mail.greaterlink.net verification failed: Name or service not known
Jul 27 09:16:23 www postfix/smtpd[5613]: connect from unknown[12.179.81.11]
Jul 27 09:16:23 www postfix/smtpd[5613]: E31DA41C0028:
client=unknown[12.179.81.11]
Jul 27 09:16:24 www postfix/cleanup[5617]: E31DA41C0028:
message-id=<[EMAIL PROTECTED]>
Jul 27 09:16:24 www postfix/qmgr[4967]: E31DA41C0028:
from=<[EMAIL PROTECTED]>, size=860, nrcpt=1 (queue active)
Jul 27 09:16:24 www postfix/smtpd[5613]: disconnect from
unknown[12.179.81.11]


Jul 27 09:16:24 www postfix/local[5623]: E31DA41C0028:
to=<[EMAIL PROTECTED]>, relay=local, delay=0.99,
delays=0.74/0.03/0/0.22, dsn=5.3.5, status=bounced (local configuration
error. Command output: Fatal: open(/etc/dovecot.conf) failed: Permission
denied )

Jul 27 09:16:24 www postfix/cleanup[5617]: B73C441C002A:
message-id=<[EMAIL PROTECTED]>
Jul 27 09:16:24 www postfix/qmgr[4967]: B73C441C002A: from=<>, size=2862,
nrcpt=1 (queue active)
Jul 27 09:16:24 www postfix/bounce[5626]: E31DA41C0028: sender non-delivery
notification: B73C441C002A
Jul 27 09:16:24 www postfix/qmgr[4967]: E31DA41C0028: removed
Jul 27 09:16:26 www postfix/smtp[5627]: B73C441C002A:
to=<[EMAIL PROTECTED]>, relay=mail.tibonline.net[12.179.81.11]:25,
delay=1.4, delays=0.01/0.03/0.61/0.72, dsn=2.0.0, status=sent (250 OK)
Jul 27 09:16:26 www postfix/qmgr[4967]: B73C441C002A: removed




[Dovecot] Error - Dovecot Permission denied

2008-07-26 Thread kbajwa
CentOS 5.2
Postfix 2.3.3 (Came Packed with CentOS)
Dovecot 1.1.1
Dovecot-Sieve 1.1.5

Did a complete new fresh install. When I send a message to:
[EMAIL PROTECTED], I get two error messages as listed in the
/var/log/maillog:

(1) (lost connection with mail.tibonline.net[12.179.81.11] while receiving
the initial server greeting)

(2) status=bounced (local configuration error. Command output: Fatal:
open(/etc/dovecot.conf) failed: Permission denied )



Attached are copies of (a) Postfix, (b) Dovecot, (c) Dovecot-Sieve in
'/home/test/' and (d) /var/log/maillog

--
[EMAIL PROTECTED] ~]# postconf -n 
alias_database = hash:/etc/aliases 
alias_maps = hash:/etc/aliases 
broken_sasl_auth_clients = yes 
command_directory = /usr/sbin 
config_directory = /etc/postfix 
daemon_directory = /usr/libexec/postfix 
debug_peer_level = 2 
home_mailbox = Maildir/ 
html_directory = no 
inet_interfaces = all 
mail_owner = postfix 
mailbox_command = /usr/libexec/dovecot/deliver 
mailq_path = /usr/bin/mailq.postfix 
manpage_directory = /usr/share/man 
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain 
mydomain = wildpeacockstudios.com 
myhostname = mail.wildpeacockstudios.com 
mynetworks = 127.0.0.0/8 
myorigin = $mydomain 
newaliases_path = /usr/bin/newaliases.postfix 
queue_directory = /var/spool/postfix 
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES 
relay_domains = 
relayhost = 
sample_directory = /usr/share/doc/postfix-2.3.3/samples 
sendmail_path = /usr/sbin/sendmail.postfix 
setgid_group = postdrop 
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination 
smtpd_sasl_auth_enable = yes 
smtpd_sasl_path = private/auth 
smtpd_sasl_type = dovecot 
unknown_local_recipient_reject_code = 550 
[EMAIL PROTECTED] ~]# 
[EMAIL PROTECTED] ~]# 

--
[EMAIL PROTECTED] ~]# dovecot -n 
# 1.1.2: /etc/dovecot.conf 
login_dir: /var/run/dovecot/login 
login_executable(default): /usr/libexec/dovecot/imap-login 
login_executable(imap): /usr/libexec/dovecot/imap-login 
login_executable(pop3): /usr/libexec/dovecot/pop3-login 
mail_location: maildir:~/Maildir 
mail_executable(default): /usr/libexec/dovecot/imap 
mail_executable(imap): /usr/libexec/dovecot/imap 
mail_executable(pop3): /usr/libexec/dovecot/pop3 
mail_plugin_dir(default): /usr/lib/dovecot/imap 
mail_plugin_dir(imap): /usr/lib/dovecot/imap 
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 
imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh 
imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh 
imap_client_workarounds(pop3): 
pop3_client_workarounds(default): 
pop3_client_workarounds(imap): 
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh 
auth default: 
  mechanisms: plain login 
  passdb: 
driver: pam 
  userdb: 
driver: passwd 
  socket: 
type: listen 
client: 
  path: /var/spool/postfix/private/auth 
  mode: 432 
  user: postfix 
  group: postfix 
[EMAIL PROTECTED] ~]# 

--
/home/test/.dovecot-sieve

require ["fileinto", "vacation"];
# Move spam to spam folder
if exists "X-Spam-Flag" {
  fileinto "spam";
  # Stop here so that we do not reply on spams
  stop;
}
vacation
  # Reply at most once a day to a same sender
  :days 1
  :subject "Out of office reply"
  # List of recipient addresses which are included in the auto replying.
  # If a mail's recipient is not on this list, no vacation reply is sent for
it.
  :addresses ["[EMAIL PROTECTED]"]
"I'm out of office, please contact Joan Doe instead.
Best regards
John Doe";

--
/var/log/maillog

Jul 26 09:39:28 www dovecot: Dovecot v1.1.2 starting up
Jul 26 09:39:29 www postfix/postfix-script: starting the Postfix mail system
Jul 26 09:39:29 www postfix/master[4963]: daemon started -- version 2.3.3,
configuration /etc/postfix
Jul 26 09:39:29 www postfix/qmgr[4969]: 6EBA241C0007:
from=<[EMAIL PROTECTED]>, size=722, nrcpt=1 (queue active)

Jul 26 09:39:31 www postfix/smtp[4996]: 6EBA241C0007:
to=<[EMAIL PROTECTED]>, relay=mail.tibonline.net[12.179.81.11]:25,
delay=1011, delays=1009/0.15/2.3/0, dsn=4.4.2, status=deferred (lost
connection with mail.tibonline.net[12.179.81.11] while receiving the initial
server greeting)

Jul 26 09:41:07 www dovecot: pop3-login: Login: user=, method=PLAIN,
rip=192.168.0.64, lip=65.103.190.107
Jul 26 09:41:08 www dovecot: POP3(test): Disconnected: Logged out top=0/0,
retr=0/0, del=0/0, size=0
Jul 26 09:41:17 www postfix/smtpd[5583]: connect from unknown[192.168.0.64]
Jul 26 09:41:17 www postfix/smtpd[5583]: D7F3F41C001C:
client=unknown[192.168.0.64], sasl_method=PLAIN, sasl_username=kirtib
Jul 26 09:41:17 www postfix/cleanup[5587]: D7F3F41C001C:
message-id=<[EMAIL PROTECTED]>
Jul 26 09:41:17 www postfix/qmgr[4969]: D7F3F41C001C:
from=<[EMAIL PROTECTED]>, size=720, nrcpt=1 (queue active)
Jul 26 09:41:17 www postfix/smtpd[5583]: disconnect from
unknown[192.168.0.64]
Jul 26 09:41:1

[Dovecot] Dovecot LDA with Postfix - question?

2008-07-21 Thread kbajwa
Hello:

CentOS 5.2
Postfix 2.3.3 (part of CentOS install)
Dovecot 1.0.7 (part of CentOS install)
Dovecot 1.1.1 (Updated from www.atrpms.net)

Postfix & Dovecot are working fine. While reading "Dovecot LDA with Postfix"
document at http://wiki.dovecot.org/LDA/Postfix , I read the following
statement:

-
Dovecot LDA with Postfix

System users

If you wish you use deliver for all system users on a single domain mail
host you can do it by editing mailbox_command parameter in

/etc/postfix/main.cf (postconf(5)):

mailbox_command = /usr/local/libexec/dovecot/deliver
#  or
mailbox_command = /usr/libexec/dovecot/deliver
#  or
mailbox_command = /usr/lib/dovecot/deliver
#  or wherever it was installed in your system.

Then run postfix reload and that is it. 
-

Here is the problem; I do not find location of ".../dovecot/deliver"
anywhere on the system! 

1. Did I do any mistake during the Postfix and/or Dovecot
install/configuration?

2. Next, I plan to install "Dovecot-Sieve". Do I need the "mailbox_command"
for "Dovecot-Sieve" to work?

Kirti




Re: [Dovecot] Dovecot - Permission denied error!

2008-07-11 Thread kbajwa
Charles:

Thank you for pointing out the problem. In one of the previous posts,
someone had suggested to add the line:

Mailbox_command = /usr/linexec/dovecot/deliver

and when I removed this line, the error in question went away. It may be
change in davecot version-1.1.1.

Kirti

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Charles Marcus
Sent: Friday, July 11, 2008 11:16 AM
To: 'Dovecot Mailing List'
Subject: Re: [Dovecot] Dovecot - Permission denied error!

On 7/11/2008, kbajwa ([EMAIL PROTECTED]) wrote:
> Did you notice the remark "local configuration error"!

Yes... but examining both postconf -n and dovecot -n doesn't explain it...

You apparently are not using the dovecot LDA, so why is postfix's LDA 
trying to open the dovecot.conf file?

-- 

Best regards,

Charles




Re: [Dovecot] Dovecot - Permission denied error!

2008-07-11 Thread kbajwa
Charles:

Sorry, I did not understand your response. English is my 2nd language.

1. I am NOT running postfix 'chrooted';
2. master.cf is in its original format, I have made no change. Here is the
master.cf:

#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==
# service type  private unpriv  chroot  wakeup  maxproc command + args
#   (yes)   (yes)   (yes)   (never) (100)
# ==
smtp  inet  n   -n   -   -   smtpd
#submission inet n   -   n   -   -   smtpd
#  -o smtpd_enforce_tls=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet  n   -   n   -   -   smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#628  inet  n   -   n   -   -   qmqpd
pickupfifo  n   -   n   60  1   pickup
cleanup   unix  n   -   n   -   0   cleanup
qmgr  fifo  n   -   n   300 1   qmgr
#qmgr fifo  n   -   n   300 1   oqmgr
tlsmgrunix  -   -   n   1000?   1   tlsmgr
rewrite   unix  -   -   n   -   -   trivial-rewrite
bounceunix  -   -   n   -   0   bounce
defer unix  -   -   n   -   0   bounce
trace unix  -   -   n   -   0   bounce
verifyunix  -   -   n   -   1   verify
flush unix  n   -   n   1000?   0   flush
proxymap  unix  -   -   n   -   -   proxymap
smtp  unix  -   -   n   -   -   smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix  -   -   n   -   -   smtp
-o fallback_relay=
#   -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix  n   -   n   -   -   showq
error unix  -   -   n   -   -   error
discard   unix  -   -   n   -   -   discard
local unix  -   n   n   -   -   local
virtual   unix  -   n   n   -   -   virtual
lmtp  unix  -   -   n   -   -   lmtp
anvil unix  -   -   n   -   1   anvil
scacheunix  -   -   n   -   1   scache
#
# 
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# 
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -   n   n   -   -   pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix  -   n   n   -   -   pipe
  flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension}
${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus unix  -   n   n   -   -   pipe
  user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m
${extension} ${user}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp  unix  -   n   n   -   -   pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
#
# Other external delivery methods.
#
ifmailunix  -   n   n   -   -   pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix  -   n   n   -   -   pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient

--

Thanks.

Kirti

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Charles Marcus
Sent: Friday, July 11, 2008 10:05 AM
To: 'Dovecot Mailing List'
Subject: Re: [Dovecot] Dovecot - Permission denied error!

On 7/11/2008, kbajwa ([EMAIL PROTECTED]) wrote:
>> Are you running postfix chrooted? What is in master.cf?

 > I have made no changes to /etc/postfix/master.cf
 >
 > Did you notice the remark "local configuration error"!

Ahem... I didn't ask you if you had made any changes, I ask

Re: [Dovecot] Dovecot - Permission denied error!

2008-07-11 Thread kbajwa
Yup, this is the problem. 

I have made no changes to /etc/postfix/master.cf

Did you notice the remark "local configuration error"!

Somebody else is having the same problem? Please help.

Kirti


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Charles Marcus
Sent: Friday, July 11, 2008 9:18 AM
To: 'Dovecot Mailing List'
Subject: Re: [Dovecot] Dovecot - Permission denied error!

On 7/11/2008, kbajwa ([EMAIL PROTECTED]) wrote:
> Jul 11 05:28:10 www postfix/local[5458]: B7EBD1E48069: to=<[EMAIL PROTECTED]>,
> relay=local, delay=0.9, delays=0.69/0.06/0/0.16, dsn=5.3.5, status=bounced
> (local configuration error. Command output: Fatal: open(/etc/dovecot.conf)
> failed: Permission denied ) 

This is the problem... but I'm not sure what it means...

Are you running postfix chrooted? What is in master.cf?

-- 

Best regards,

Charles




[Dovecot] Dovecot - Permission denied error!

2008-07-11 Thread kbajwa
Hello:

CentOS 5.2
Postfix 2.3.3 + updates (bundled with CentOS 5.2)
Dovecot-1.0.7 (bundled with CentOS 5.2)
Dovecot-1.1.1 (Updated from www.atrpms.com)
Dovecot-sieve-1.1.5 (Updated from www.atrpms.com)



During the last few days I have installed dovecot many times without errors.
Today I installed dovecot-1.1.1 & sent a test message to '[EMAIL PROTECTED]'. I
received the following message back:

--

This is the mail system at host mail.tib.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to 

If you do so, please include this problem report. You can delete your own
text from the attached returned message.

   The mail system

<[EMAIL PROTECTED]>: local configuration error. Command output: Fatal:
open(/etc/dovecot.conf) failed: Permission denied

Here is dovecot.conf file:
==

Jul 11 05:24:50 www dovecot: Dovecot v1.1.1 starting up 
Jul 11 05:24:52 www postfix/postfix-script: starting the Postfix mail system

Jul 11 05:24:52 www postfix/master[4767]: daemon started -- version 2.3.3,
configuration /etc/postfix 
Jul 11 05:25:12 www postfix/smtpd[5081]: connect from unknown[59.93.166.101]

Jul 11 05:25:16 www postfix/smtpd[5081]: NOQUEUE: reject: RCPT from
unknown[59.93.166.101]: 550 5.1.1 <[EMAIL PROTECTED]>: Recipient address
rejected: User unknown in local recipient table;
from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP
helo=<59.93.166.101> 
Jul 11 05:25:18 www postfix/smtpd[5081]: lost connection after DATA from
unknown[59.93.166.101] 
Jul 11 05:25:18 www postfix/smtpd[5081]: disconnect from
unknown[59.93.166.101] 
 
Jul 11 05:28:09 www postfix/smtpd[5452]: connect from
mail.highcountryonline.net[12.179.81.11] 
Jul 11 05:28:09 www postfix/smtpd[5452]: B7EBD1E48069:
client=mail.highcountryonline.net[12.179.81.11] 
Jul 11 05:28:10 www postfix/cleanup[5457]: B7EBD1E48069:
message-id=<[EMAIL PROTECTED]> 
Jul 11 05:28:10 www postfix/qmgr[4779]: B7EBD1E48069:
from=<[EMAIL PROTECTED]>, size=816, nrcpt=1 (queue active) 
Jul 11 05:28:10 www postfix/smtpd[5452]: disconnect from
mail.highcountryonline.net[12.179.81.11] 
Jul 11 05:28:10 www postfix/local[5458]: B7EBD1E48069: to=<[EMAIL PROTECTED]>,
relay=local, delay=0.9, delays=0.69/0.06/0/0.16, dsn=5.3.5, status=bounced
(local configuration error. Command output: Fatal: open(/etc/dovecot.conf)
failed: Permission denied ) 
Jul 11 05:28:10 www postfix/cleanup[5457]: 6D7BF1E4806C:
message-id=<[EMAIL PROTECTED]> 
Jul 11 05:28:10 www postfix/qmgr[4779]: 6D7BF1E4806C: from=<>, size=2623,
nrcpt=1 (queue active) 
Jul 11 05:28:10 www postfix/bounce[5461]: B7EBD1E48069: sender non-delivery
notification: 6D7BF1E4806C 
Jul 11 05:28:10 www postfix/qmgr[4779]: B7EBD1E48069: removed 
Jul 11 05:28:11 www postfix/smtp[5462]: 6D7BF1E4806C:
to=<[EMAIL PROTECTED]>, relay=mail.tibonline.net[12.179.81.11]:25,
delay=1.3, delays=0.01/0.06/0.62/0.63, dsn=2.0.0, status=sent (250 OK) 
Jul 11 05:28:11 www postfix/qmgr[4779]: 6D7BF1E4806C: removed

---
I believe that dovecot-1.1.1 may be causing it. I did not have this problem
when I was testing dovecot-1.0.7.

Google show 'Permission denied' error problem going back to several years.
One suggestion on Google was to 'disable' SElinux, which I did without
success.


Any ideas why this error is happening?

Kirti




Re: [Dovecot] Vacation?

2008-07-10 Thread kbajwa
Hello:

This has been a long post but I am still trying. Here is the latest problem,
but first the system:

CentOS 5.2
Postfix 2.3.3 + updates (bundled with CentOS 5.2)
Dovecot-1.0.7 (bundled with CentOS 5.2)
Dovecot-1.1.1 (Updated from www.atrpms.com as recommended by Charles Marcus)


Problem:


After the above software is installed, 'pop3' does not open. I research the
internet and found discussion on this problem. It has something to do with
IPV6 causing the problem. On the internet it is suggested to change [::] to
'*'.

Me being new to Dovecot (and LINUX in general), I have no idea to fix this
problem.

Please:

(1) Direct to a web site where this error is discussed in layman's term;
(2) If you know what I am talking about & have encountered the same problem,
lease give me a line of code & the file where it would go.

Here is information from my setup:


/var/log/mailog
---
Jul 10 16:14:05 www dovecot: Dovecot v1.1.1 starting up 
Jul 10 16:14:07 www postfix/postfix-script: starting the Postfix mail system

Jul 10 16:14:07 www postfix/master[4764]: daemon started -- version 2.3.3,
configuration /etc/postfix 
Jul 10 16:14:27 www postfix/smtpd[5067]: connect from
proxy.gymspk.cz[85.207.83.178] 
Jul 10 16:14:27 www postfix/smtpd[5067]: NOQUEUE: reject: RCPT from
proxy.gymspk.cz[85.207.83.178]: 550 5.1.1 <[EMAIL PROTECTED]>: Recipient
address rejected: User unknown in local recipient table;
from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP
helo= 
Jul 10 16:14:28 www postfix/smtpd[5067]: disconnect from
proxy.gymspk.cz[85.207.83.178] 
---

[EMAIL PROTECTED] ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = tib.com
myhostname = mail.tib.com
mynetworks = 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relay_domains = 
relayhost = 
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
[EMAIL PROTECTED] ~]# 
---

[EMAIL PROTECTED] ~]# dovecot -n
# 1.1.1: /etc/dovecot.conf
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
mail_location: maildir:~/Maildir/
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail  outlook_idle   netscape-eoh
imap_client_workarounds(imap): delay-newmail  outlook_idle   netscape-eoh
imap_client_workarounds(pop3): 
pop3_client_workarounds(default): 
pop3_client_workarounds(imap): 
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
  passdb:
driver: pam
  userdb:
driver: passwd
[EMAIL PROTECTED] ~]# 

--

Thanks in advance.

Kirti










Re: [Dovecot] Vacation?

2008-07-08 Thread kbajwa
asl_type = dovecot
unknown_local_recipient_reject_code = 550
[EMAIL PROTECTED] ~]#
-

.dovecot.sieve (/home/test/)
-
require ["fileinto", "vacation"];
# Move spam to spam folder
if exists "X-Spam-Flag" {
  fileinto "spam";
  # Stop here so that we do not reply on spams
  stop;
}
vacation
  # Reply at most once a day to a same sender
  :days 1
  :subject "Out of office reply"
  # List of recipient addresses which are included in the auto replying.
  # If a mail's recipient is not on this list, no vacation reply is sent for
it.
  :addresses ["[EMAIL PROTECTED]"]
"I'm out of office, please contact me at my vacation home in Hawaii instead.
Best regards
K";
-

Hope this answers my problem. Many Many THANKS in advance.

Kirti


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Charles Marcus
Sent: Monday, July 07, 2008 8:36 PM
To: 'Dovecot Mailing List'
Subject: Re: [Dovecot] Vacation?

On 7/7/2008 kbajwa wrote:
> Do you know if Dovecot-1.1.1 works with CentOS 5.1?

http://www.atrpms.net/dist/el5/dovecot/

http://www.atrpms.net/dist/el5/dovecot-sieve/

> 2. I assume when you said logs, you mean 'var/log/maillog'. If so, 
> here is a piece of it (it is quite large):

Well... not just *anything* from it... what I meant was, a log event of 
a message delivery that should have resulted in a vacation message being 
sent.

 > Jul 7 18:36:10 www dovecot:
> auth(default): Time just moved backwards by 1 seconds. I'll sleep now
> until we're back in present. 
> http://wiki.dovecot.org/TimeMovedBackwards

Time is critical on servers... you need to fix this. Are you running ntp 
client (NOT ntpdate)? Is this running in a virtual machine.

I don't see any complete logs of a single message that should have 
resulted in a vacation message.

Also, dovecot -n and postconf -n output might help too...




Re: [Dovecot] Vacation?

2008-07-07 Thread kbajwa
Hello:

1. I am new to LINUX and thus I am using only those applications which come
bundled in with CentOS 5.1. Have no idea how to update to dovecot-1.1.1!!!

Do you know if Dovecot-1.1.1 works with CentOS 5.1?

2. I assume when you said logs, you mean 'var/log/maillog'. If so, here is a
piece of it (it is quite large):

---
Jul  7 18:32:56 www dovecot: Dovecot v1.0.7 starting up 
Jul  7 18:32:57 www postfix/postfix-script: starting the Postfix mail system

Jul  7 18:32:57 www postfix/master[2287]: daemon started -- version 2.3.3,
configuration /etc/postfix 
Jul  7 18:36:10 www dovecot: auth(default): Time just moved backwards by 1
seconds. I'll sleep now until we're back in present.
http://wiki.dovecot.org/TimeMovedBackwards 
Jul  7 18:36:35 www postfix/smtpd[2902]: connect from unknown[12.179.81.11] 
Jul  8 00:36:36 www postfix/smtpd[2902]: 350DB2050052:
client=unknown[12.179.81.11] 


Jul  7 18:36:36 www postfix/cleanup[2906]: 350DB2050052:
message-id=<[EMAIL PROTECTED]> 
Jul  7 18:36:36 www postfix/qmgr[2299]: 350DB2050052:
from=<[EMAIL PROTECTED]>, size=825, nrcpt=1 (queue active) 
Jul  7 18:36:36 www postfix/local[2907]: 350DB2050052: to=<[EMAIL PROTECTED]>,
relay=local, delay=0.85, delays=0.71/0.06/0/0.08, dsn=2.0.0, status=sent
(delivered to maildir) 
Jul  7 18:36:36 www postfix/qmgr[2299]: 350DB2050052: removed 


Jul  8 00:36:36 www postfix/smtpd[2902]: disconnect from
unknown[12.179.81.11] 
Jul  7 18:39:11 www dovecot: pop3-login: Login: user=, method=PLAIN,
rip=:::192.168.0.64, lip=:::65.103.190.106, TLS 
Jul  7 18:39:11 www dovecot: POP3(kirtib): Disconnected: Logged out top=0/0,
retr=0/0, del=0/0, size=0
---

I hope this helps.

BIG THANKS.

Kirti



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Charles Marcus
Sent: Monday, July 07, 2008 5:13 PM
To: dovecot@dovecot.org
Subject: Re: [Dovecot] Vacation?

On 7/7/2008, kbajwa ([EMAIL PROTECTED]) wrote:
> Results: I do not receive 'Auto Response'.  Can somebody look at the above
> and see what am I doing wrong?

Logs? Also, you might ant to seriously consider upgrading to the latest 
(1.1.1 currently), it has come a long way since 1.0.7...

-- 

Best regards,

Charles




Re: [Dovecot] Vacation?

2008-07-07 Thread kbajwa
Hello All:

After all the responses I received on this post, I installed 'Vacation' as
follows:

-Download Sieve Plugin from http://www.dovecot.org/download.html  into
'Desktop'. 

-Compile Sieve Plugin with Dovecot:
% cd Desktop
% tar zxfv dovecot-sieve-?.?.?.tar.gz
% cd dovecot-sieve-?.?.?
% ./configure --with-dovecot=../dovecot-?.?.?
Note: We have the find the V# of Dovecot!
% make
% make install

-Edit '/etc/dovecot.conf':
protocol  lda   {
mail_plugins=   cmusieve
}

-Create a file ".dovecot.sieve" in '/home/test/' & add the following in this
file:
---
require ["fileinto", "vacation"];
# Move spam to spam folder
if exists "X-Spam-Flag" {
  fileinto "spam";
  # Stop here so that we do not reply on spams
  stop;
}
vacation
  # Reply at most once a day to a same sender
  :days 1
  :subject "Out of office reply"
  # List of recipient addresses which are included in the auto replying.
  # If a mail's recipient is not on this list, no vacation reply is sent for
it.
  :addresses [EMAIL PROTECTED]
"I'm out of office, please contact Joan Doe instead.
Best regards
Test Msg"; 

-Restart  'httpd'.

---

Results: I do not receive 'Auto Response'.  Can somebody look at the above
and see what am I doing wrong?

I have also tried by adding the above file into '/home/test/Maildir/'
without success.

This is my first install of 'Vacation'.

Thanks.

Kirti




Re: [Dovecot] Certificate Server name! - I may have found the Answer

2008-07-06 Thread kbajwa
Hello All:


I may have found the answer. However, the credit goes to everyone who
responded. Here is what I have discovered:

"etc/pki/dovecot/dovecot-openSSL.conf"

has the information regarding creating a certificate used by Dovecot. This
file may be updated to correct this problem. I am going to look into it.

Thanks all.

Kirt

-Original Message-
From: Andy Shellam [mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 06, 2008 3:02 PM
To: [EMAIL PROTECTED]
Cc: 'Dovecot Mailing List'
Subject: Re: [Dovecot] Certificate Server name!

Hi Kirt,

Right in that case, the installation of Dovecot has somewhere created a 
certificate with "imap.example.com" as the common name (CN.)

I'm afraid I cannot help further as I don't use SSL in Dovecot, however 
what I'll say is lookup how to create a certificate in OpenSSL.  Perhaps 
someone else can advise how to create and configure a certificate to use 
with Dovecot.

Andy

kbajwa wrote:
> I previously posted this message and made a type mistake. I wrote
> "imap.tib.com instead it should red "imap.example.com". I have corrected
the
> message and am reposting it. SORRY.
>
> -
> Setup of Dovecot went smoothly.
>
> Now when I try to retrieve mail from the server, I get the following
> message:
>
> Security Error: Domain name mismatch
>
> You have attempted to establish a connection to "mail.tib.com"
> However, the security certificate presented belongs to
> "imap.example.com".
>
> How to fix this message?
>
> Thanks in advance.
>
> Kirt
>
>
>
>   




[Dovecot] Certificate Server name!

2008-07-06 Thread kbajwa
I previously posted this message and made a type mistake. I wrote
"imap.tib.com instead it should red "imap.example.com". I have corrected the
message and am reposting it. SORRY.

-
Setup of Dovecot went smoothly.

Now when I try to retrieve mail from the server, I get the following
message:

Security Error: Domain name mismatch

You have attempted to establish a connection to "mail.tib.com"
However, the security certificate presented belongs to
"imap.example.com".

How to fix this message?

Thanks in advance.

Kirt




Re: [Dovecot] Certificate Server name!

2008-07-06 Thread kbajwa
OK.

Can you tell me where I entered "mail.tib.com" server name when I created a
certificate? I do not remember. The only place I can think of is in
/etc/postfix:

myhostname  =  mail.tib.com

However, I did go back & changed it to:

myhostname  =  imap.tib.com

but the message did not go away!

Do I need to recreate the certificate? If yes, then how is it done? 

I think I just installed & setup Postfix, Dovecot, but did not physically
created a certificate.

Is the certificate automatically created, from information in
/etc/postfix/main.cf, when Dovecot is setup? If that is the case, I can
uninstall Dovecot & re-install it unless there is an easy way.

Did I mention that I am pretty new to Postfix & Dovecot (and LINUX in
general).

Thanks.

Kirti




-Original Message-
From: Andy Shellam [mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 06, 2008 12:58 PM
To: [EMAIL PROTECTED]
Cc: 'Dovecot Mailing List'
Subject: Re: [Dovecot] Certificate Server name!

Hi Kirt,

Easy!  Either connect to imap.tib.com instead of mail.tib.com, or create 
and install a new security certificate on the server which is for 
mail.tib.com instead.
It's as simple as the message says - you've said your mail server is 
called "mail.tib.com" but your installed security certificate is for 
"imap.tib.com."

Andy


kbajwa wrote:
> Setup of Dovecot went smoothly.
>
> Now when I try to retrieve mail from the server, I get the following
> message:
>
> Security Error: Domain name mismatch
>
> You have attempted to establish a connection to "mail.tib.com"
> However, the security certificate presented belongs to "imap.tib.com".
>
>
> How to fix this message?
>
> Thanks in advance.
>
> Kirt
>
>
>
>   




[Dovecot] Certificate Server name!

2008-07-06 Thread kbajwa
Setup of Dovecot went smoothly.

Now when I try to retrieve mail from the server, I get the following
message:

Security Error: Domain name mismatch

You have attempted to establish a connection to "mail.tib.com"
However, the security certificate presented belongs to "imap.tib.com".


How to fix this message?

Thanks in advance.

Kirt




Re: [Dovecot] Vacation?

2008-06-30 Thread kbajwa
I tried installing Dovecot Sieve Plugin. When I enter the command:

% ./configure --with-dovecot=../dovecot-1.0.7

I get the error:

Error: C processor "lib/cpp" fails sanity check.

I think the problem may be that I am installing wrong version of
Dovecot-Sieve-Plugin. Here is my system, just in case I am right:

CentOS 5.1
postfix-2.3.3 (Note)
dovecot-1.0.7 (Note)
dovecot-sieve-1.1.5

Note: Both postfix & dovecot are installed from CentOS 5.1 distro. I am sure
that there are also updates.

Can somebody help with this problem? I am pretty GREEN, therefore, if you
can provide with 4-5 installation lines, I will really appreciate it.

Thanks.

Kirti





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Charles Marcus
Sent: Monday, June 30, 2008 12:50 PM
To: dovecot@dovecot.org
Subject: Re: [Dovecot] Vacation?

On 6/30/2008, kbajwa ([EMAIL PROTECTED]) wrote:
> I understand that there is a package which is part of Dovecot to handle
> "Auto Responses" known as Vacation.
> 
> Where I can find more info on this package & especially how to install &
> configure it?

http://wiki.dovecot.org/LDA/Sieve

-- 

Best regards,

Charles




[Dovecot] Vacation?

2008-06-30 Thread kbajwa
CentOS 5.1
Dovecot & Postfix (part of CentOS install & updated)

I understand that there is a package which is part of Dovecot to handle
"Auto Responses" known as Vacation.

Where I can find more info on this package & especially how to install &
configure it?

Thanks

Kirt