Discussion:
[SPAM] Rrdirection problem
Stéphane SALETTES
2014-04-17 14:16:06 UTC
Permalink
This is 3 emails box



siad-***@piemont.fr<mailto:siad-***@piemont.fr>

***@piemont.fr<mailto:***@piemont.fr>

***@piemont.fr<mailto:***@piemont.fr>



and a redirection ***@piemont.fr<mailto:***@piemont.fr> to ***@piemont.fr<mailto:***@piemont.fr>



When I send an email to siad-***@piemont.fr<mailto:siad-***@piemont.fr> he did not



receive but is ***@piemont.fr<mailto:***@piemont.fr> who receives







Thank




Cordialement

--------------------------------------
Stephane Salettes


ABAC Informatique
1 Bis Ave Pech Loubat
ZI La Coupe
11100 Narbonne

Tél: 33 (0)4 68 41 73 00
FAX : 33 (0)4 6841 73 02
GSM: 33 (0)6 85 36 67 28

http://www.abac-info.com<blocked::http://www.abac-info.com/>
[logo]



!DSPAM:534fe22a34261209747971!
Eric Shubert
2014-04-17 15:49:53 UTC
Permalink
Stéphane,

This does not appear to me to be what was written on the QMT list.

In order to be clear, please describe:
1) your configuration (what are accounts, what are forwards)
2) what actually happens
3) what you desire to happen

For example:
1) There are 2 email accounts, ***@piemont.fr and ***@piemont.fr.
The ***@piemont.fr account is configured to forward messages to
***@piemont.fr. (Or is ***@piemont.fr simply a forward with no
account?)

2) When an email is sent to ??, it arrives at ??.

3) When an email is sent to ??, I'd like it to arrive at ??.

Thanks.

P.S. You've repeatedly written siad-secretariat@, which I assumed was a
typo and you meant ssiad-***@. Is this the case or not?
--
-Eric 'shubes'
Post by Stéphane SALETTES
This is 3 emails box
Thank
Cordialement
--------------------------------------
Stephane Salettes
ABAC Informatique
1 Bis Ave Pech Loubat
ZI La Coupe
11100 Narbonne
Tél: 33 (0)4 68 41 73 00
FAX : 33 (0)4 6841 73 02
GSM: 33 (0)6 85 36 67 28
http://www.abac-info.com <blocked::http://www.abac-info.com/>
logo
!DSPAM:534ff83234265858656019!
Stéphane SALETTES
2014-04-18 15:44:03 UTC
Permalink
1) There are 2 emails accounts, ***@piemont.fr , ssiad-***@piemont.fr
***@piemont.fr simply a forward with no account to ***@piemont.fr

2) what actually happens
When a message is sent to ssiad-***@piemont.fr , ssiad-***@piemont.fr doesn't receive this message but ***@piemont.fr yes

3) what you desire to happen
When i send a message to ssiad-***@piemont.fr i want that the message go to the ssiad-***@piemont.fr mail box and foward to ***@piemont.fr

And when i send a massage to ***@piemont.fr i want a simple foward to ***@piemont.fr

thank
Cordialement

--------------------------------------
Stephane Salettes


ABAC Informatique
1 Bis Ave Pech Loubat
ZI La Coupe
11100 Narbonne

Tél: 33 (0)4 68 41 73 00
FAX : 33 (0)4 6841 73 02
GSM: 33 (0)6 85 36 67 28

http://www.abac-info.com


-----Message d'origine-----
De : Eric Shubert [mailto:***@shubes.net]
Envoyé : jeudi 17 avril 2014 17:50
À : ***@inter7.com
Objet : !!! CHECK SENDER !!![vchkpw] [SPAM] Re: [SPAM] Rrdirection problem

Stéphane,

This does not appear to me to be what was written on the QMT list.

In order to be clear, please describe:
1) your configuration (what are accounts, what are forwards)
2) what actually happens
3) what you desire to happen

For example:
1) There are 2 email accounts, ***@piemont.fr and ***@piemont.fr.
The ***@piemont.fr account is configured to forward messages to ***@piemont.fr. (Or is ***@piemont.fr simply a forward with no
account?)

2) When an email is sent to ??, it arrives at ??.

3) When an email is sent to ??, I'd like it to arrive at ??.

Thanks.

P.S. You've repeatedly written siad-secretariat@, which I assumed was a typo and you meant ssiad-***@. Is this the case or not?

--
-Eric 'shubes'
Post by Stéphane SALETTES
This is 3 emails box
Thank
Cordialement
--------------------------------------
Stephane Salettes
ABAC Informatique
1 Bis Ave Pech Loubat
ZI La Coupe
11100 Narbonne
Tél: 33 (0)4 68 41 73 00
FAX : 33 (0)4 6841 73 02
GSM: 33 (0)6 85 36 67 28
http://www.abac-info.com <blocked::http://www.abac-info.com/>
logo
!DSPAM:5351484734261160721075!
Eric Shubert
2014-04-18 21:38:29 UTC
Permalink
In that case,
I see.
Post by Eric Shubert
2) what actually happens
That's what I would expect to happen, given your configuration.
Post by Eric Shubert
3) what you desire to happen
I think if you modify the ssiad-secretariat@ account to also forward a
copy to spasad@, that would achieve your desired behavior. I.e., in
qmailadmin, under the Routing section, select Forward To, and check the
Save a Copy checkbox.

If that doesn't do what you desire, please explain how you expect your
configuration to behave.
--
-Eric 'shubes'
Post by Eric Shubert
thank
Cordialement
--------------------------------------
Stephane Salettes
ABAC Informatique
1 Bis Ave Pech Loubat
ZI La Coupe
11100 Narbonne
Tél: 33 (0)4 68 41 73 00
FAX : 33 (0)4 6841 73 02
GSM: 33 (0)6 85 36 67 28
http://www.abac-info.com
-----Message d'origine-----
Envoyé : jeudi 17 avril 2014 17:50
Objet : !!! CHECK SENDER !!![vchkpw] [SPAM] Re: [SPAM] Rrdirection problem
Stéphane,
This does not appear to me to be what was written on the QMT list.
1) your configuration (what are accounts, what are forwards)
2) what actually happens
3) what you desire to happen
account?)
2) When an email is sent to ??, it arrives at ??.
3) When an email is sent to ??, I'd like it to arrive at ??.
Thanks.
--
-Eric 'shubes'
Post by Stéphane SALETTES
This is 3 emails box
Thank
Cordialement
--------------------------------------
Stephane Salettes
ABAC Informatique
1 Bis Ave Pech Loubat
ZI La Coupe
11100 Narbonne
Tél: 33 (0)4 68 41 73 00
FAX : 33 (0)4 6841 73 02
GSM: 33 (0)6 85 36 67 28
http://www.abac-info.com <blocked::http://www.abac-info.com/>
logo
!DSPAM:53519b6834261578218977!
xaf
2014-04-19 01:41:36 UTC
Permalink
Post by Eric Shubert
Post by Eric Shubert
3) what you desire to happen
qmailadmin, under the Routing section, select Forward To, and check the
Save a Copy checkbox.
it's a part of a solution
this will create a .qmail file in the user directory
but vdelivermail won't read it
because of the extension addresses mechanism

Stéphane
ssiad-secretariat@ is an alias for user ssiad@
it's quite a strange conf to give a forward to the user
and the account to the alias

mail delivery in a glance
qmail-send -> qmail-lspawn -> qmail-local -> vdelivermail -> vuser/valias

we must shorten delivery before vdelivermail handle it
because of ssiad forward, vdelivermail will ignore ssiad-secretariat account

lspawn read users/cdb, we can shorten the delivery here, answer 2
local read .qmail-files in domain directory, we can shorten too here, answer 1

answer 1, according vpopmail is in /home/vpopmail
create a file .qmail-ssiad-secretariat in /home/vpopmail/domains/piemont.fr
0600 vpopmail:vchkpw
write in
&***@piemont.fr
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
if you want to change the headers for spasad
or
/home/vpopmail/domains/piemont.fr/spasad/Maildir/
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
for straight copy

answer 2
according to Eric explanation
we have a .qmail in /home/vpopmail/domains/piemont.fr/ssiad-secretariat/
containing
&***@piemont.fr
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
we need local to read this .qmail file
so lspawn have to point to the correct directory
before local handle delivery

edit /var/qmail/users/assign
add the line (check if 89:89 are uid gid of vpopmail:vchkpw)
=piemont.fr-ssiad-secretariat:piemont.fr:89:89:/home/vpopmail/domains/piemont.fr/ssiad-secretariat:::
before the piemont.fr virtual domain line
and run /var/qmail/bin/qmail-newu to rebuild /var/qmail/users/cdb

answer 3
a forward account instead of a simple forward
delete ssiad forward
create ssiad account
apply Eric solution without saving a copy
ssiad will be master for ssiad-everything but secretariat

xaf





!DSPAM:5351d45834261943715214!
Eric Shubert
2014-04-19 16:52:43 UTC
Permalink
Post by xaf
Post by Eric Shubert
Post by Eric Shubert
3) what you desire to happen
qmailadmin, under the Routing section, select Forward To, and check the
Save a Copy checkbox.
it's a part of a solution
this will create a .qmail file in the user directory
but vdelivermail won't read it
because of the extension addresses mechanism
Stéphane
it's quite a strange conf to give a forward to the user
and the account to the alias
mail delivery in a glance
qmail-send -> qmail-lspawn -> qmail-local -> vdelivermail -> vuser/valias
we must shorten delivery before vdelivermail handle it
because of ssiad forward, vdelivermail will ignore ssiad-secretariat account
lspawn read users/cdb, we can shorten the delivery here, answer 2
local read .qmail-files in domain directory, we can shorten too here, answer 1
answer 1, according vpopmail is in /home/vpopmail
create a file .qmail-ssiad-secretariat in /home/vpopmail/domains/piemont.fr
0600 vpopmail:vchkpw
write in
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
if you want to change the headers for spasad
or
/home/vpopmail/domains/piemont.fr/spasad/Maildir/
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
for straight copy
answer 2
according to Eric explanation
we have a .qmail in /home/vpopmail/domains/piemont.fr/ssiad-secretariat/
containing
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
we need local to read this .qmail file
so lspawn have to point to the correct directory
before local handle delivery
edit /var/qmail/users/assign
add the line (check if 89:89 are uid gid of vpopmail:vchkpw)
before the piemont.fr virtual domain line
and run /var/qmail/bin/qmail-newu to rebuild /var/qmail/users/cdb
answer 3
a forward account instead of a simple forward
delete ssiad forward
create ssiad account
apply Eric solution without saving a copy
ssiad will be master for ssiad-everything but secretariat
xaf
Thanks for this post, xaf. It's the best description I've seen of
delivery in the 8 years I've been using QMT. I expect this will be
helpful when we integrate Dovecot's LDA in the near future.

Stéphane,
FWIW, I'd go with answer #3. It seems to me to be the simplest given
your situation. It can all be done with qmailadmin, with no need to use
any CLI configuration methods.
--
-Eric 'shubes'


!DSPAM:5352a9f034261066319550!
Stéphane SALETTES
2014-04-24 07:50:26 UTC
Permalink
Hi,

You don't understand my problem, maybe because my english is bad :(

ssiad-***@piemont.fr is a standalone account no foward

***@piemont.fr is a standalone account no foward

and ***@piemont.fr is just a foward to ***@piemont.fr

but if i send a message to ssiad-***@piemont.fr nothing in is mailbox but the message is in the box of ***@piemont.fr

the work arraound that i find is delete the foward on qmailadmin (mysql) (***@piemont.fr -> ***@piemont.fr) and create a file

.qmail-ssiad
&***@piemont.fr


Hope you understand me this time sorry :)

Thank










Cordialement

--------------------------------------
Stephane Salettes


ABAC Informatique
1 Bis Ave Pech Loubat
ZI La Coupe
11100 Narbonne

Tél: 33 (0)4 68 41 73 00
FAX : 33 (0)4 6841 73 02
GSM: 33 (0)6 85 36 67 28

http://www.abac-info.com


-----Message d'origine-----
De : xaf [mailto:***@abaxe.net]
Envoyé : samedi 19 avril 2014 03:42
À : ***@inter7.com
Objet : Re: [vchkpw] Re: !!! CHECK SENDER !!![vchkpw] [SPAM] Re: [SPAM] Rrdirection problem
Post by Eric Shubert
Post by Eric Shubert
3) what you desire to happen
qmailadmin, under the Routing section, select Forward To, and check
the Save a Copy checkbox.
it's a part of a solution
this will create a .qmail file in the user directory but vdelivermail won't read it because of the extension addresses mechanism

Stéphane
ssiad-secretariat@ is an alias for user ssiad@ it's quite a strange conf to give a forward to the user and the account to the alias

mail delivery in a glance
qmail-send -> qmail-lspawn -> qmail-local -> vdelivermail -> vuser/valias

we must shorten delivery before vdelivermail handle it because of ssiad forward, vdelivermail will ignore ssiad-secretariat account

lspawn read users/cdb, we can shorten the delivery here, answer 2 local read .qmail-files in domain directory, we can shorten too here, answer 1

answer 1, according vpopmail is in /home/vpopmail create a file .qmail-ssiad-secretariat in /home/vpopmail/domains/piemont.fr
0600 vpopmail:vchkpw
write in
&***@piemont.fr
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
if you want to change the headers for spasad or /home/vpopmail/domains/piemont.fr/spasad/Maildir/
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
for straight copy

answer 2
according to Eric explanation
we have a .qmail in /home/vpopmail/domains/piemont.fr/ssiad-secretariat/
containing
&***@piemont.fr
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
we need local to read this .qmail file
so lspawn have to point to the correct directory before local handle delivery

edit /var/qmail/users/assign
add the line (check if 89:89 are uid gid of vpopmail:vchkpw)
=piemont.fr-ssiad-secretariat:piemont.fr:89:89:/home/vpopmail/domains/piemont.fr/ssiad-secretariat:::
before the piemont.fr virtual domain line and run /var/qmail/bin/qmail-newu to rebuild /var/qmail/users/cdb

answer 3
a forward account instead of a simple forward delete ssiad forward create ssiad account apply Eric solution without saving a copy ssiad will be master for ssiad-everything but secretariat

xaf








!DSPAM:5358c24734262119615012!
Tom Collins
2014-04-24 16:43:34 UTC
Permalink
This sounds like a possible bug (or perhaps a configuration issue) in vdelivermail.

With MySQL aliases, vdelivermail handles delivery. It's finding the ssiad forward first and delivering the message there (since "-secretariat" is an extension to that mailbox).

By deleting the alias record stored in MySQL and replacing it with a dot-qmail file (.qmail-ssiad), you're allowing Qmail to handle its delivery before the message is handed off to vdelivermail.

It's been a long time since I've worked with the vpopmail source code, but I imagine you'll find logic in vdelivermail that has it checking for aliases before mailboxes, and it's iterating through all possible base/extension pairs (foo-bar-baz, then foo-bar, then foo).

-Tom
Post by Stéphane SALETTES
Hi,
You don't understand my problem, maybe because my english is bad :(
.qmail-ssiad
Hope you understand me this time sorry :)
Thank
Cordialement
--------------------------------------
Stephane Salettes
ABAC Informatique
1 Bis Ave Pech Loubat
ZI La Coupe
11100 Narbonne
Tél: 33 (0)4 68 41 73 00
FAX : 33 (0)4 6841 73 02
GSM: 33 (0)6 85 36 67 28
http://www.abac-info.com
-----Message d'origine-----
Envoyé : samedi 19 avril 2014 03:42
Objet : Re: [vchkpw] Re: !!! CHECK SENDER !!![vchkpw] [SPAM] Re: [SPAM] Rrdirection problem
Post by Eric Shubert
Post by Eric Shubert
3) what you desire to happen
qmailadmin, under the Routing section, select Forward To, and check
the Save a Copy checkbox.
it's a part of a solution
this will create a .qmail file in the user directory but vdelivermail won't read it because of the extension addresses mechanism
Stéphane
mail delivery in a glance
qmail-send -> qmail-lspawn -> qmail-local -> vdelivermail -> vuser/valias
we must shorten delivery before vdelivermail handle it because of ssiad forward, vdelivermail will ignore ssiad-secretariat account
lspawn read users/cdb, we can shorten the delivery here, answer 2 local read .qmail-files in domain directory, we can shorten too here, answer 1
answer 1, according vpopmail is in /home/vpopmail create a file .qmail-ssiad-secretariat in /home/vpopmail/domains/piemont.fr
0600 vpopmail:vchkpw
write in
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
if you want to change the headers for spasad or /home/vpopmail/domains/piemont.fr/spasad/Maildir/
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
for straight copy
answer 2
according to Eric explanation
we have a .qmail in /home/vpopmail/domains/piemont.fr/ssiad-secretariat/
containing
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
we need local to read this .qmail file
so lspawn have to point to the correct directory before local handle delivery
edit /var/qmail/users/assign
add the line (check if 89:89 are uid gid of vpopmail:vchkpw)
before the piemont.fr virtual domain line and run /var/qmail/bin/qmail-newu to rebuild /var/qmail/users/cdb
answer 3
a forward account instead of a simple forward delete ssiad forward create ssiad account apply Eric solution without saving a copy ssiad will be master for ssiad-everything but secretariat
xaf
!DSPAM:53593f3d34268127549349!
Eric Shubert
2014-04-24 17:45:43 UTC
Permalink
That could very well be, Tom.

Stéphane, I believe the odd behavior is due to qmail's 'extension'
feature, which comes into play with accounts that contain a '-', and the
portion before the dash matches another account or forward. You could
avoid this 'collision' (or 'conflict' or 'commonality') by choosing
different address names, such as 'ssiad_secretariat@' or
'ssiad.secretariat@' or 'secretariat-ssiad@' (providing there is no
account or forward called 'secretariat@' in this last case).

Email extensions are a handy feature for some users, but admins need to
be careful when using a '-' in account names.
--
-Eric 'shubes'
Post by Tom Collins
This sounds like a possible bug (or perhaps a configuration issue) in vdelivermail.
With MySQL aliases, vdelivermail handles delivery. It's finding the ssiad forward first and delivering the message there (since "-secretariat" is an extension to that mailbox).
By deleting the alias record stored in MySQL and replacing it with a dot-qmail file (.qmail-ssiad), you're allowing Qmail to handle its delivery before the message is handed off to vdelivermail.
It's been a long time since I've worked with the vpopmail source code, but I imagine you'll find logic in vdelivermail that has it checking for aliases before mailboxes, and it's iterating through all possible base/extension pairs (foo-bar-baz, then foo-bar, then foo).
-Tom
Post by Stéphane SALETTES
Hi,
You don't understand my problem, maybe because my english is bad :(
.qmail-ssiad
Hope you understand me this time sorry :)
Thank
Cordialement
--------------------------------------
Stephane Salettes
ABAC Informatique
1 Bis Ave Pech Loubat
ZI La Coupe
11100 Narbonne
Tél: 33 (0)4 68 41 73 00
FAX : 33 (0)4 6841 73 02
GSM: 33 (0)6 85 36 67 28
http://www.abac-info.com
-----Message d'origine-----
Envoyé : samedi 19 avril 2014 03:42
Objet : Re: [vchkpw] Re: !!! CHECK SENDER !!![vchkpw] [SPAM] Re: [SPAM] Rrdirection problem
Post by Eric Shubert
Post by Eric Shubert
3) what you desire to happen
qmailadmin, under the Routing section, select Forward To, and check
the Save a Copy checkbox.
it's a part of a solution
this will create a .qmail file in the user directory but vdelivermail won't read it because of the extension addresses mechanism
Stéphane
mail delivery in a glance
qmail-send -> qmail-lspawn -> qmail-local -> vdelivermail -> vuser/valias
we must shorten delivery before vdelivermail handle it because of ssiad forward, vdelivermail will ignore ssiad-secretariat account
IMHO a 32 bit guest consumes less memory than a 64 bit one. Unless you
need to address more than 4GB of RAM you really don't get any benefit
from a 64bit VM.

Proxmox dev's seem to agree with me.
http://pve.proxmox.com/wiki/FAQ

Also, the disks should be of type virtio and not IDE. Performance under
IDE sucks big time.
Post by Tom Collins
Post by Stéphane SALETTES
lspawn read users/cdb, we can shorten the delivery here, answer 2 local read .qmail-files in domain directory, we can shorten too here, answer 1
answer 1, according vpopmail is in /home/vpopmail create a file .qmail-ssiad-secretariat in /home/vpopmail/domains/piemont.fr
0600 vpopmail:vchkpw
write in
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
if you want to change the headers for spasad or /home/vpopmail/domains/piemont.fr/spasad/Maildir/
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
for straight copy
answer 2
according to Eric explanation
we have a .qmail in /home/vpopmail/domains/piemont.fr/ssiad-secretariat/
containing
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
we need local to read this .qmail file
so lspawn have to point to the correct directory before local handle delivery
edit /var/qmail/users/assign
add the line (check if 89:89 are uid gid of vpopmail:vchkpw)
before the piemont.fr virtual domain line and run /var/qmail/bin/qmail-newu to rebuild /var/qmail/users/cdb
answer 3
a forward account instead of a simple forward delete ssiad forward create ssiad account apply Eric solution without saving a copy ssiad will be master for ssiad-everything but secretariat
xaf
!DSPAM:53594dd634261434778701!
Tonix - Antonio Nati
2014-04-24 17:55:43 UTC
Permalink
Stéphane,

try in this way:

* delete the forward ***@piemont.fr
* create one normal account ***@piemont.fr
* insert within this account a forward to ***@piemont.fr

In this way it should work.

Tonino
Post by Eric Shubert
That could very well be, Tom.
Stéphane, I believe the odd behavior is due to qmail's 'extension'
feature, which comes into play with accounts that contain a '-', and
the portion before the dash matches another account or forward. You
could avoid this 'collision' (or 'conflict' or 'commonality') by
Email extensions are a handy feature for some users, but admins need
to be careful when using a '-' in account names.
--
------------------------------------------------------------
***@zioni Interazioni di Antonio Nati
http://www.interazioni.it ***@interazioni.it
------------------------------------------------------------



!DSPAM:5359502434261244028932!
Stéphane SALETTES
2014-04-25 09:51:47 UTC
Permalink
Thank

Cordialement

--------------------------------------
Stephane Salettes


ABAC Informatique
1 Bis Ave Pech Loubat
ZI La Coupe
11100 Narbonne

Tél: 33 (0)4 68 41 73 00
FAX : 33 (0)4 6841 73 02
GSM: 33 (0)6 85 36 67 28

http://www.abac-info.com<blocked::http://www.abac-info.com/>
[logo]

De : Tonix - Antonio Nati [mailto:***@interazioni.it]
Envoyé : jeudi 24 avril 2014 19:56
À : ***@inter7.com
Objet : Re: [vchkpw] Re: !!! CHECK SENDER !!![vchkpw] [SPAM] Re: [SPAM] Rrdirection problem

Stéphane,

try in this way:

* delete the forward ***@piemont.fr<mailto:***@piemont.fr>
* create one normal account ***@piemont.fr<mailto:***@piemont.fr>
* insert within this account a forward to ***@piemont.fr<mailto:***@piemont.fr>
In this way it should work.

Tonino


Il 24/04/2014 19:45, Eric Shubert ha scritto:
That could very well be, Tom.

Stéphane, I believe the odd behavior is due to qmail's 'extension' feature, which comes into play with accounts that contain a '-', and the portion before the dash matches another account or forward. You could avoid this 'collision' (or 'conflict' or 'commonality') by choosing different address names, such as 'ssiad_secretariat@' or 'ssiad.secretariat@' or 'secretariat-ssiad@' (providing there is no account or forward called 'secretariat@' in this last case).

Email extensions are a handy feature for some users, but admins need to be careful when using a '-' in account names.




--

------------------------------------------------------------

***@zioni Interazioni di Antonio Nati

http://www.interazioni.it ***@interazioni.it<mailto:***@interazioni.it>

------------------------------------------------------------



!DSPAM:535a303634261215410266!

Stéphane SALETTES
2014-04-25 09:51:14 UTC
Permalink
Thank

I suppose the '-' cause problem but i can t change :(

Cordialement

--------------------------------------
Stephane Salettes


ABAC Informatique
1 Bis Ave Pech Loubat
ZI La Coupe
11100 Narbonne

Tél: 33 (0)4 68 41 73 00
FAX : 33 (0)4 6841 73 02
GSM: 33 (0)6 85 36 67 28

http://www.abac-info.com


-----Message d'origine-----
De : Eric Shubert [mailto:***@shubes.net]
Envoyé : jeudi 24 avril 2014 19:46
À : ***@inter7.com
Objet : [vchkpw] Re: !!! CHECK SENDER !!![vchkpw] [SPAM] Re: [SPAM] Rrdirection problem

That could very well be, Tom.

Stéphane, I believe the odd behavior is due to qmail's 'extension'
feature, which comes into play with accounts that contain a '-', and the portion before the dash matches another account or forward. You could avoid this 'collision' (or 'conflict' or 'commonality') by choosing different address names, such as 'ssiad_secretariat@' or 'ssiad.secretariat@' or 'secretariat-ssiad@' (providing there is no account or forward called 'secretariat@' in this last case).

Email extensions are a handy feature for some users, but admins need to be careful when using a '-' in account names.

--
-Eric 'shubes'
Post by Tom Collins
This sounds like a possible bug (or perhaps a configuration issue) in vdelivermail.
With MySQL aliases, vdelivermail handles delivery. It's finding the ssiad forward first and delivering the message there (since "-secretariat" is an extension to that mailbox).
By deleting the alias record stored in MySQL and replacing it with a dot-qmail file (.qmail-ssiad), you're allowing Qmail to handle its delivery before the message is handed off to vdelivermail.
It's been a long time since I've worked with the vpopmail source code, but I imagine you'll find logic in vdelivermail that has it checking for aliases before mailboxes, and it's iterating through all possible base/extension pairs (foo-bar-baz, then foo-bar, then foo).
-Tom
Post by Stéphane SALETTES
Hi,
You don't understand my problem, maybe because my english is bad :(
the work arraound that i find is delete the foward on qmailadmin
.qmail-ssiad
Hope you understand me this time sorry :)
Thank
Cordialement
--------------------------------------
Stephane Salettes
ABAC Informatique
1 Bis Ave Pech Loubat
ZI La Coupe
11100 Narbonne
Tél: 33 (0)4 68 41 73 00
FAX : 33 (0)4 6841 73 02
GSM: 33 (0)6 85 36 67 28
http://www.abac-info.com
-----Message d'origine-----
Envoyé : samedi 19 avril 2014 03:42
[SPAM] Rrdirection problem
Post by Eric Shubert
3) what you desire to happen
in qmailadmin, under the Routing section, select Forward To, and
check the Save a Copy checkbox.
it's a part of a solution
this will create a .qmail file in the user directory but vdelivermail
won't read it because of the extension addresses mechanism
Stéphane
conf to give a forward to the user and the account to the alias
mail delivery in a glance
qmail-send -> qmail-lspawn -> qmail-local -> vdelivermail ->
vuser/valias
we must shorten delivery before vdelivermail handle it because of
ssiad forward, vdelivermail will ignore ssiad-secretariat account IMHO
a 32 bit guest consumes less memory than a 64 bit one. Unless you
need to address more than 4GB of RAM you really don't get any benefit from a 64bit VM.

Proxmox dev's seem to agree with me.
http://pve.proxmox.com/wiki/FAQ

Also, the disks should be of type virtio and not IDE. Performance under IDE sucks big time.
Post by Tom Collins
Post by Stéphane SALETTES
lspawn read users/cdb, we can shorten the delivery here, answer 2
local read .qmail-files in domain directory, we can shorten too here, answer 1
answer 1, according vpopmail is in /home/vpopmail create a file
.qmail-ssiad-secretariat in /home/vpopmail/domains/piemont.fr
0600 vpopmail:vchkpw
write in
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
if you want to change the headers for spasad or
/home/vpopmail/domains/piemont.fr/spasad/Maildir/
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
for straight copy
answer 2
according to Eric explanation
we have a .qmail in
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/
containing
/home/vpopmail/domains/piemont.fr/ssiad-secretariat/Maildir/
we need local to read this .qmail file so lspawn have to point to the
correct directory before local handle delivery
edit /var/qmail/users/assign
add the line (check if 89:89 are uid gid of vpopmail:vchkpw)
before the piemont.fr virtual domain line and run
/var/qmail/bin/qmail-newu to rebuild /var/qmail/users/cdb
answer 3
a forward account instead of a simple forward delete ssiad forward
create ssiad account apply Eric solution without saving a copy ssiad
will be master for ssiad-everything but secretariat
xaf
!DSPAM:535a301834261310398816!
Loading...