[Dovecot] quota exceeded not showing email address

2007-10-07 Thread JC
Hi everyone,
I have a mail server with postfix 2.3.8-2, dovecot 1.0.0 and mysql with virtual
users and domains. Everything is working but when a mail bounces it doesn't show
me what is the email address with overquota. 
I'm using Dovecot Delivery Agent to send a mail when an email bounces. 
This is the message that shows me:
Your message was automatically rejected by Dovecot Mail Delivery Agent.
The following reason was given:
Quota exceeded

It doesn't show me what is the email address.

In my /etc/postfix/master.cf I added this:
dovecot   unix  -   n   n   -   -   pipe
  flags=DRhu user=xyz:xyz argv=/usr/lib/dovecot/deliver -d ${recipient}

In my /etc/postfix/main.cf I added this:
dovecot_destination_recipient_limit = 1
virtual_transport = dovecot

In my /etc/dovecot/dovecot.conf :
protocol lda {
postmaster_address = 
auth_socket_path = /var/run/dovecot/auth-master
  }
...
user = xyz
socket listen {
master {
  path = /var/run/dovecot/auth-master
  mode = 0660
  user = xyz
  group = xyz
}
  }

What should i have to show the email address?




[Dovecot] global sieve script

2007-10-07 Thread Jorge Salamero Sanz

hi all,

i'm moving from a maildrop+courier setup to lda(sieve)+dovecot setup.

with maildrop i had a global filter for all the users, so i could filter and 
archive into the spam folder spam tagged emails for users without custom 
filters, including them if they exist:

LOGNAME=tolower($LOGNAME)

`test -e $LOGNAME`
if ( $RETURNCODE != 0 )
{
   `maildirmake $LOGNAME`
   `maildirmake $LOGNAME/._spam`
}

`test -f $LOGNAME/mailfilter`
if ( $RETURNCODE == 0 )
{
include "$LOGNAME/mailfilter"
}

if ( /^X-Spam-Status: YES */)
{
to "$LOGNAME/._spam"
}
else
{
to "$LOGNAME/"
}

how could i get this behaviour with dovecot lda and sieve ?

thanks !


[Dovecot] Migration Issues UW-POP3

2007-10-07 Thread Albert E. Whale
I am migrating from UW's POP3 server (mbox), to Dovecote (mbox -> maildir).

Anyway, I am concerned about the Logging details offered by Dovecot, as
I manage several details from the logging information provided by UW's
Syslog information.  Here's a sample of the UW information:

Oct  7 22:08:39 ns6 ipop3d[15432]: pop3 service init from 66.207.133.233
Oct  7 22:08:39 ns6 ipop3d[15432]: Auth user=aewhale
host=ns.ABS-CompTech.com [66.207.133.233] nmsgs=0/0
Oct  7 22:08:39 ns6 ipop3d[15432]: Logout user=aewhale
host=ns.ABS-CompTech.com [66.207.133.233] nmsgs=0 ndele=0

The first time I connected to the server to test the information, I got
the following:

Oct  7 20:22:17 ns6 dovecot: Dovecot v1.0.rc26 starting up
Oct  7 20:22:37 ns6 dovecot: pop3-login: Login: user=,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Oct  7 20:23:44 ns6 dovecot: POP3(aewhale): Disconnected: Logged out
top=0/0, retr=0/0, del=0/800,size=1576887

None of the other connections reported information about the mailbox or
the connections.  Here is what I see:

Oct  7 20:39:14 ns6 dovecot: pop3-login: Disconnected: method=PLAIN,
rip=66.207.133.233, lip=66.207.133.228
Oct  7 20:59:42 ns6 dovecot: pop3-login: Disconnected: method=LOGIN,
rip=71.162.15.2, lip=66.207.133.228
Oct  7 21:39:12 ns6 dovecot: pop3-login: Disconnected: method=LOGIN,
rip=66.207.133.233, lip=66.207.133.228
Oct  7 21:39:42 ns6 dovecot: pop3-login: Disconnected: method=LOGIN,
rip=71.162.15.2, lip=66.207.133.228

I never see the POP3 or Login messages any more.  Can someone tell me
why?  Is this not correctly working on my server yet?
-- 
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network, Risk Assessment and Systems Consultant

ABS Computer Technology, Inc.  - Email,
Internet and Security Consultants
SPAMZapper  - No-JunkMail.com
 - *True Spam Elimination*.