Re: [Dovecot] How do I use plus-addressing in Dovecot 1.1.x?

2008-11-03 Thread [EMAIL PROTECTED]
Can you post your conf files ? I could try it on one of my setups. I
have no idea how to make + addressing tho .

Jon Fullmer wrote:
 I'm using Postfix, Amavisd-new/SpamAssassin, and Dovecot. They all run
 on the same server (running Linux). The mailboxes are stored on the
 same server in maildir format.

 The logical path for incoming messages (as I understand it) is:

 1) received by Postfix; handed off to Amavisd-new
 2) Amavisd-new checks to see whether or not it's spam/undesirable;
 hands off to Dovecot deliver
 3) Dovecot deliver delivers the message to the local mailbox

 Under each of my user's mailbox is a submailbox called spam. Just so
 I don't confuse terminologies (I'm no IMAP/maildir expert), for
 example, we have [EMAIL PROTECTED] My configured mail_location is
 maildir:/srv/mail/%d/%n, so this person's mailbox is located here: 
 /srv/mail/domain.com/someone/   Within this directory is another
 mailbox:  /srv/mail/domain.com/someone/.spam/

 The plan is to have Dovecot deliver send a message (which has been
 labeled by Amavisd-new as spam) directly to the .spam submailbox,
 instead of the INBOX (/srv/mail/domain.com/someone/). With Dovecot
 1.0.x, I used plus addressing. Amavisd-new was configured so that,
 if a message was found to be spam, it delivered the message to Dovecot
 deliver, but changed the delivery address. Now, instead of
 [EMAIL PROTECTED], it was [EMAIL PROTECTED]. Dovecot
 deliver took this message and delivered it correctly to the .spam
 submailbox (/srv/mail/domain.com/someone/.spam/). Just to emphasize,
 this process does work (using Dovecot 1.0.x).

 With Dovecot 1.1.0, this process is broken. Now, spam messages are
 delivered to the INBOX instead, and, when checking the
 dovecot-deliver.log, I'm seeing save failed to spam: Unknown namespace.

 As best as I can tell, the answer seems to lie in namespaces as a
 feature added in Dovecot 1.1.0. The problem is that I don't understand
 how I could use them to resolve this situation. I've read the
 documentation. I've looked at as many example configurations as I
 could find.

 Please help. I want to get this working again. I'm sure it's something
 very straight-forward, but I don't understand. How must I change my
 Dovecot 1.1.x configuration so that my plus addressing set up
 (detailed above) will work again?

 Or is there a better way?

 Thanks so much for your help, and thanks for a great product!

  - Jon



[Dovecot] Sieve problem with 1.1.2

2008-09-04 Thread [EMAIL PROTECTED]
Hello,

I am new here, so excuse me if i am asking something already asked. I am
using dovecot 1.1.2 along with postfix 2.6 and a pgsql backend. So far
everything is great, until i wanted to try out the sieve implementation.
I am using dovecot for deliver and i have set

global_script_path = /home/vmail/globalsieverc

The script IS working until a given user defines his own sieve script (
for example ) :

require [fileinto];
# Move mail from my gmail account to gmail folder
if header :contains From [[EMAIL PROTECTED]] {
  fileinto gmail;
}


This ( or any other script for all i know ) breaks up the global one,
and it stops working. The global script looks like this :


require [fileinto];
# Move spam to spam folder
if header :contains X-Spam-Flag [YES] {
  fileinto spam;
  stop;
}


Am i missing something, or this is the desired behaviour ?


Re: [Dovecot] Sieve problem with 1.1.2

2008-09-04 Thread [EMAIL PROTECTED]
Any suggestions on how to disable this ? I'd like to be able to filter
all spam by default with sieve, and still allow users to have their own
rules.

Eduardo M KALINOWSKI wrote:
 [EMAIL PROTECTED] escreveu:
   
 Hello,

 I am new here, so excuse me if i am asking something already asked. I am
 using dovecot 1.1.2 along with postfix 2.6 and a pgsql backend. So far
 everything is great, until i wanted to try out the sieve implementation.
 I am using dovecot for deliver and i have set

 global_script_path = /home/vmail/globalsieverc

 The script IS working until a given user defines his own sieve script (
 for example ) :

 This ( or any other script for all i know ) breaks up the global one,
 and it stops working. The global script looks like this :

 Am i missing something, or this is the desired behaviour ?
   
 

 It is the documented behavior. (If this is desirable or not, that is
 another question.) From http://wiki.dovecot.org/LDA/Sieve :

 protocol lda {
 ..
   # If there is no user-specific Sieve-script, global Sieve script is
   # executed if set. (v1.0.1 and older used global_script_path)
   #sieve_global_path =

 ...

   



[Dovecot] max connects per host?

2008-03-16 Thread [EMAIL PROTECTED]

Hi everyone!

I want to manage mail server resource part (like it can CGP) and with it 
I have one question. Is any way to limit overall max simultaneous 
connections to imap/pop3 server from one(each) host, except use 
iptables/ipfw and so on? Like a patch to dovecot or, maybe, it can be 
released in future versions?


I know about
mail_max_userip_connections in dovecot 1.1

but it can't limit hosts this way.

Thank you.



[Dovecot] Can't load private key file

2008-03-07 Thread [EMAIL PROTECTED]
Hi Guys,

I have just purchased and installed an authenticated certificate for the
mail server, but I am getting errors from dovecot.

My mail.err file is showing the following.

Mar  7 17:56:04 mailserver dovecot: pop3-login: Can't load private key file
/etc/ssl/mailserver/mail.mydomain.tld.key: error:0906A068:PEM
routines:PEM_do_header:bad password read

My dovecot.conf has the following set.

# Uncomment these if using SSL
ssl_cert_file = /etc/ssl/mailserver/mail.mydomain.tld.crt
ssl_key_file = /etc/ssl/mailserver/mail.mydomain.tld.key
#ssl_key_password =
#ssl_ca_file = /etc/ssl/mailserver/ca/mydomain.pem
#ssl_verify_client_cert = yes
ssl_parameters_regenerate = 168
verbose_ssl = no

I have been playing about with it all for about 3 hours now and would
greatly appreciate any help ;)

Regards
Adam



myhosting.com - Premium Microsoft® Windows® and Linux web and application
hosting - http://link.myhosting.com/myhosting




Re: [Dovecot] Dovecot do not retrieve mail from spool directory (pop3)

2007-10-02 Thread [EMAIL PROTECTED]
Hello,
This is new yum installation .I guess to have it upgraded I would have to do it 
from sources.
Slawomir

_
Be your own boss today! Go to Technical School. Click here.
http://3rdpartyoffers.netzero.net/TGL2211/fc/Ioyw6ijngzUEYVPPo5gAQYgMx4ihgxwyNfnZp05znZXKD3j187cIEm/


[Dovecot] Dovecot do not retrieve mail from spool directory (pop3)

2007-10-01 Thread [EMAIL PROTECTED]
Hello,
I have Dovecot 1.0.beta8 on [EMAIL PROTECTED] orlowscy.com]
# dovecot -n
log_path: /var/log/dovecot
protocols: pop3
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/pop3-login
default_mail_env: mbox:/tmp:INBOX:/var/spool/vmail/%d/%n:INDEX=MEMORY
mail_executable: /usr/libexec/dovecot/pop3
mail_plugin_dir: /usr/lib/dovecot/pop3
auth default:
  verbose: yes
  passdb:
driver: pam
  passdb:
driver: passwd-file
args: /etc/mail/passwd-dovecot
  userdb:
driver: passwd
  userdb:
driver: static
args: uid=vmail gid=vmail home=/var/spool/vmail/%d/%n

I can send and receive email by exim SMTP server.
I would like to use dovecot as pop3 only server.
I can send and .email and I see them delivered to 
/var/spool/vmail/virtualdomain/ directories. They are own by vmail user created 
for dovecot.
Dovecot is able to authenticate but is not retrieving any emails.

dovecot: Oct 01 23:19:55 Info: auth(default): pam([EMAIL 
PROTECTED],:::83.14.109.98): pam_authenticate() f
ailed: Error in service module
dovecot: Oct 01 23:19:55 Info: auth(default): passwd([EMAIL 
PROTECTED],:::83.14.109.98): unknown user
dovecot: Oct 01 23:19:55 Info: pop3-login: Login: user=[EMAIL PROTECTED], 
method=PLAIN, rip=:::83.14.109
.98, lip=:::83.14.109.98
dovecot: Oct 01 23:20:49 Info: POP3([EMAIL PROTECTED]): Disconnected: Logged 
out top=0/0, retr=0/0, del=0/0, s
ize=0

I was trying to retrieve them by Outlook express.
When logged in as telnet localhost 110 
after LIST commant I'm getting 
+OK Logged in.
list
+OK 0 messages:

 even there is file with some emails.
[EMAIL PROTECTED] log]# ls -l /var/spool/vmail/orlowscy.com/sorlowski
-rw-rw 1 vmail vmail 5164 Oct  1 23:18 
/var/spool/vmail/orlowscy.com/sorlowski

Please anybody help.
Regards
Slawomir
 

_
Click for free info on earning your associates degrees.
http://3rdpartyoffers.netzero.net/TGL2211/fc/Ioyw6ijlTO8Ob6PMzIhmxC5HdvZZ6S6SnVCDM4K96wMuajtXU6Pgku/


[Dovecot] Error: auth(default): passwd-file ... is missing userdb info

2007-09-20 Thread [EMAIL PROTECTED]

Hallo

Have pop3 plain login  Error  and need some changes somewhere...
?where?
Please see log down
nora

--- dovecot.log ---
20 14:17:23 Error: auth(default): passwd-file /etc/dovecot/passwd: User 
[EMAIL PROTECTED] is missing userdb info
dovecot: Sep 20 14:19:16 Error: Logins with UID 0 not permitted (user 
[EMAIL PROTECTED])


[Dovecot] unknown user with: Dovecot Pop3 - SASL pam Postfix - Authtentification

2007-09-19 Thread [EMAIL PROTECTED]

Hallo

I build my Installation after HowTo with Archlinux packages:
   http://wiki.dovecot.org/HowTo/SimpleVirtualInstall

I can send e-mail, but pop3 failed: unknown user

For good popularity needed one or more 100% complete howto step-by-step 
reusable for full folk. (not many-many with small pieces solutions by 
problems...)


thanks
nora


Auth.log:
Sep 17 14:35:49 dns su: pam_unix(su:session): session opened for user 
vmail by (uid=0)

Sep 17 15:24:06 dns su: pam_unix(su:session): session closed for user vmail

Dovecot.log:
dovecot: Sep 19 08:32:40 Info: auth(default): client in: AUTH   1   
PLAIN   service=POP3lip=212.254.241.22  rip=77.56.100.9 resp=

dovecot: Sep 19 08:32:40 Info: auth(default): client out: CONT  1
dovecot: Sep 19 08:32:40 Info: auth(default): client in: CONT   1   
AG1vZGVybmxvdmVAdmVyYmVuLmNoADEyMzQ1Njc4OTA=
dovecot: Sep 19 08:32:40 Info: auth(default): 
cache([EMAIL PROTECTED],77.56.100.9): hit
dovecot: Sep 19 08:32:40 Info: auth(default): client out: OK1   
[EMAIL PROTECTED]
dovecot: Sep 19 08:32:40 Info: auth(default): master in: REQUEST
709 24114   1
dovecot: Sep 19 08:32:40 Info: auth(default): 
passwd([EMAIL PROTECTED],77.56.100.9): lookup
!!! unknown user dovecot: Sep 19 08:32:40 Info: auth(default): 
passwd([EMAIL PROTECTED],77.56.100.9): unknown user
dovecot: Sep 19 08:32:40 Info: auth(default): master out: USER  709 
[EMAIL PROTECTED]uid=1000gid=101 
home=/home/vmail/[EMAIL PROTECTED]
dovecot: Sep 19 08:32:40 Info: pop3-login: Login: 
user=[EMAIL PROTECTED], method=PLAIN, rip=77.56.100.9, 
lip=212.254.241.22
dovecot: Sep 19 08:32:40 Info: POP3([EMAIL PROTECTED]): Disconnected: 
Logged out top=0/0, retr=0/0, del=0/0, size=0




[Dovecot] Getting more spam

2007-03-21 Thread [EMAIL PROTECTED]

Hi

I am taking part in writing an anti spam filter for my uni project.

However at the moment I am not getting much spam to my mail server - 
running dovecot and postfix :)


Do you have any suggestions for getting more?

Thanks
Tom


Re: [Dovecot] Getting more spam

2007-03-21 Thread [EMAIL PROTECTED]

Hi

Thanks for the offer.

What is a a spam sink, can you redirect it via MX records?

I am interested, as you say, in genuine spam, but not too bothered what 
the source is.


I do not use this account for anything else, so there are no non-spam 
messages in it.


Thanks
Tom

Neale Pickett wrote:

On Wednesday 21 March 2007 1:47 pm, [EMAIL PROTECTED] wrote:


However at the moment I am not getting much spam to my mail server -
running dovecot and postfix :)


You need to be really careful about this.  It turns out that getting a *clean* 
spam feed is quite challenging.  You want to make sure it's:


* Verbatim spam (not forwarded, classified, or otherwise messed with)
* 100% spam, in other words you want to be absolutely certain that 
a legitimate email didn't slip in, for instance, you want to make sure 
people aren't able to taint it by redirecting real email from their 
mother-in-law
* An accurate representation of the sort of spam you're interested in.  For 
instance, do you care about things that postfix could drop by checking the 
hostname given with HELO?  Are you interested in spam resulting from usenet 
posts, web spiders, or something else?


I have a spam sink--currently turned off--that I can re-enable for you if you 
aren't too picky about the last point.  Better, I think, would be for you to 
seed your own spam sink, but that takes time and maybe you can't wait.


Neale


Re: [Dovecot] Getting more spam

2007-03-21 Thread [EMAIL PROTECTED]
Also, I am running a custom smtp proxy in front of postfix to log all 
SMTP transactions, and postfix is configured to be very lenient in terms 
of checking.


Tom

[EMAIL PROTECTED] wrote:

Hi

Thanks for the offer.

What is a a spam sink, can you redirect it via MX records?

I am interested, as you say, in genuine spam, but not too bothered what 
the source is.


I do not use this account for anything else, so there are no non-spam 
messages in it.


Thanks
Tom

Neale Pickett wrote:

On Wednesday 21 March 2007 1:47 pm, [EMAIL PROTECTED] wrote:


However at the moment I am not getting much spam to my mail server -
running dovecot and postfix :)


You need to be really careful about this.  It turns out that getting a 
*clean* spam feed is quite challenging.  You want to make sure it's:


* Verbatim spam (not forwarded, classified, or otherwise messed with)
* 100% spam, in other words you want to be absolutely certain that a 
legitimate email didn't slip in, for instance, you want to make sure 
people aren't able to taint it by redirecting real email from their 
mother-in-law
* An accurate representation of the sort of spam you're interested 
in.  For instance, do you care about things that postfix could drop by 
checking the hostname given with HELO?  Are you interested in spam 
resulting from usenet posts, web spiders, or something else?


I have a spam sink--currently turned off--that I can re-enable for you 
if you aren't too picky about the last point.  Better, I think, would 
be for you to seed your own spam sink, but that takes time and maybe 
you can't wait.


Neale