[Dovecot] qmail dovecot lda

2014-02-08 Thread Florin, Portase

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Yes, submission_host was the issue.

Problem is, I've got an empty value for submission_host.

Everything works normally now.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (MingW32)
 
iQEcBAEBAgAGBQJS9mqHAAoJEF9FGnYkDg1zlzAIAIuw4/FXeB1A22EK20Q9amjS
cF0uymi2vVywRgOOFvHCUwmAdMTZ5GosjaYof6GmavNLc7aYHVmAdJq0vP1zPuWA
Z+H+tdUJDZefQAtvCh05+ig6hPYfsiI96/sxz5gwtaDgj11sZE95+8HorYzQx0RB
/+JsyUakZ6lwWRldRIuGmSYNRCe+Un8fuIvYL7dR1KkmtfPl34vF1A4Bft89EJ8P
qmS+tUKl67t9lW24rBWg9W92lnViuaG6bVwENxE0TN4BRJlBcQXGuK/8ImhekizR
WDGRf950zbBlVwhWtuqQMrIzb4cqEKKetjY+lkRb6GfPwNFjhJLprY4h7CBP1Uo=
=GqDG
-END PGP SIGNATURE-


[Dovecot] qmail dovecot lda

2014-02-07 Thread Florin, Portase
(no report template found)


---BeginMessage---

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Yes, it was correct!

I had an empty value for submission_host

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (MingW32)
 
iQEcBAEBAgAGBQJS9Rd0AAoJEF9FGnYkDg1zkoQIALOtZg8yPOESJbIf1JdnhRWk
yEy9elxOzjziYNCGTxqo0zcz/L4Z8rSANE67WOeYSsD/89YmSiM7An3nkwefNO07
6QXuQ8rCiY1Ab8zVjrHR+9P4WOtx9fpS0GuUkIACVpV3Ngsb+LLdLiEbZkTKV2yw
b83iNFmuh/trCJ8QtHWDmYILwaRq2UEJwJude5ykOOw8Rmci8mpPgp2NGLejfR+N
9hjZoU0pMfOXEnwaT/fpejYde1fCbPjZF2T3pYRu6d4gIaz8lX2v0xwlz+zmyOQ7
HnlJMvvSCCoMxaZXsUUZYwJDakEGZOxqp/9vG7uyMh5La0T4G1c2lBPyEa/yZFk=
=UHYM
-END PGP SIGNATURE-

---End Message---


[Dovecot] qmail dovecot lda

2014-02-06 Thread Florin Portase
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


SETUP:

qmail + dovecot 2.2.10 + pigeonhole 0.4.2

I have a user who's quota is at 98% so theoretically when this user is
receiving any mails qmail shout send a rejection message like user is
overquota

/vpopmail/domains/medianetork.ro/.qmail-default

#| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
| DTLINE=${DTLINE/$USER-} /var/qmail/bin/preline -f
/usr/libexec/dovecot/dovecot-lda -d $EXT@$USER -a $EXT@$USER

If I let enabled only this line
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
everything is working OK

1st test: from yahoo mail
- - send an _attachment of 2mb ( way over quota )

and the response:
@400052f370fd3381b504 info msg 3793: bytes 4268 from
@medianetork.ro qp 19703 uid 420
@400052f370fd3381b8ec starting delivery 6: msg 3793 to remote
pflor...@yahoo.com
@400052f370fd3381b8ec status: local 0/10 remote 1/120
@400052f371011135ec04 delivery 6: success:
66.196.118.33_accepted_message./Remote_host_said:_250_ok_dirdel/
@400052f371011135f3d4 status: local 0/10 remote 0/120

2nd test: from lotus domino
- - send an _attachment of 2mb ( way over quota )

@400052f34f832bc8fa0c info msg 3774: bytes 3444 from
@medianetork.ro qp 13708 uid 420
@400052f34f832bc8fa0c starting delivery 2: msg 3774 to remote
pflor...@fr.ibm.com
@400052f34f832bc8fdf4 status: local 0/10 remote 1/120
@400052f34f84346185e4 delivery 2: failure:
Connected_to_195.75.94.105_but_sender_was_rejected./Remote_host_said:_501_Syntax_error_in_parameters_or_arguments:_(-132)/


Also gmail complains about Syntax error
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS839EAAoJECEzxtLP+204PG8H/3+melSRQ9zWlqaY77rnxIIV
7fV3c6DFvwWeBr7MJx7MAtWRljzyS8dMLkNrfqvZlhWBRljinV3P8iX8m+ZT6wKG
42H5BLCRPhXccppFvYwTL22CNFO0+ZKdhogFFrr3bBxdoir3xW+rG9dUDw+uvQZw
y2R6zUp4o33nBKq44mfvIOV8/kwDiVdxN+p/pbs/QFsvtFJh+NI39F9mxWFMkTAk
leQjjSrKSw/yKBXjWRT4Gu35XrqylbUHo8n9EzS6jP47OE2DAHMhfKI8/0qCHcNK
R3NiWu7xvW8GX66zhF3LUZN5ojAxniZ+AvJ+q016BQi7EWMeNcR7a/o8bavSaMg=
=kcDs
-END PGP SIGNATURE-


Re: [Dovecot] qmail dovecot lda

2014-02-06 Thread Alessio Cecchi

Il 06/02/2014 13:25, Florin Portase ha scritto:


SETUP:

qmail + dovecot 2.2.10 + pigeonhole 0.4.2

I have a user who's quota is at 98% so theoretically when this user is
receiving any mails qmail shout send a rejection message like user is
overquota

/vpopmail/domains/medianetork.ro/.qmail-default

#| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
| DTLINE=${DTLINE/$USER-} /var/qmail/bin/preline -f
/usr/libexec/dovecot/dovecot-lda -d $EXT@$USER -a $EXT@$USER

If I let enabled only this line
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
everything is working OK

1st test: from yahoo mail
- - send an _attachment of 2mb ( way over quota )

and the response:
@400052f370fd3381b504 info msg 3793: bytes 4268 from
@medianetork.ro qp 19703 uid 420
@400052f370fd3381b8ec starting delivery 6: msg 3793 to remote
pflor...@yahoo.com
@400052f370fd3381b8ec status: local 0/10 remote 1/120
@400052f371011135ec04 delivery 6: success:
66.196.118.33_accepted_message./Remote_host_said:_250_ok_dirdel/
@400052f371011135f3d4 status: local 0/10 remote 0/120

2nd test: from lotus domino
- - send an _attachment of 2mb ( way over quota )

@400052f34f832bc8fa0c info msg 3774: bytes 3444 from
@medianetork.ro qp 13708 uid 420
@400052f34f832bc8fa0c starting delivery 2: msg 3774 to remote
pflor...@fr.ibm.com
@400052f34f832bc8fdf4 status: local 0/10 remote 1/120
@400052f34f84346185e4 delivery 2: failure:
Connected_to_195.75.94.105_but_sender_was_rejected./Remote_host_said:_501_Syntax_error_in_parameters_or_arguments:_(-132)/


Also gmail complains about Syntax error


Qmail send the over quota messagge only if is vdelivermail to finaly 
delivery the email in the user's mailbox. If the finally delivery is 
made by dovecot LDA should be it to sent a bounce with over quota messagge.


In 15-lda.conf try to add

submission_host = localhost

Let me know if works.
--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz
Cloud Email Hosting - http://www.qboxmail.com
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it


[Dovecot] qmail dovecot lda

2014-02-06 Thread Florin Portase
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Yes, it was correct!

I had an empty value for host_submission

submission_host = medianetork.ro  the right value

And 2nd: my dovecot selinux policy was a little buggy, after some
tweaking everything seems OK now...
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS86jmAAoJECEzxtLP+204L34H/jSm3SCYb+VLDVWuRPRb3IKt
fMVKoeEFGUu9+k7Kmixu68v8C4IFdhTn15wdSH2S5aBn+RYyjwfjZoMJ7qU06jIu
aNX7gSjPOclaaKfa5oiNkszZgwj1WGdKtZo6Ezak+hzdIUYJrYfd6QZO6+WnNoo4
0rzGwsYIGnJvE2+ERXUaa08IAuhdKjiwD21jV5jmyfTI8LpR4JoG+sB1GRi6SKqR
eEiHXZquIe5MMBXbPUuHsUlDq6ujvstmQvLdgAXbobpfOFD3Xq0ivDAqRv6BnXHn
PedfSpqJLriyx/13UVuwQ3aKkRDJ3GnqQOh5hfEaAghfuAu9M04h0BwTJOcnuhw=
=1nU6
-END PGP SIGNATURE-


Re: [Dovecot] qmail + dovecot-lda

2010-11-17 Thread ckubu
hi,

 Google vdelivermail + dovecot for some code snippets

thanks, i will look about later in the afternoon.

 Are you running latest vpopmail for qmailamim integration?

yes , vpopmail 5.4.32, dovecoz 2.0.7

christoph


 Rick

 Sent from my iPhone

 On Nov 16, 2010, at 8:55 PM, ckubu ck...@so36.net wrote:
  hallo,
 
  i am changing my mailsetups to qmail+vpopmail+dovecot.
 
  is it possible to let dovecot's lda deliver mail into mailboxes but
  also
  deliver mails to forward-addresses in .qmail-files, if exists?
 
  b.t.w. i know, its not an dovecot issue, but maybe anyone knows: i
  have setup
  defaultdelivery in qmail-control directory, but vadddomain ignors
  it. is
  there a way to make that entry the default for .qmail-default files?
 
  thanks
  christoph




[Dovecot] qmail + dovecot-lda

2010-11-16 Thread ckubu
hallo,

i am changing my mailsetups to qmail+vpopmail+dovecot.

is it possible to let dovecot's lda deliver mail into mailboxes but also 
deliver mails to forward-addresses in .qmail-files, if exists?

b.t.w. i know, its not an dovecot issue, but maybe anyone knows: i have setup 
defaultdelivery in qmail-control directory, but vadddomain ignors it. is 
there a way to make that entry the default for .qmail-default files?

thanks
christoph


Re: [Dovecot] qmail + dovecot-lda

2010-11-16 Thread Rick Romero

Google vdelivermail + dovecot for some code snippets

Are you running latest vpopmail for qmailamim integration?

Rick

Sent from my iPhone

On Nov 16, 2010, at 8:55 PM, ckubu ck...@so36.net wrote:


hallo,

i am changing my mailsetups to qmail+vpopmail+dovecot.

is it possible to let dovecot's lda deliver mail into mailboxes but  
also

deliver mails to forward-addresses in .qmail-files, if exists?

b.t.w. i know, its not an dovecot issue, but maybe anyone knows: i  
have setup
defaultdelivery in qmail-control directory, but vadddomain ignors  
it. is

there a way to make that entry the default for .qmail-default files?

thanks
christoph