[Dovecot] Possible erroneous "aborted login attempts"

2010-08-29 Thread Jerrale G
 Aug 29 22:51:27 server1 dovecot: imap-login: Aborted login (no auth 
attempts): rip=(obfuscated), lip=173.50.101.12, TLS

Aug 29 22:51:27 server1 dovecot: imap-login: Login: user=...

before most every successful login, the same second of time, dovecot has 
the above message.


This is not a huge problem but our firewall is looking for aborted login 
attempts, for imap/pop3 (relevant to dovecot) dos attempts and, if many 
people start having problems of their packets being dropped, we will 
have to stop looking for the statement or lower security slightly, more 
attempts over a period of time before filtering.


However, thanks to your idle feature, there is less of these messages; 
so, I don't think we will have a problem. The only client that doesn't 
have a problem is our php webmail but we don't look in dovecot's log for 
failed attempts from here; as,  it is from the same ip, to dovecot from 
php, constantly without reference to the user. This has been happening 
since 1.2.11 with us. We don't use any imap relay but was looking into 
imapproxy for cacheing speed and preventing advanced ddos attempts, 
those from users with access.


Jerrale G.
errale G.
SC Senior Admin


Re: [Dovecot] doveadm expunge -A mailbox Trash savedbefore 30d

2010-08-29 Thread Jerrale G


Could you explain the iterate_query in any kind of sql. I'm guessing to 
just use the query, correctly, that's failing as iterate_query= and put 
it in the service auth file which includes password_query and 
user_query. then, I'm guessing to add something like:


iteratedb {
driver = sql
args = /path/to/sql.conf
}

The wiki2 only says:

"When the SQL userdb module is used make sure that the iterate_query 
setting in /etc/dovecot/dovecot-sql.conf.ext matches your database layout."


it should give an example query. I don't know if its wanting to list the 
fields or the contents of a field.


Thanks,

Jerrale G
Jerrale G.
SC Senior Admin


Re: [Dovecot] dovecot - mac firewall problem

2010-08-29 Thread Charles Marcus
On 8/29/2010 8:51 PM, Patrick Fay wrote:
> Aug 26 20:43:45 hostname Firewall[55]: Deny ^L connecting from  
> XX.XX.XX.XX:37310 uid = 0 proto=6
> Aug 26 20:43:53 hostname Firewall[55]: Deny ^H?^U???^Z  connecting from 
> XX.XX.XX.XX:37310 uid = 0 proto=6
> 
> Both of these are dovecot hits--but the name is different each time.
> Also the ?'s aren't really "?" marks; they're trans-ascii characters
> with high bits set that my mailer doesn't like very much.  It really
> looks like a misdirected pointer or something somewhere, but I'm not
> familiar enough with the codebase to know where to start looking, or
> if in fact it is something else that is misconfigured.  Any thoughts
> on how to resolve this?

Dovecot version?

-- 

Best regards,

Charles


Re: [Dovecot] dovecot - mac firewall problem

2010-08-29 Thread Patrick Fay
Hi,
   Thanks everyone for your help and input.  I think perhaps my attempt to be 
brief and focused in posing my question has led to some confusion about my 
needs and configuration.  I do not have the luxury of being able to segregate 
the server (postfix and dovecot) from client (GUI, etc) on different machines.  
I am, as Charles' surmised, using this to aggregate disparate mail streams into 
a single location, and using dovecot to serve it.  Since I must run client-ish 
applications on this machine, the application firewall is desirable.  The 
anticipated load on this system from the server side is quite light, so the 
throughput overhead incurred by the application firewall is negligible.  The 
problem appears to be that--for some reason--dovecot identifies itself 
incorrectly to the application firewall, resulting in the garbage shown in the 
logs and failure to permit this connection (the firewall is configured to 
explicitly permit connections for dovecot).  I note that other daemons (e.g. 
postfix, sshd, etc) do not exhibit this defect; the firewall works as expected 
for every other service I've tried except dovecot.  The logs for the firewall 
appear as:

Aug 26 20:43:45 hostname Firewall[55]: Deny ^L connecting from  
XX.XX.XX.XX:37310 uid = 0 proto=6
Aug 26 20:43:53 hostname Firewall[55]: Deny ^H?^U???^Z  connecting from 
XX.XX.XX.XX:37310 uid = 0 proto=6

Both of these are dovecot hits--but the name is different each time.  Also the 
?'s aren't really "?" marks; they're trans-ascii characters with high bits set 
that my mailer doesn't like very much.  It really looks like a misdirected 
pointer or something somewhere, but I'm not familiar enough with the codebase 
to know where to start looking, or if in fact it is something else that is 
misconfigured.  Any thoughts on how to resolve this?

Patrick

Re: [Dovecot] Can't get dovecot to see email folders

2010-08-29 Thread Blaster
 You are correct, it was a subscription issue (and a permissions one as 
well, as I had screwed around with those while trying to figure stuff 
out) I managed to figure that out about an hour before you sent your 
email :)  I eventually found the issue discussed in wiki2.


I don't see where UW-IMAP was using a subscription file though.  I used 
it for about 5 years or more and never saw one, still can't see one.  
Not sure how Thunderbird was working with that IMAP server.


It also looks like Thunderbird 3 has now changed how it deletes emails 
and no longer immediately removes them from the INBOX when the trash is 
emptied like it used to.  Looks like I have to screw around with that now.


It's nice to have Dovecot working.  Better security and instant email 
notification now!


The concept of the namespace stuff makes sense to me, but I still don't 
understand how Dovecot works with it in the .conf file.  The 
documentation there could use some work.


Thanks again for the help.



On 8/28/2010 7:03 PM, Brian Hayden wrote:

Your Thunderbird clients are set to show only subscribed folders.  Dovecot by 
default is not looking got the same subscriptions file that uw-imap was. So, 
thunderbird shows no mailboxes because the (new) subscription file is empty.

This is one of the many reasons why subscriptions are bad, especially come migration time. Another? 
It's likely you'll need to tweak your namespaces once you do get thunderbird using the right subs, 
because each client has it's own heinous way of mid-handling subs which result in disgusting 
interactions with the "imap root" setting and namespaces. And by "tweak" I mean 
re-do over and over till you quit and move to the Bahamas to panhandle on the beach.

Take this as a golden opportunity to start fresh. At the very least, get your clients set 
to the same imap root and have them re-sub to the folders they want after you stabilize 
your namespaces. Better yet, disable the "show only subscribed folders" setting 
and teach your users the magic that is hierarchical folders. They don't have to see 
everything at once. :)

-Brian






[Dovecot] Shared mail folders

2010-08-29 Thread Ian macdonald
Hi All,

I am trying to configure shared mail folders and have made some
progress, however I am just stuck lack of experience I think.

I have ubuntu 10.04
postfix and dovecot (working well)
using dovecot deliver as LDA
thunderbird reports that folders are shared
flat file database has the shares

My problem is I am missing something on the userdb

I wish to use auth passwd as it is a small system of 20 system users

I have the following from dovecot -n

auth default:
  passdb:
driver: pam
  userdb:
driver: passwd


I get the following

IMAP(peter): userdb lookup: connect(/var/run/dovecot/auth-master)
failed: No such file or directory
dovecot: IMAP(peter): Namespace 'shared/': Could not lookup home for user ian

I am lost and would be grateful for any help

all the best

Ian


[Dovecot] Different IPs should use different ssl-certs/keys

2010-08-29 Thread Peer Heinlein

I don't understand how to use multiple keys/certs on different IPs 
without SNI.

http://wiki2.dovecot.org/SSL/DovecotConfiguration explains how to use 
different keys for different protocols like POP3 and IMAP. 

But how to bind those keys/ on IPs/Ports?

Looks like it is not possible to use ssl_cert inside 

service { inet_listener {} }


Is it still necessary to run multiple instances like it was in Dovecot 
1.2.x?

Peer



-- 

Heinlein Professional Linux Support GmbH
Linux: Akademie - Support - Hosting

http://www.heinlein-support.de
Tel: 030 / 40 50 51 - 0
Fax: 030 / 40 50 51 - 19

Zwangsangaben lt. §35a GmbHG:
HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
Geschäftsführer: Peer Heinlein  -- Sitz: Berlin


Re: [Dovecot] PAM authentication fails

2010-08-29 Thread Egbert Jan van den Bussche

Op 29-8-2010 20:51, Egbert Jan van den Bussche schreef:

Hi,

I'm fighting all weekend on with auth and pam to authenticate local
system users. testuser is such local user and is in passwd and shadow. I
want to have local system users (testuser is one of them) and virtual
users. The virtual part works fine but I cannot get the local user to
connect.
Still pam fails finding the user. The suggested password mismatch at the
end is, in my eyes, because there is no user in the first place. I
verified the password by interactive login to the account. The pam
module (dovecot) is just the default file with three @includes in it.

Syslog:
Aug 29 20:18:02 mail-dev dovecot: auth(default): client in:
AUTH#0112#011LOGIN#011service=imap#011lip=2a02:968:1:2:212:72:224:16#011rip=2001:888:1740:10:250:daff:fe41:4d1c#011lport=143#011rport=1093


Aug 29 20:18:02 mail-dev dovecot: auth(default): client out:
CONT#0112#011VXNlcm5hbWU6

Aug 29 20:18:02 mail-dev dovecot: auth(default): client in:
CONT#0112#011dGVzdHVzZXI=

Aug 29 20:18:02 mail-dev dovecot: auth(default): client out:
CONT#0112#011UGFzc3dvcmQ6

Aug 29 20:18:02 mail-dev dovecot: auth(default): client in:
CONT#0112#011dmF4dm1z

Aug 29 20:18:02 mail-dev dovecot: auth-worker(default):
pam(testuser,2001:888:1740:10:250:daff:fe41:4d1c): lookup service=dovecot

Aug 29 20:18:02 mail-dev dovecot: auth-worker(default):
pam(testuser,2001:888:1740:10:250:daff:fe41:4d1c): #1/1 style=1
msg=Password:

Aug 29 20:18:02 mail-dev dovecot: auth(default):
cache(testuser,2001:888:1740:10:250:daff:fe41:4d1c): miss

Aug 29 20:18:04 mail-dev dovecot: auth(default):
cache(testuser,2001:888:1740:10:250:daff:fe41:4d1c): hit:

Aug 29 20:18:04 mail-dev dovecot: auth(default):
cache(testuser,2001:888:1740:10:250:daff:fe41:4d1c): User unknown

Aug 29 20:18:04 mail-dev dovecot: auth-worker(default):
pam(testuser,2001:888:1740:10:250:daff:fe41:4d1c): pam_authenticate()
failed: Authentication failure (password mismatch?) (given password:
)

Aug 29 20:18:06 mail-dev dovecot: auth(default): client out:
FAIL#0112#011user=testuser


Relevant settings in dovecot:
r...@mail-dev:/etc/dovecot# dovecot -n
# 1.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-24-server x86_64 Ubuntu 10.04.1 LTS ext4
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3 imaps pop3s managesieve
listen: *, [::]
ssl_cert_file: /etc/ssl/certs/ssl-mail.pem
ssl_key_file: /etc/ssl/private/ssl-mail.key
ssl_cipher_list:
ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM
disable_plaintext_auth: no
verbose_ssl: yes
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
mail_max_userip_connections(default): 10
mail_max_userip_connections(imap): 10
mail_max_userip_connections(pop3): 3
mail_max_userip_connections(managesieve): 10
mail_privileged_group: mail
mail_location: maildir:/home/vmail/%d/%n:INDEX=/home/vmail/%d/%n
mail_debug: yes
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
imap_client_workarounds(default): outlook-idle delay-newmail
imap_client_workarounds(imap): outlook-idle delay-newmail
imap_client_workarounds(pop3):
imap_client_workarounds(managesieve):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_client_workarounds(managesieve):
lda:
postmaster_address: postmaster
deliver_log_format: msgid=%m: %$
rejection_reason: Your message to <%t> was automatically rejected:%n%r
auth_socket_path: /var/run/dovecot/auth-master

auth default:
mechanisms: plain login
realms: kader.hcc.nl hobby.nl
cache_size: 1024
user: vmail
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: pam
args: setcred=yes failure_show_msg=yes cache_key=%u dovecot
passdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
userdb:
driver: passwd
userdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
socket:
type: listen
client:
path: /var/spool/postfix/private/dovecot-auth
mode: 432
user: postfix
group: postfix
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
group: vmail

Where should I look further for this dovecot pam problem? Is there such
a thing as pam debugging?

TIA
Egbert Jan


Answering to myself:

Auth user needs to be root not vmail. Restrictions on shadow make it 
neccessary to do the auth and read shadow


Also needed to add mail=aildir:~/Maildir in the userdb passwd to 
override the default setting for virtual users 
(/ho

[Dovecot] PAM authentication fails

2010-08-29 Thread Egbert Jan van den Bussche

Hi,

I'm fighting all weekend on with auth and pam to authenticate local 
system users. testuser is such local user and is in passwd and shadow. I 
want to have local system users (testuser is one of them) and virtual 
users. The virtual part works fine but I cannot get the local user to 
connect.
Still pam fails finding the user. The suggested password mismatch at the 
end is, in my eyes, because there is no user in the first place. I 
verified the password by interactive login to the account. The pam 
module (dovecot) is just the default file with three @includes in it.


Syslog:
Aug 29 20:18:02 mail-dev dovecot: auth(default): client in: 
AUTH#0112#011LOGIN#011service=imap#011lip=2a02:968:1:2:212:72:224:16#011rip=2001:888:1740:10:250:daff:fe41:4d1c#011lport=143#011rport=1093


Aug 29 20:18:02 mail-dev dovecot: auth(default): client out: 
CONT#0112#011VXNlcm5hbWU6


Aug 29 20:18:02 mail-dev dovecot: auth(default): client in: 
CONT#0112#011dGVzdHVzZXI=


Aug 29 20:18:02 mail-dev dovecot: auth(default): client out: 
CONT#0112#011UGFzc3dvcmQ6


Aug 29 20:18:02 mail-dev dovecot: auth(default): client in: 
CONT#0112#011dmF4dm1z


Aug 29 20:18:02 mail-dev dovecot: auth-worker(default): 
pam(testuser,2001:888:1740:10:250:daff:fe41:4d1c): lookup service=dovecot


Aug 29 20:18:02 mail-dev dovecot: auth-worker(default): 
pam(testuser,2001:888:1740:10:250:daff:fe41:4d1c): #1/1 style=1 
msg=Password:


Aug 29 20:18:02 mail-dev dovecot: auth(default): 
cache(testuser,2001:888:1740:10:250:daff:fe41:4d1c): miss


Aug 29 20:18:04 mail-dev dovecot: auth(default): 
cache(testuser,2001:888:1740:10:250:daff:fe41:4d1c): hit:


Aug 29 20:18:04 mail-dev dovecot: auth(default): 
cache(testuser,2001:888:1740:10:250:daff:fe41:4d1c): User unknown


Aug 29 20:18:04 mail-dev dovecot: auth-worker(default): 
pam(testuser,2001:888:1740:10:250:daff:fe41:4d1c): pam_authenticate() 
failed: Authentication failure (password mismatch?) (given password: 
)


Aug 29 20:18:06 mail-dev dovecot: auth(default): client out: 
FAIL#0112#011user=testuser



Relevant settings in dovecot:
r...@mail-dev:/etc/dovecot# dovecot -n
# 1.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-24-server x86_64 Ubuntu 10.04.1 LTS ext4
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3 imaps pop3s managesieve
listen: *, [::]
ssl_cert_file: /etc/ssl/certs/ssl-mail.pem
ssl_key_file: /etc/ssl/private/ssl-mail.key
ssl_cipher_list: 
ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM

disable_plaintext_auth: no
verbose_ssl: yes
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
mail_max_userip_connections(default): 10
mail_max_userip_connections(imap): 10
mail_max_userip_connections(pop3): 3
mail_max_userip_connections(managesieve): 10
mail_privileged_group: mail
mail_location: maildir:/home/vmail/%d/%n:INDEX=/home/vmail/%d/%n
mail_debug: yes
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
imap_client_workarounds(default): outlook-idle delay-newmail
imap_client_workarounds(imap): outlook-idle delay-newmail
imap_client_workarounds(pop3):
imap_client_workarounds(managesieve):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_client_workarounds(managesieve):
lda:
  postmaster_address: postmaster
  deliver_log_format: msgid=%m: %$
  rejection_reason: Your message to <%t> was automatically rejected:%n%r
  auth_socket_path: /var/run/dovecot/auth-master

auth default:
  mechanisms: plain login
  realms: kader.hcc.nl hobby.nl
  cache_size: 1024
  user: vmail
  verbose: yes
  debug: yes
  debug_passwords: yes
  passdb:
driver: pam
args: setcred=yes failure_show_msg=yes cache_key=%u dovecot
  passdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
  userdb:
driver: passwd
  userdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
  socket:
type: listen
client:
  path: /var/spool/postfix/private/dovecot-auth
  mode: 432
  user: postfix
  group: postfix
master:
  path: /var/run/dovecot/auth-master
  mode: 384
  user: vmail
  group: vmail

Where should I look further for this dovecot pam problem? Is there such 
a thing as pam debugging?


TIA
Egbert Jan



Re: [Dovecot] Sent mail issue

2010-08-29 Thread Stan Hoeppner
Piyush Joshi put forth on 8/29/2010 10:17 AM:
> Dear All,
>   I have few question regarding dovecot configuration for
> specific need which are as follows:-
> 
> 1. I have IMAP folder with the name Sent Mail and i want whenever
> client uses any MUA  to send mail from my server his mail must be kept
> in server's IMAP folder which is Sent Mail instead of local Sent
> folder.
> 
> 2. Whenever user configures account in MUA, MUA automatically create
> some new folder like Junk Mail etc. while i am already using Spam
> folder to keep spam message in that folder so let me know how can i
> save myself from this.
> 
> 3. Is there any thing which can also put deleted message in my
> server's Trash folder.


You cannot control these things via Dovecot.  These things must be
addressed at the MUA level.  If you are an ISP there is no way you can
accomplish this because you have no control over customer PCs.  If you
are a business, univ, etc, and you have administrative control over all
desktops/laptops, then you can implement a site wide policy to control
the behavior of the MUAs.

There are a number of enterprise management tools for Windows, Linux,
and Mac OSX you could use to manage these settings on the MUAs to effect
what you desire above.  Such enterprise management tools are beyond the
scope of discussion of the Dovecot list.  If all your desktops are
Microsoft you can use AD group policies.  If you have mixed Windows and
Linux desktops you may want to look at Novell ZENworks.  Google
"enterprise management tools"

-- 
Stan


Re: [Dovecot] Sent mail issue

2010-08-29 Thread Joy
Dear Giles,
   I have seen the same with google so i am asking
this and while using google mail there is no need to make any specific
change in client setting for putting the message in Spam folder.


On Sun, Aug 29, 2010 at 9:34 PM, Giles Coochey  wrote:
> On Sun, August 29, 2010 17:17, Piyush Joshi wrote:
>> Dear All,
>>               I have few question regarding dovecot configuration for
>> specific need which are as follows:-
>>
>> 1. I have IMAP folder with the name Sent Mail and i want whenever
>> client uses any MUA  to send mail from my server his mail must be kept
>> in server's IMAP folder which is Sent Mail instead of local Sent
>> folder.
>>
>> 2. Whenever user configures account in MUA, MUA automatically create
>> some new folder like Junk Mail etc. while i am already using Spam
>> folder to keep spam message in that folder so let me know how can i
>> save myself from this.
>>
>> 3. Is there any thing which can also put deleted message in my
>> server's Trash folder.
>>
>
> I believe that the answers to your questions are all MUA specific, and not
> Dovecot related.
>
> In Outlook this is under Account Settings, the Sent Items and Deleted
> Items tabs.
>
>
>


[Dovecot] "Multiple Commands in Progress" support

2010-08-29 Thread Mike Cardwell
Section 5.5 of RFC3501 discusses the ability of IMAP servers to receive
and execute multiple commands asynchronously on a single IMAP
connection, not necessarily responding in the same order the commands
were received:

http://tools.ietf.org/html/rfc3501#section-5.5

Does Dovecot take advantage of this ability, or does it simply queue up
the commands and execute them synchronously in order?

-- 
Mike Cardwell - Perl/Java/Web developer, Linux admin, Email admin
Read my tech Blog -  https://secure.grepular.com/
Follow me on Twitter -   http://twitter.com/mickeyc
Hire me - http://cardwellit.com/ http://uk.linkedin.com/in/mikecardwell


Re: [Dovecot] Sent mail issue

2010-08-29 Thread Giles Coochey
On Sun, August 29, 2010 17:17, Piyush Joshi wrote:
> Dear All,
>   I have few question regarding dovecot configuration for
> specific need which are as follows:-
>
> 1. I have IMAP folder with the name Sent Mail and i want whenever
> client uses any MUA  to send mail from my server his mail must be kept
> in server's IMAP folder which is Sent Mail instead of local Sent
> folder.
>
> 2. Whenever user configures account in MUA, MUA automatically create
> some new folder like Junk Mail etc. while i am already using Spam
> folder to keep spam message in that folder so let me know how can i
> save myself from this.
>
> 3. Is there any thing which can also put deleted message in my
> server's Trash folder.
>

I believe that the answers to your questions are all MUA specific, and not
Dovecot related.

In Outlook this is under Account Settings, the Sent Items and Deleted
Items tabs.




Re: [Dovecot] dovecot - mac firewall problem

2010-08-29 Thread Stan Hoeppner
Jerry put forth on 8/29/2010 5:22 AM:
> On Sat, 28 Aug 2010 20:22:41 -0500
> Stan Hoeppner  articulated:
> 
>> Patrick Fay put forth on 8/28/2010 7:57 PM:
>>
> I was hoping to use the application firewall because this machine
> gets used both as a server as well as a client machine for more
> general use.  I haven't been able to find any specific
> documentation for it, but I have found that the firewall works
> fine with postfix and several file services I use
> (enabling/disabling works as expected, process names get logged
> as expected, etc).   Thanks!

 So, you're running Dovecot and Postfix on a laptop?  WTF?

>>
>>> Sorry for the confusion--no laptop involved.  Postfix, dovecot,
>>> etc, all running on intel-based desktop mac (a mac pro).  
>>
>> Same difference.  You're running a full blown MTA and an IMAP server
>> on a "client" machine.  Why?  Is this a production level setup?  Or
>> do you have these server daemons installed merely for testing
>> purposes before putting a dedicated server box into production?
>>
>> Running a production setup of an MTA and IMAP server on one's
>> workstation, with an MX record etc pointed at the box, is very,
>> very... odd, rare.
>>
> 
> Maybe I missed it; however, I did not see where the OP asked for a
> general assessment of his work station/network, but rather assistance
> with a problem he was experiencing. Unless his environment precludes
> him from operating his system the way he desires, the resulting babel
> regarding his machines are outside the scope of his posting.

Apparently you did miss something.  The reason the platform question
came up is because the Mac OSX application firewall was causing him
problems.  My research showed that Apple recommends this software be
enabled _only_ for workstation applications (GUI, interactive), not for
server daemons.

Thus, the OP is running a system "out of the norm" according to Apple,
which in English is equivalent to "odd" and "rare".

You mistook my post for being animus, which it was not.

-- 
Stan




[Dovecot] Sent mail issue

2010-08-29 Thread Piyush Joshi
Dear All,
  I have few question regarding dovecot configuration for
specific need which are as follows:-

1. I have IMAP folder with the name Sent Mail and i want whenever
client uses any MUA  to send mail from my server his mail must be kept
in server's IMAP folder which is Sent Mail instead of local Sent
folder.

2. Whenever user configures account in MUA, MUA automatically create
some new folder like Junk Mail etc. while i am already using Spam
folder to keep spam message in that folder so let me know how can i
save myself from this.

3. Is there any thing which can also put deleted message in my
server's Trash folder.

Thanks


[Dovecot] mixing 1.2 and 2.0?

2010-08-29 Thread Cor Bosman
Hi all, anyone know if it's safe to mix a 1.2 environment with 2.0 servers? Im 
planning on adding some 2.0 servers for test purposes, but now im wondering if 
thats going to mess up index files or other files for users selecting the test 
server and then switching back to our normal servers.

Regards,

Cor



[Dovecot] Filtering virtual mailbox using other virtual mailbox?

2010-08-29 Thread Giovanni Giorgi

Hi All,
 my name is Giovanni and I am new to dovecot.
I have installed version 2.0  the past week and I find it very powerful.
I have started to play with the virtual mailbox plugin.
I was unable to do a virtual mailbox filtering out the contents of  
other mailbox, for instance


I have a virtual/spam mailbox which filter out all the spam thanks to  
spamassassin. This mailbox is virtual, its description is

INBOX
-Trash
-Trash/*
-Junk
 subject SPAM


I'd like to do a simple virtual/ham mbox using this dovecot-virtual

INBOX
-virtual/spam
 to: j...@gioorgi.com

but it seems not working. it does not filter the spam.

It is possible to do such thing, or I am trying to do something not  
possible at all?

Thank you

(\__/)
(='.'=)
(")_(")

Giovanni Giorgi
j...@gioorgi.com







Re: [Dovecot] dovecot - mac firewall problem

2010-08-29 Thread Jerry
On Sat, 28 Aug 2010 20:22:41 -0500
Stan Hoeppner  articulated:

> Patrick Fay put forth on 8/28/2010 7:57 PM:
> 
> >>> I was hoping to use the application firewall because this machine
> >>> gets used both as a server as well as a client machine for more
> >>> general use.  I haven't been able to find any specific
> >>> documentation for it, but I have found that the firewall works
> >>> fine with postfix and several file services I use
> >>> (enabling/disabling works as expected, process names get logged
> >>> as expected, etc).   Thanks!
> >>
> >> So, you're running Dovecot and Postfix on a laptop?  WTF?
> >>
> 
> > Sorry for the confusion--no laptop involved.  Postfix, dovecot,
> > etc, all running on intel-based desktop mac (a mac pro).  
> 
> Same difference.  You're running a full blown MTA and an IMAP server
> on a "client" machine.  Why?  Is this a production level setup?  Or
> do you have these server daemons installed merely for testing
> purposes before putting a dedicated server box into production?
> 
> Running a production setup of an MTA and IMAP server on one's
> workstation, with an MX record etc pointed at the box, is very,
> very... odd, rare.
> 

Maybe I missed it; however, I did not see where the OP asked for a
general assessment of his work station/network, but rather assistance
with a problem he was experiencing. Unless his environment precludes
him from operating his system the way he desires, the resulting babel
regarding his machines are outside the scope of his posting.

-- 
Jerry ✌
dovecot.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__