Re: plus addressing over lmtp not working / sam [box] anyone p set

2008-12-15 Thread Alain Spineux
On Fri, Dec 12, 2008 at 5:35 PM, Stefan Pampel antispam
spamtest-eir1beu...@asp4.polyformal.de wrote:
 Alain Spineux schrieb am 11.12.2008 08:15:

 I dont see nothing wrong in your main.cf
 Can you post your master.cf ?

 ok, here is the master.cf

I dont see anything vrong,
ask your question to the postfix mailing list !


 thx, and bye

 Stefan

 #
 # Postfix master process configuration file.  For details on the format
 # of the file, see the master(5) manual page (command: man 5 master).
 #
 # Do not forget to execute postfix reload after editing this file.
 #
 # ==
 # service type  private unpriv  chroot  wakeup  maxproc command + args
 #   (yes)   (yes)   (yes)   (never) (100)
 # ==
 smtp  inet  n   -   n   -   -   smtpd
-o no_address_mappings
 #submission inet n   -   -   -   -   smtpd
 #  -o smtpd_tls_security_level=encrypt
 #  -o smtpd_sasl_auth_enable=yes
 #  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
 #  -o milter_macro_daemon_name=ORIGINATING
 #smtps inet  n   -   -   -   -   smtpd
 #  -o smtpd_tls_wrappermode=yes
 #  -o smtpd_sasl_auth_enable=yes
 #  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
 #  -o milter_macro_daemon_name=ORIGINATING
 #628  inet  n   -   -   -   -   qmqpd
 pickupfifo  n   -   -   60  1   pickup
 cleanup   unix  n   -   n   -   0   cleanup
 qmgr  fifo  n   -   n   300 1   qmgr
 #qmgr fifo  n   -   -   300 1   oqmgr
 tlsmgrunix  -   -   -   1000?   1   tlsmgr
 rewrite   unix  -   -   n   -   -   trivial-rewrite
 bounceunix  -   -   -   -   0   bounce
 defer unix  -   -   -   -   0   bounce
 trace unix  -   -   -   -   0   bounce
 verifyunix  -   -   -   -   1   verify
 flush unix  n   -   -   1000?   0   flush
 proxymap  unix  -   -   n   -   -   proxymap
 proxywrite unix -   -   n   -   1   proxymap
 smtp  unix  -   -   n   -   -   smtp
 # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
 relay unix  -   -   -   -   -   smtp
-o smtp_fallback_relay=
 #   -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
 showq unix  n   -   -   -   -   showq
 error unix  -   -   -   -   -   error
 retry unix  -   -   -   -   -   error
 discard   unix  -   -   -   -   -   discard
 local unix  -   n   n   -   -   local
 virtual   unix  -   n   n   -   -   virtual
 lmtp  unix  -   -   n   -   -   lmtp
 anvil unix  -   -   -   -   1   anvil
 scacheunix  -   -   -   -   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/bin/maildrop -d ${recipient}
 #
 # 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=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender
 $recipient
 scalemail-backend unix  -   n   n   -   2   pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
 ${nexthop} ${user} ${extension}
 mailman   unix  -   n   n   -   -   pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}
 amavisfeed unix-   -   n-  2 lmtp
 -o lmtp_data_done_timeout=1200
 -o lmtp_send_xforward_command=yes
 -o lmtp_tls_note_starttls_offer=no
 127.0.0.1:10025 inet n-   

Re: plus addressing over lmtp not working / sam [box] anyone p set

2008-12-12 Thread Stefan Pampel antispam
Alain Spineux schrieb am 11.12.2008 08:15:

 I dont see nothing wrong in your main.cf
 Can you post your master.cf ?

ok, here is the master.cf

thx, and bye

Stefan

#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: man 5 master).
#
# Do not forget to execute postfix reload after editing this file.
#
# ==
# service type  private unpriv  chroot  wakeup  maxproc command + args
#   (yes)   (yes)   (yes)   (never) (100)
# ==
smtp  inet  n   -   n   -   -   smtpd
-o no_address_mappings
#submission inet n   -   -   -   -   smtpd
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#smtps inet  n   -   -   -   -   smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628  inet  n   -   -   -   -   qmqpd
pickupfifo  n   -   -   60  1   pickup
cleanup   unix  n   -   n   -   0   cleanup
qmgr  fifo  n   -   n   300 1   qmgr
#qmgr fifo  n   -   -   300 1   oqmgr
tlsmgrunix  -   -   -   1000?   1   tlsmgr
rewrite   unix  -   -   n   -   -   trivial-rewrite
bounceunix  -   -   -   -   0   bounce
defer unix  -   -   -   -   0   bounce
trace unix  -   -   -   -   0   bounce
verifyunix  -   -   -   -   1   verify
flush unix  n   -   -   1000?   0   flush
proxymap  unix  -   -   n   -   -   proxymap
proxywrite unix -   -   n   -   1   proxymap
smtp  unix  -   -   n   -   -   smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix  -   -   -   -   -   smtp
-o smtp_fallback_relay=
#   -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix  n   -   -   -   -   showq
error unix  -   -   -   -   -   error
retry unix  -   -   -   -   -   error
discard   unix  -   -   -   -   -   discard
local unix  -   n   n   -   -   local
virtual   unix  -   n   n   -   -   virtual
lmtp  unix  -   -   n   -   -   lmtp
anvil unix  -   -   -   -   1   anvil
scacheunix  -   -   -   -   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/bin/maildrop -d ${recipient}
#
# 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=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender
$recipient
scalemail-backend unix  -   n   n   -   2   pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
${nexthop} ${user} ${extension}
mailman   unix  -   n   n   -   -   pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}
amavisfeed unix-   -   n-  2 lmtp
 -o lmtp_data_done_timeout=1200
 -o lmtp_send_xforward_command=yes
 -o lmtp_tls_note_starttls_offer=no
127.0.0.1:10025 inet n-   n   -   - smtpd
 -o content_filter=
 -o smtpd_delay_reject=no
 -o smtpd_client_restrictions=permit_mynetworks,reject
 -o smtpd_helo_restrictions=
 -o smtpd_sender_restrictions=
 -o 

Re: plus addressing over lmtp not working / sam [box] anyone p set

2008-12-10 Thread Stefan Pampel antispam
Hello  all,

thanks for you replies.

[Followup-To: nach gmane.mail.imap.cyrus gesetzt.]
Lan Tran [EMAIL PROTECTED] schrieb:
 From: Alain Spineux [EMAIL PROTECTED]
 On Tue, Dec 2, 2008 at 8:59 PM, Stefan Pampel
 [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Alain Spineux [EMAIL PROTECTED] schrieb:
 snip
 Dec  2 20:44:19 asp4 postfix/smtpd[6073]: connect from
 mail-qy0-f21.google.com[209.85.221.21]
 Dec  2 20:44:20 asp4 postfix/smtpd[6073]: 53DEDE01D5A:
 client=mail-qy0-f21.google.com[209.85.221.21]
 Dec  2 20:44:20 asp4 postfix/cleanup[6076]: 53DEDE01D5A:
 message-id=[EMAIL PROTECTED]
 Dec  2 20:44:20 asp4 postfix/qmgr[2392]: 53DEDE01D5A:
 from=[EMAIL PROTECTED], size=2214, nrcpt=1 (queue active)
 Dec  2 20:44:21 asp4 postfix/smtpd[6081]: connect from
unknown[127.0.0.1]
 Dec  2 20:44:21 asp4 postfix/smtpd[6081]: D0B24EF4D11:
 client=unknown[127.0.0.1]
 Dec  2 20:44:21 asp4 postfix/cleanup[6076]: D0B24EF4D11:
 message-id=[EMAIL PROTECTED]
 Dec  2 20:44:21 asp4 postfix/smtpd[6081]: disconnect from
 unknown[127.0.0.1]
 Dec  2 20:44:21 asp4 postfix/qmgr[2392]: D0B24EF4D11:
 from=[EMAIL PROTECTED], size=2816, nrcpt=1 (queue active)
 Dec  2 20:44:21 asp4 cyrus/lmtpunix[6070]: accepted connection
 Dec  2 20:44:21 asp4 cyrus/lmtpunix[6070]: lmtp connection preauth'd as
 postman
 Dec  2 20:44:21 asp4 cyrus/master[6083]: about to exec
 /usr/lib/cyrus/bin/lmtpd
 Dec  2 20:44:21 asp4 cyrus/lmtpunix[6083]: executed
 Dec  2 20:44:21 asp4 amavis[17280]: (17280-18) Passed CLEAN,
 [209.85.221.21] [209.85.221.21] [EMAIL PROTECTED] - [EMAIL PROTECTED],
 Message-ID:
[EMAIL PROTECTED],
 mail_id: ggSVa5nIr8Oq, Hits: -0.001, size: 2214, queued_as:
D0B24EF4D11,
 1298 m
 s
 Dec  2 20:44:21 asp4 postfix/lmtp[6077]: 53DEDE01D5A:
to=[EMAIL PROTECTED],
 orig_to=[EMAIL PROTECTED], relay=127.0.0.1
 [127.0.0.1]:10024, delay=1.7, delays=0.39/0/0/1.3, dsn=2.0.0,
status=sent
 (250 2.0.0 Ok, id=17280-18, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok:
 queued a

 HERE is the culprit ! postfix tell us, it got user+spam and give
 back user to [127.0.0.1]:10024 !

ok, the problem is that postfix remove the +whatever . I've done some
researches on this, but actually i didn't found a solution. In case of
being OT just ignore my reply, but maybe someone can give a hint on this
issue.

My tests:
sending fom command line to port 10025 (means bypassing amavis)

snip
Return-Path: [EMAIL PROTECTED]
Received: from foo.org ([unix socket])
 by foo.org (Cyrus v2.2.13-Debian-2.2.13-14+b3) with LMTPA;
 Thu, 04 Dec 2008 19:39:50 +0100
X-Sieve: CMU Sieve 2.2
Received: from unknown (unknown [127.0.0.1])
by foo.org (Postfix) with SMTP id 2EE4DEEFB3A
for [EMAIL PROTECTED]; Thu,  4 Dec 2008 19:38:54 +0100 (CET)
Message-Id: [EMAIL PROTECTED]
Date: Thu,  4 Dec 2008 19:38:54 +0100 (CET)
From: [EMAIL PROTECTED]
To: undisclosed-recipients:;

blah
/snip

testing with

sendmail -bv [EMAIL PROTECTED]

as mentioned in http://www.postfix.org/ADDRESS_REWRITING_README.html
gives, the following.
snip
Return-Path: 
Received: from foo.org ([unix socket])
 by foo.org (Cyrus v2.2.13-Debian-2.2.13-14+b3) with LMTPA;
 Thu, 04 Dec 2008 22:56:08 +0100
X-Sieve: CMU Sieve 2.2
Received: by foo.org (Postfix)
id 49719EF4D11; Thu,  4 Dec 2008 22:56:08 +0100 (CET)
Date: Thu,  4 Dec 2008 22:56:08 +0100 (CET)
From: [EMAIL PROTECTED] (Mail Delivery System)
Subject: Mail Delivery Status Report
To: [EMAIL PROTECTED]
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary=3B1BDEF4D13.1228427768/foo.org
Message-Id: [EMAIL PROTECTED]

This is a MIME-encapsulated message.

- --3B1BDEF4D13.1228427768/foo.org
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii

This is the mail system at host foo.org.

Enclosed is the mail delivery report that you requested.

   The mail system

[EMAIL PROTECTED] (expanded from
[EMAIL PROTECTED]): delivery via
foo.org[/var/run/cyrus/socket/lmtp]: 250 2.1.5 ok

- --3B1BDEF4D13.1228427768/foo.org
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; foo.org
X-Postfix-Queue-ID: 3B1BDEF4D13
X-Postfix-Sender: rfc822; [EMAIL PROTECTED]
Arrival-Date: Thu,  4 Dec 2008 22:56:08 +0100 (CET)

Final-Recipient: rfc822; [EMAIL PROTECTED]
Original-Recipient: rfc822; [EMAIL PROTECTED]
Action: deliverable
Status: 2.1.5
Remote-MTA: dns; foo.org
Diagnostic-Code: smtp; 250 2.1.5 ok

- --3B1BDEF4D13.1228427768/foo.org
Content-Description: Message Headers
Content-Type: text/rfc822-headers

Received: by foo.org (Postfix, from userid 1999)
id 3B1BDEF4D13; Thu,  4 Dec 2008 22:56:08 +0100 (CET)
From: [EMAIL PROTECTED]
Subject: probe
To:
[EMAIL PROTECTED]
Message-Id: [EMAIL PROTECTED]
Date: Thu,  4 Dec 2008 22:56:08 +0100 (CET)

- --3B1BDEF4D13.1228427768/foo.org--

/snip

some relevant info of my main.cf
snip

myhostname = foo.org
mydomain = 

Re: plus addressing over lmtp not working / sam [box] anyone p set

2008-12-10 Thread Alain Spineux
On Wed, Dec 10, 2008 at 4:04 PM, Stefan Pampel antispam
[EMAIL PROTECTED] wrote:
 Hello  all,

 thanks for you replies.

 [Followup-To: nach gmane.mail.imap.cyrus gesetzt.]
 Lan Tran [EMAIL PROTECTED] schrieb:
 From: Alain Spineux [EMAIL PROTECTED]
 On Tue, Dec 2, 2008 at 8:59 PM, Stefan Pampel
 [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Alain Spineux [EMAIL PROTECTED] schrieb:
 snip
 Dec  2 20:44:19 asp4 postfix/smtpd[6073]: connect from
 mail-qy0-f21.google.com[209.85.221.21]
 Dec  2 20:44:20 asp4 postfix/smtpd[6073]: 53DEDE01D5A:
 client=mail-qy0-f21.google.com[209.85.221.21]
 Dec  2 20:44:20 asp4 postfix/cleanup[6076]: 53DEDE01D5A:
 message-id=[EMAIL PROTECTED]
 Dec  2 20:44:20 asp4 postfix/qmgr[2392]: 53DEDE01D5A:
 from=[EMAIL PROTECTED], size=2214, nrcpt=1 (queue active)
 Dec  2 20:44:21 asp4 postfix/smtpd[6081]: connect from
 unknown[127.0.0.1]
 Dec  2 20:44:21 asp4 postfix/smtpd[6081]: D0B24EF4D11:
 client=unknown[127.0.0.1]
 Dec  2 20:44:21 asp4 postfix/cleanup[6076]: D0B24EF4D11:
 message-id=[EMAIL PROTECTED]
 Dec  2 20:44:21 asp4 postfix/smtpd[6081]: disconnect from
 unknown[127.0.0.1]
 Dec  2 20:44:21 asp4 postfix/qmgr[2392]: D0B24EF4D11:
 from=[EMAIL PROTECTED], size=2816, nrcpt=1 (queue active)
 Dec  2 20:44:21 asp4 cyrus/lmtpunix[6070]: accepted connection
 Dec  2 20:44:21 asp4 cyrus/lmtpunix[6070]: lmtp connection preauth'd as
 postman
 Dec  2 20:44:21 asp4 cyrus/master[6083]: about to exec
 /usr/lib/cyrus/bin/lmtpd
 Dec  2 20:44:21 asp4 cyrus/lmtpunix[6083]: executed
 Dec  2 20:44:21 asp4 amavis[17280]: (17280-18) Passed CLEAN,
 [209.85.221.21] [209.85.221.21] [EMAIL PROTECTED] - [EMAIL PROTECTED],
 Message-ID:
 [EMAIL PROTECTED],
 mail_id: ggSVa5nIr8Oq, Hits: -0.001, size: 2214, queued_as:
 D0B24EF4D11,
 1298 m
 s
 Dec  2 20:44:21 asp4 postfix/lmtp[6077]: 53DEDE01D5A:
 to=[EMAIL PROTECTED],
 orig_to=[EMAIL PROTECTED], relay=127.0.0.1
 [127.0.0.1]:10024, delay=1.7, delays=0.39/0/0/1.3, dsn=2.0.0,
 status=sent
 (250 2.0.0 Ok, id=17280-18, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok:
 queued a

 HERE is the culprit ! postfix tell us, it got user+spam and give
 back user to [127.0.0.1]:10024 !

 ok, the problem is that postfix remove the +whatever . I've done some
 researches on this, but actually i didn't found a solution. In case of
 being OT just ignore my reply, but maybe someone can give a hint on this
 issue.

I dont see nothing wrong in your main.cf
Can you post your master.cf ?
You will get a better answer on the postfix mailing list :-)


 My tests:
 sending fom command line to port 10025 (means bypassing amavis)

 snip
 Return-Path: [EMAIL PROTECTED]
 Received: from foo.org ([unix socket])
 by foo.org (Cyrus v2.2.13-Debian-2.2.13-14+b3) with LMTPA;
 Thu, 04 Dec 2008 19:39:50 +0100
 X-Sieve: CMU Sieve 2.2
 Received: from unknown (unknown [127.0.0.1])
by foo.org (Postfix) with SMTP id 2EE4DEEFB3A
for [EMAIL PROTECTED]; Thu,  4 Dec 2008 19:38:54 +0100 (CET)
 Message-Id: [EMAIL PROTECTED]
 Date: Thu,  4 Dec 2008 19:38:54 +0100 (CET)
 From: [EMAIL PROTECTED]
 To: undisclosed-recipients:;

 blah
 /snip

 testing with

 sendmail -bv [EMAIL PROTECTED]

 as mentioned in http://www.postfix.org/ADDRESS_REWRITING_README.html
 gives, the following.
 snip
 Return-Path: 
 Received: from foo.org ([unix socket])
 by foo.org (Cyrus v2.2.13-Debian-2.2.13-14+b3) with LMTPA;
 Thu, 04 Dec 2008 22:56:08 +0100
 X-Sieve: CMU Sieve 2.2
 Received: by foo.org (Postfix)
id 49719EF4D11; Thu,  4 Dec 2008 22:56:08 +0100 (CET)
 Date: Thu,  4 Dec 2008 22:56:08 +0100 (CET)
 From: [EMAIL PROTECTED] (Mail Delivery System)
 Subject: Mail Delivery Status Report
 To: [EMAIL PROTECTED]
 Auto-Submitted: auto-replied
 MIME-Version: 1.0
 Content-Type: multipart/report; report-type=delivery-status;
boundary=3B1BDEF4D13.1228427768/foo.org
 Message-Id: [EMAIL PROTECTED]

 This is a MIME-encapsulated message.

 - --3B1BDEF4D13.1228427768/foo.org
 Content-Description: Notification
 Content-Type: text/plain; charset=us-ascii

 This is the mail system at host foo.org.

 Enclosed is the mail delivery report that you requested.

   The mail system

 [EMAIL PROTECTED] (expanded from
[EMAIL PROTECTED]): delivery via
foo.org[/var/run/cyrus/socket/lmtp]: 250 2.1.5 ok

 - --3B1BDEF4D13.1228427768/foo.org
 Content-Description: Delivery report
 Content-Type: message/delivery-status

 Reporting-MTA: dns; foo.org
 X-Postfix-Queue-ID: 3B1BDEF4D13
 X-Postfix-Sender: rfc822; [EMAIL PROTECTED]
 Arrival-Date: Thu,  4 Dec 2008 22:56:08 +0100 (CET)

 Final-Recipient: rfc822; [EMAIL PROTECTED]
 Original-Recipient: rfc822; [EMAIL PROTECTED]
 Action: deliverable
 Status: 2.1.5
 Remote-MTA: dns; foo.org
 Diagnostic-Code: smtp; 250 2.1.5 ok

 - --3B1BDEF4D13.1228427768/foo.org
 Content-Description: Message Headers
 Content-Type: text/rfc822-headers

 Received: by foo.org (Postfix, from userid 1999)
id 3B1BDEF4D13; Thu,  4 Dec 2008 

Re: plus addressing over lmtp not working / sam [box] anyone p set

2008-12-02 Thread Stefan Pampel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alain Spineux [EMAIL PROTECTED] schrieb:
 On Thu, Nov 27, 2008 at 10:14 AM, Stefan Pampel
[EMAIL PROTECTED] wrote:
 it seems that plus addressing not work in my case:

 postfix configured correctly:
 main.cf:
 recipient_delimiter = +

 master.cf:
 lmtp  unix  -   -   n   -   -   lmtp

 Mails basically reach the INBOX, but not the folder itself

 cyrus config:
 snip
 altnamespace: yes # even with no does not work
 virtdomains: userid
 defaultdomain: foo.bar.org
 unixhierarchysep: no
 /snip

 The folder
 lam user.user1.spam

 user1 lrswipcda
 anyone p

 The mail header contains
 To: user1 [EMAIL PROTECTED]

 Any hints?

 Does the email goes in the user INBOX at least ?

Yes, it goes to the INBOX, the header of the recieived mail looks like this

snip

Return-Path: [EMAIL PROTECTED]
Received: from foo.org ([unix socket])
 by foo.org (Cyrus v2.2.13-Debian-2.2.13-14+b3) with LMTPA;
 Tue, 02 Dec 2008 20:44:21 +0100
X-Sieve: CMU Sieve 2.2
Received: from localhost (unknown [127.0.0.1])
by foo.org (Postfix) with ESMTP id D0B24EF4D11
for [EMAIL PROTECTED]; Tue,  2 Dec 2008 20:44:21 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at 
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31
tests=[SPF_PASS=-0.001]
Received: from foo.org ([127.0.0.1])
by localhost (foo.org [127.0.0.1]) (amavisd-new, port 10024)
with LMTP id ggSVa5nIr8Oq for [EMAIL PROTECTED];
Tue,  2 Dec 2008 20:44:20 +0100 (CET)
Received: from mail-qy0-f21.google.com (mail-qy0-f21.google.com [209.85.221.21])
by foo.org (Postfix) with ESMTP id 53DEDE01D5A
for [EMAIL PROTECTED]; Tue,  2 Dec 2008 20:44:20 +0100 (CET)
Received: by qyk14 with SMTP id 14so3861085qyk.11
for [EMAIL PROTECTED]; Tue, 02 Dec 2008 11:44:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:date:from:to
 :subject:mime-version:content-type:content-transfer-encoding
 :content-disposition;
bh=OsY01wpTsRs9wg12b8CJsXpNhhRKn9VYCZ0l9cxhl5Q=;
b=h9NS27DnBzXhMGBpPICUp2U5tEwgbn+ouAhGLuYteBJnMWw5hIQ4vj+d8bNn8TzV4E
 DNtPqxGU0QXa55JsPSjYZU4yZyCk5kA1oCNacatnsWRY2LvrVtdUS7spqAYZWNpxsXas
 z78A3NBawCutspEj0pOlUbfwNLDDrnjK20Ce8=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:date:from:to:subject:mime-version:content-type
 :content-transfer-encoding:content-disposition;
b=dvgd4c6c5TbTVmP0TibQyKDSpojbNRDZTIbmWt5DV9TMvTfdHmBtxL+564/pci7phD
 4knxRl2MUb483WxZJcKazltQuT5+WtoxN0Ljg2xtqGEc+EijyG9NMCno/CtQSIA82Mg+
 FWG33nCiGc/cAxhGSQo+oe0LMtap+BZVHYNIM=
Received: by 10.214.183.9 with SMTP id g9mr12118283qaf.35.1228247059060;
Tue, 02 Dec 2008 11:44:19 -0800 (PST)
Received: by 10.214.182.8 with HTTP; Tue, 2 Dec 2008 11:44:19 -0800 (PST)
Message-ID: [EMAIL PROTECTED]
Date: Tue, 2 Dec 2008 20:44:19 +0100
From: Stefan Pampel [EMAIL PROTECTED]
To: user [EMAIL PROTECTED]
Subject: 123

/snip

 Did you look into the lmtpd.log and postfix.log to check if the
 delivery looks ok .?

too me it looks ok.

snip
Dec  2 20:44:19 asp4 postfix/smtpd[6073]: connect from 
mail-qy0-f21.google.com[209.85.221.21]
Dec  2 20:44:20 asp4 postfix/smtpd[6073]: 53DEDE01D5A: 
client=mail-qy0-f21.google.com[209.85.221.21]
Dec  2 20:44:20 asp4 postfix/cleanup[6076]: 53DEDE01D5A: message-id=[EMAIL 
PROTECTED]
Dec  2 20:44:20 asp4 postfix/qmgr[2392]: 53DEDE01D5A: from=[EMAIL PROTECTED], 
size=2214, nrcpt=1 (queue active)
Dec  2 20:44:21 asp4 postfix/smtpd[6081]: connect from unknown[127.0.0.1]
Dec  2 20:44:21 asp4 postfix/smtpd[6081]: D0B24EF4D11: client=unknown[127.0.0.1]
Dec  2 20:44:21 asp4 postfix/cleanup[6076]: D0B24EF4D11: message-id=[EMAIL 
PROTECTED]
Dec  2 20:44:21 asp4 postfix/smtpd[6081]: disconnect from unknown[127.0.0.1]
Dec  2 20:44:21 asp4 postfix/qmgr[2392]: D0B24EF4D11: from=[EMAIL PROTECTED], 
size=2816, nrcpt=1 (queue active)
Dec  2 20:44:21 asp4 cyrus/lmtpunix[6070]: accepted connection
Dec  2 20:44:21 asp4 cyrus/lmtpunix[6070]: lmtp connection preauth'd as postman
Dec  2 20:44:21 asp4 cyrus/master[6083]: about to exec /usr/lib/cyrus/bin/lmtpd
Dec  2 20:44:21 asp4 cyrus/lmtpunix[6083]: executed
Dec  2 20:44:21 asp4 amavis[17280]: (17280-18) Passed CLEAN, [209.85.221.21] 
[209.85.221.21] [EMAIL PROTECTED] - [EMAIL PROTECTED], 
Message-ID: [EMAIL PROTECTED], mail_id: ggSVa5nIr8Oq, Hits: -0.001, size: 
2214, queued_as: D0B24EF4D11, 1298 m
s
Dec  2 20:44:21 asp4 postfix/lmtp[6077]: 53DEDE01D5A: to=[EMAIL PROTECTED], 
orig_to=[EMAIL PROTECTED], relay=127.0.0.1
[127.0.0.1]:10024, delay=1.7, delays=0.39/0/0/1.3, dsn=2.0.0, status=sent (250 
2.0.0 Ok, id=17280-18, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued a
s D0B24EF4D11)
Dec  2 20:44:21 asp4 postfix/qmgr[2392]: 53DEDE01D5A: 

Re: plus addressing over lmtp not working / sam [box] anyone p set

2008-12-02 Thread Duncan Gibb
Stefan Pampel wrote:

 Mails basically reach the INBOX, but not the folder itself

I think this is an MTA problem, rather than a Cyrus problem.

 Received: from foo.org ([127.0.0.1])
   by localhost (foo.org [127.0.0.1]) (amavisd-new, port 10024)
   with LMTP id ggSVa5nIr8Oq for [EMAIL PROTECTED];
   Tue,  2 Dec 2008 20:44:20 +0100 (CET)
 Received: from mail-qy0-f21.google.com (mail-qy0-f21.google.com 
 [209.85.221.21])
   by foo.org (Postfix) with ESMTP id 53DEDE01D5A
   for [EMAIL PROTECTED]; Tue,  2 Dec 2008 20:44:20 +0100 (CET)

The +spam was removed between delivery by the outside world to Postfix
and delivery by Postfix to amavisd-new.  The logs back this up:

 Dec  2 20:44:21 asp4 amavis[17280]: (17280-18) Passed CLEAN, [209.85.221.21] 
 [209.85.221.21] [EMAIL PROTECTED] - [EMAIL PROTECTED], 
 Dec  2 20:44:21 asp4 postfix/lmtp[6077]: 53DEDE01D5A: to=[EMAIL PROTECTED], 
 orig_to=[EMAIL PROTECTED], relay=127.0.0.1

Looks like Postfix, or maybe Postfix's LMTP interface to amavisd-new, is
wrongly configured.

Try doing a manual LMTP delivery to Cyrus, and to amavisd-new for
comparison.  ie:

  foo$ telnet localhost 2003

  mail from:[EMAIL PROTECTED]
  rcpt to:user1+spam
  data

[etc]

and the same with telnet localhost 10024.  Compare the headers and the
logs and it should be obvious what's happening.


Cheers


Duncan

-- 
Duncan Gibb, Technical Director
Sirius Corporation plc - The Open Source Experts
http://www.siriusit.co.uk/
Tel: +44 870 608 0063

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: plus addressing over lmtp not working / sam [box] anyone p set

2008-12-02 Thread Alain Spineux
I made multiple comments , look carefully

On Tue, Dec 2, 2008 at 8:59 PM, Stefan Pampel
[EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Alain Spineux [EMAIL PROTECTED] schrieb:
 On Thu, Nov 27, 2008 at 10:14 AM, Stefan Pampel
[EMAIL PROTECTED] wrote:
 it seems that plus addressing not work in my case:

 postfix configured correctly:
 main.cf:
 recipient_delimiter = +

 master.cf:
 lmtp  unix  -   -   n   -   -   lmtp

 Mails basically reach the INBOX, but not the folder itself

 cyrus config:
 snip
 altnamespace: yes # even with no does not work
 virtdomains: userid
 defaultdomain: foo.bar.org
 unixhierarchysep: no
 /snip

 The folder
 lam user.user1.spam

 user1 lrswipcda
 anyone p

 The mail header contains
 To: user1 [EMAIL PROTECTED]

 Any hints?

 Does the email goes in the user INBOX at least ?

 Yes, it goes to the INBOX, the header of the recieived mail looks like this

 snip

 Return-Path: [EMAIL PROTECTED]
 Received: from foo.org ([unix socket])
 by foo.org (Cyrus v2.2.13-Debian-2.2.13-14+b3) with LMTPA;
 Tue, 02 Dec 2008 20:44:21 +0100
 X-Sieve: CMU Sieve 2.2
 Received: from localhost (unknown [127.0.0.1])
by foo.org (Postfix) with ESMTP id D0B24EF4D11
for [EMAIL PROTECTED]; Tue,  2 Dec 2008 20:44:21 +0100 (CET)
 X-Virus-Scanned: Debian amavisd-new at
 X-Spam-Flag: NO
 X-Spam-Score: -0.001
 X-Spam-Level:
 X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31
tests=[SPF_PASS=-0.001]
 Received: from foo.org ([127.0.0.1])
by localhost (foo.org [127.0.0.1]) (amavisd-new, port 10024)
with LMTP id ggSVa5nIr8Oq for [EMAIL PROTECTED];

The problem is just here, above

Tue,  2 Dec 2008 20:44:20 +0100 (CET)
 Received: from mail-qy0-f21.google.com (mail-qy0-f21.google.com 
 [209.85.221.21])
by foo.org (Postfix) with ESMTP id 53DEDE01D5A
for [EMAIL PROTECTED]; Tue,  2 Dec 2008 20:44:20 +0100 (CET)

Because it was still user+spam here !

 Received: by qyk14 with SMTP id 14so3861085qyk.11
for [EMAIL PROTECTED]; Tue, 02 Dec 2008 11:44:19 -0800 (PST)
 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:date:from:to
 :subject:mime-version:content-type:content-transfer-encoding
 :content-disposition;
bh=OsY01wpTsRs9wg12b8CJsXpNhhRKn9VYCZ0l9cxhl5Q=;
b=h9NS27DnBzXhMGBpPICUp2U5tEwgbn+ouAhGLuYteBJnMWw5hIQ4vj+d8bNn8TzV4E
 DNtPqxGU0QXa55JsPSjYZU4yZyCk5kA1oCNacatnsWRY2LvrVtdUS7spqAYZWNpxsXas
 z78A3NBawCutspEj0pOlUbfwNLDDrnjK20Ce8=
 DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:date:from:to:subject:mime-version:content-type
 :content-transfer-encoding:content-disposition;
b=dvgd4c6c5TbTVmP0TibQyKDSpojbNRDZTIbmWt5DV9TMvTfdHmBtxL+564/pci7phD
 4knxRl2MUb483WxZJcKazltQuT5+WtoxN0Ljg2xtqGEc+EijyG9NMCno/CtQSIA82Mg+
 FWG33nCiGc/cAxhGSQo+oe0LMtap+BZVHYNIM=
 Received: by 10.214.183.9 with SMTP id g9mr12118283qaf.35.1228247059060;
Tue, 02 Dec 2008 11:44:19 -0800 (PST)
 Received: by 10.214.182.8 with HTTP; Tue, 2 Dec 2008 11:44:19 -0800 (PST)
 Message-ID: [EMAIL PROTECTED]
 Date: Tue, 2 Dec 2008 20:44:19 +0100
 From: Stefan Pampel [EMAIL PROTECTED]
 To: user [EMAIL PROTECTED]
 Subject: 123

 /snip

 Did you look into the lmtpd.log and postfix.log to check if the
 delivery looks ok .?

 too me it looks ok.

 snip
 Dec  2 20:44:19 asp4 postfix/smtpd[6073]: connect from 
 mail-qy0-f21.google.com[209.85.221.21]
 Dec  2 20:44:20 asp4 postfix/smtpd[6073]: 53DEDE01D5A: 
 client=mail-qy0-f21.google.com[209.85.221.21]
 Dec  2 20:44:20 asp4 postfix/cleanup[6076]: 53DEDE01D5A: message-id=[EMAIL 
 PROTECTED]
 Dec  2 20:44:20 asp4 postfix/qmgr[2392]: 53DEDE01D5A: from=[EMAIL 
 PROTECTED], size=2214, nrcpt=1 (queue active)
 Dec  2 20:44:21 asp4 postfix/smtpd[6081]: connect from unknown[127.0.0.1]
 Dec  2 20:44:21 asp4 postfix/smtpd[6081]: D0B24EF4D11: 
 client=unknown[127.0.0.1]
 Dec  2 20:44:21 asp4 postfix/cleanup[6076]: D0B24EF4D11: message-id=[EMAIL 
 PROTECTED]
 Dec  2 20:44:21 asp4 postfix/smtpd[6081]: disconnect from unknown[127.0.0.1]
 Dec  2 20:44:21 asp4 postfix/qmgr[2392]: D0B24EF4D11: from=[EMAIL 
 PROTECTED], size=2816, nrcpt=1 (queue active)
 Dec  2 20:44:21 asp4 cyrus/lmtpunix[6070]: accepted connection
 Dec  2 20:44:21 asp4 cyrus/lmtpunix[6070]: lmtp connection preauth'd as 
 postman
 Dec  2 20:44:21 asp4 cyrus/master[6083]: about to exec 
 /usr/lib/cyrus/bin/lmtpd
 Dec  2 20:44:21 asp4 cyrus/lmtpunix[6083]: executed
 Dec  2 20:44:21 asp4 amavis[17280]: (17280-18) Passed CLEAN, [209.85.221.21] 
 [209.85.221.21] [EMAIL PROTECTED] - [EMAIL PROTECTED],
 Message-ID: [EMAIL PROTECTED], mail_id: ggSVa5nIr8Oq, Hits: -0.001, size: 
 2214, queued_as: D0B24EF4D11, 1298 m
 s
 Dec  2 20:44:21 asp4 postfix/lmtp[6077]: 53DEDE01D5A: to=[EMAIL PROTECTED], 
 orig_to=[EMAIL 

Re: plus addressing over lmtp not working / sam [box] anyone p set

2008-12-01 Thread Alain Spineux
On Thu, Nov 27, 2008 at 10:14 AM, Stefan Pampel
[EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello,

 it seems that plus addressing not work in my case:

 postfix configured correctly:
 main.cf:
 recipient_delimiter = +

 master.cf:
 lmtp  unix  -   -   n   -   -   lmtp

 Mails basically reach the INBOX, but not the folder itself

 cyrus config:
 snip
 altnamespace: yes # even with no does not work
 virtdomains: userid
 defaultdomain: foo.bar.org
 unixhierarchysep: no
 /snip

 The folder
 lam user.user1.spam

 user1 lrswipcda
 anyone p

 The mail header contains
 To: user1 [EMAIL PROTECTED]

 Any hints?

Does the email goes in the user INBOX at least ?

Did you look into the lmtpd.log and postfix.log to check if the
delivery looks ok .?

Regards


 Thanks in advance.

 Stefan Pampel

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

 iEYEARECAAYFAkkuZQgACgkQXXT1nfS2Z+HQZACePaK8zDCOamVl91z+hIhnK8b6
 XkMAn2iwps/ZU1Oet+Vg1g+uXWi/uAqM
 =6YOr
 -END PGP SIGNATURE-

 --
 / polyformal/
 | http://www.polyformal.de /
 |_/
 GPG KEY: 11678845

 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




-- 
Alain Spineux
aspineux gmail com
May the sources be with you

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


plus addressing over lmtp not working / sam [box] anyone p set

2008-11-27 Thread Stefan Pampel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

it seems that plus addressing not work in my case:

postfix configured correctly:
main.cf: 
recipient_delimiter = +

master.cf:
lmtp  unix  -   -   n   -   -   lmtp

Mails basically reach the INBOX, but not the folder itself

cyrus config:
snip
altnamespace: yes # even with no does not work
virtdomains: userid
defaultdomain: foo.bar.org
unixhierarchysep: no
/snip

The folder
lam user.user1.spam

user1 lrswipcda
anyone p

The mail header contains 
To: user1 [EMAIL PROTECTED]

Any hints?

Thanks in advance.

Stefan Pampel

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkuZQgACgkQXXT1nfS2Z+HQZACePaK8zDCOamVl91z+hIhnK8b6
XkMAn2iwps/ZU1Oet+Vg1g+uXWi/uAqM
=6YOr
-END PGP SIGNATURE-

-- 
/ polyformal/
| http://www.polyformal.de /
|_/
GPG KEY: 11678845


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: plus addressing over lmtp not working / sam [box] anyone p set

2008-11-27 Thread Rudy Gevaert
Quoting Stefan Pampel [EMAIL PROTECTED]:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello,

 it seems that plus addressing not work in my case:

 postfix configured correctly:
 main.cf:
 recipient_delimiter = +

 master.cf:
 lmtp  unix  -   -   n   -   -   lmtp

 Mails basically reach the INBOX, but not the folder itself

 cyrus config:
 snip
 altnamespace: yes # even with no does not work
 virtdomains: userid
 defaultdomain: foo.bar.org
 unixhierarchysep: no
 /snip

 The folder
 lam user.user1.spam

 user1 lrswipcda
 anyone p

 The mail header contains
 To: user1 [EMAIL PROTECTED]

 Any hints?

I don't have the manual page at hand right now, but isn't there an  
option to switch it on in imapd.conf?  We are using + addressing  
without any problems.
Is the folder already created?  Do the cases match?

-- 
  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  Rudy Gevaert e-mail: [EMAIL PROTECTED]
  Directie ICT, Afdeling Infrastructuur
  Groep Systemen  tel: +32 9 264 4750
  Universiteit Gent   fax: +32 9 264 4994
  Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: plus addressing over lmtp not working / sam [box] anyone p set

2008-11-27 Thread Stefan Pampel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rudy Gevaert [EMAIL PROTECTED] schrieb:
 Quoting Stefan Pampel [EMAIL PROTECTED]:
 it seems that plus addressing not work in my case:

 postfix configured correctly:
 main.cf:
 recipient_delimiter = +

 master.cf:
 lmtp  unix  -   -   n   -   -   lmtp

 Mails basically reach the INBOX, but not the folder itself

 cyrus config:
 snip
 altnamespace: yes # even with no does not work
 virtdomains: userid
 defaultdomain: foo.bar.org
 unixhierarchysep: no
 /snip

 The folder
 lam user.user1.spam

 user1 lrswipcda
 anyone p

 The mail header contains
 To: user1 [EMAIL PROTECTED]

 Any hints?

 I don't have the manual page at hand right now, but isn't there an  
 option to switch it on in imapd.conf?  We are using + addressing  
 without any problems.
 Is the folder already created?  Do the cases match?

Yes, and with permissions anyone p, as i mentioned above. Case does
match. lmtp_downcase_rcpt = yes , I also tried = no . No changes :|

OS: Debian lenny with cyrus 2.2.13-14+b3


Stefan Pampel

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkuePoACgkQXXT1nfS2Z+G9UwCeMGXGZF7MOepjlyNzTh0FsHT5
3HYAoKqn+kDQRk2T+8aHUG12JAiJxlxi
=I3KU
-END PGP SIGNATURE-

-- 
/ polyformal/
| http://www.polyformal.de /
|_/
GPG KEY: 11678845


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html