[vchkpw] Re: Troubleshooting vdelivermail
I'm curious to know how you made out on this, Bob. On 07/29/2013 09:21 AM, Robert A Wooldridge wrote: I am having trouble with my qmail/vpopmail systems. The default dot-qmail file contains: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox What's this file's name specifically? It should be: /home/vpopmail/domains/domain/.qmail-default But mail does not get delivered. It just disappears. When I look in the qmail-smtpd log the smtp session appears correctly. When I look in the qmail-send log, it notes a successfully delivery. But nothing is in the user's Maildir/new or Maildir/cur. When I create an explicit dot-qmail file for the user such as: /home/vpopmail/domains/test.domain.com/some.user/Maildir/ This works correctly. But that means I have to creat dot-qmail files for each and every user. Can someone suggest a solution or a reason why the default dot-qmail file does not work? Or a way to troubleshoot vdelivermail? Check permissions? Thanks! -- Bob W. -- -Eric 'shubes' !DSPAM:5294c2bb34262861420032!
Re: [vchkpw] Re: Troubleshooting vdelivermail
Cher Client, Nous avons bien reçu votre e-mail et nous vous en remercions. Nos collaborateurs le traiteront aussi rapidement que possible. Attention : ceci est une réponse automatique. Vous ne pouvez donc pas y répondre. Veuillez agréer nos salutations distinguées. BNP Paribas Fortis SA T : +32(0)2 762 20 00 Montagne du Parc 3, 1QA5E, 1000 Bruxelles | www.bnpparibasfortis.be Geachte klant, Wij hebben uw e-mail goed ontvangen, waarvoor dank. Onze medewerkers zullen uw vraag zo snel mogelijk beantwoorden. Opgelet : dit is een automatisch bericht. Hierop kan u geen antwoord versturen. Met vriendelijke groeten, BNP Paribas Fortis NV T : +32(0)2 762 60 00 Warandeberg 3, 1QA5E, 1000 Brussel | www.bnpparibasfortis.be Dear customer, We hereby acknowledge receipt of your e-mail. Thank you. Our staff will answer your query as soon as possible. Careful: This is an automatic message. Please do not reply. Yours sincerely, BNP Paribas Fortis SA/NV T : +32(0)2 261 11 11 Warandeberg 3, 1QA5E, 1000 Brussels | www.bnpparibasfortis.be Sehr geehrte Kundin, sehr geehrter Kunde, Wir danken Ihnen für Ihre E-Mail. Unsere Mitarbeiter werden Ihnen so schnell wie möglich antworten. Achtung: dies ist eine automatische Nachricht. Sie können sie folglich nicht beantworten. Freundliche Grüße BNP Paribas Fortis SA/NV T : +32(0)2 261 11 11 Warandeberg 3, 1QA5E, 1000 Brussel | www.bnpparibasfortis.be - Original Message - From: Eric Shubert e...@shubes.net Sent: Tuesday, November 26, 2013 8:48:00 AM GMT-07:00 Subject: [vchkpw] Re: Troubleshooting vdelivermail I'm curious to know how you made out on this, Bob. On 07/29/2013 09:21 AM, Robert A Wooldridge wrote: I am having trouble with my qmail/vpopmail systems. The default dot-qmail file contains: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox What's this file's name specifically? It should be: /home/vpopmail/domains/domain/.qmail-default But mail does not get delivered. It just disappears. When I look in the qmail-smtpd log the smtp session appears correctly. When I look in the qmail-send log, it notes a successfully delivery. But nothing is in the user's Maildir/new or Maildir/cur. When I create an explicit dot-qmail file for the user such as: /home/vpopmail/domains/test.domain.com/some.user/Maildir/ This works correctly. But that means I have to creat dot-qmail files for each and every user. Can someone suggest a solution or a reason why the default dot-qmail file does not work? Or a way to troubleshoot vdelivermail? Check permissions? Thanks! -- Bob W. -- -Eric 'shubes' == BNP Paribas Fortis disclaimer: http://www.bnpparibasfortis.com/e-mail-disclaimer.html BNP Paribas Fortis privacy policy: http://www.bnpparibasfortis.com/privacy-policy.html == !DSPAM:5294c3da34261183012298!
Re: [vchkpw] Re: Troubleshooting vdelivermail
Geachte mevrouw, Geachte heer, Wij hebben uw e-mail goed ontvangen en wij bedanken u hiervoor. Onze medewerkers beantwoorden deze zo spoedig mogelijk. Opgelet: dit is een automatisch bericht. Alvast bedankt om hierop niet te antwoorden. Hoogachtend. BNP Paribas Fortis NV T : +32(0)2 762 60 00 Warandeberg 3, 1QA5E, 1000 Brussel | www.bnpparibasfortis.be - Original Message - From: i...@bnpparibasfortis.be Sent: Tuesday, November 26, 2013 4:52:58 PM GMT+01:00 Subject: Re: [vchkpw] Re: Troubleshooting vdelivermail Cher Client, Nous avons bien reçu votre e-mail et nous vous en remercions. Nos collaborateurs le traiteront aussi rapidement que possible. Attention : ceci est une réponse automatique. Vous ne pouvez donc pas y répondre. Veuillez agréer nos salutations distinguées. BNP Paribas Fortis SA T : +32(0)2 762 20 00 Montagne du Parc 3, 1QA5E, 1000 Bruxelles | www.bnpparibasfortis.be Geachte klant, Wij hebben uw e-mail goed ontvangen, waarvoor dank. Onze medewerkers zullen uw vraag zo snel mogelijk beantwoorden. Opgelet : dit is een automatisch bericht. Hierop kan u geen antwoord versturen. Met vriendelijke groeten, BNP Paribas Fortis NV T : +32(0)2 762 60 00 Warandeberg 3, 1QA5E, 1000 Brussel | www.bnpparibasfortis.be Dear customer, We hereby acknowledge receipt of your e-mail. Thank you. Our staff will answer your query as soon as possible. Careful: This is an automatic message. Please do not reply. Yours sincerely, BNP Paribas Fortis SA/NV T : +32(0)2 261 11 11 Warandeberg 3, 1QA5E, 1000 Brussels | www.bnpparibasfortis.be Sehr geehrte Kundin, sehr geehrter Kunde, Wir danken Ihnen für Ihre E-Mail. Unsere Mitarbeiter werden Ihnen so schnell wie möglich antworten. Achtung: dies ist eine automatische Nachricht. Sie können sie folglich nicht beantworten. Freundliche Grüße BNP Paribas Fortis SA/NV T : +32(0)2 261 11 11 Warandeberg 3, 1QA5E, 1000 Brussel | www.bnpparibasfortis.be - Original Message - From: Eric Shubert e...@shubes.net Sent: Tuesday, November 26, 2013 8:48:00 AM GMT-07:00 Subject: [vchkpw] Re: Troubleshooting vdelivermail I'm curious to know how you made out on this, Bob. On 07/29/2013 09:21 AM, Robert A Wooldridge wrote: I am having trouble with my qmail/vpopmail systems. The default dot-qmail file contains: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox What's this file's name specifically? It should be: /home/vpopmail/domains/domain/.qmail-default But mail does not get delivered. It just disappears. When I look in the qmail-smtpd log the smtp session appears correctly. When I look in the qmail-send log, it notes a successfully delivery. But nothing is in the user's Maildir/new or Maildir/cur. When I create an explicit dot-qmail file for the user such as: /home/vpopmail/domains/test.domain.com/some.user/Maildir/ This works correctly. But that means I have to creat dot-qmail files for each and every user. Can someone suggest a solution or a reason why the default dot-qmail file does not work? Or a way to troubleshoot vdelivermail? Check permissions? Thanks! -- Bob W. -- -Eric 'shubes' == BNP Paribas Fortis disclaimer: http://www.bnpparibasfortis.com/e-mail-disclaimer.html BNP Paribas Fortis privacy policy: http://www.bnpparibasfortis.com/privacy-policy.html == == BNP Paribas Fortis disclaimer: http://www.bnpparibasfortis.com/e-mail-disclaimer.html BNP Paribas Fortis privacy policy: http://www.bnpparibasfortis.com/privacy-policy.html == !DSPAM:5294c4c934261573512824!
[vchkpw] Re: [SPAM] [suggestion] vdelivermail environment changes
On 08/21/2013 05:58 AM, Laurent Bercot wrote: Hello, I am installing vpopmail together with dovecot. Mail must be delivered to /home/vpopmail/domains/domain/user/Maildir, not by vdelivermail itself, but by dovecot-lda (to keep index files updated, among other things). So, I write a /home/vpopmail/domains/domain/user/.qmail file, containing simply | preline -f dovecot-lda as the dovecot instructions say. But it does not work: mail gets delivered to /home/vpopmail/domains/domain/Maildir - which is definitely not what I want if I have more than one user. :) I have investigated and found the source of the problem: when dovecot-lda is run, the virtual user's home directory, contained in the HOME environment variable, is not /home/vpopmail/domains/domain/user as it should be. It is still /home/vpopmail/domains/domain, the value it has when vdelivermail is executed. It makes sense to have HOME=/home/vpopmail/domains/domain when executing vdelivermail, because that's the correct home for the domain-user@domain virtual user from qmail-local's point of view. However, when vdelivermail processes a dot-qmail file itself in /home/vpopmail/domains/domain/user, it knows what the right home for user@domain is, and should adjust HOME accordingly before running other programs in the qmail-command fashion. I am currently modifying HOME myself before executing into dovecot-lda, in the .qmail file, and it's working perfectly. However, it would be cleaner if vdelivermail did this itself. It would also be a lot cleaner if vdelivermail hid the domain-user thing under the rug: once qmail-send has been fooled and control has been given to vdelivermail, the virtualdomains hack is not necessary anymore, and is only confusing to software run in further .qmail files. For instance, a qreceipt instruction in a /home/vpopmail/domains/domain/user/.qmail file currently has to be: | qreceipt $EXT@$HOST But it really should be | qreceipt $USER@$HOST like with system users. Also, specific workarounds have to be enabled to make ezmlm lists work under vpopmail; if vdelivermail was putting the right environment variables back, ezmlm would work out of the box. Please consider this change - along with a new, vpopmail-specific environment variable so vpopmail-aware applications still know that the address is virtual and really handled by vpopmail. Developer bait: with this change, vdelivermail wouldn't have to perform MDA duties itself anymore. If it found a user in the vpasswd database, it could just hand the delivery to qmail-local. :) Thank you, Anything further on this? I'm going to be looking at integrating dovecot-lda in QmailToaster, and would consider making these changes. I need to examine the situation in more detail before committing to this though. FWIW, I've already modified the vpopmail QMT package to: .) build as a non-root user .) create a vpopmail-devel package with includes and libs .) put /include and /lib in their typical locations FWIW2, I'm toying with the idea of making the vpopmail QMT package LSB compliant (which very few packages actually are). Thanks. -- -Eric 'shubes' !DSPAM:5294c4e734262887015494!
Re: [vchkpw] Re: Troubleshooting vdelivermail
Hi everyone, I just want to add a comment here. If you want to use it globally for the domain then I use the .qmail-default otherwise single user is .qmail-username. Just my 2 cents. -- Remo Mattei November 26, 2013 at 7:57:29, Eric Shubert (e...@shubes.net) ha scritto: I'm curious to know how you made out on this, Bob. On 07/29/2013 09:21 AM, Robert A Wooldridge wrote: I am having trouble with my qmail/vpopmail systems. The default dot-qmail file contains: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox What's this file's name specifically? It should be: /home/vpopmail/domains/domain/.qmail-default But mail does not get delivered. It just disappears. When I look in the qmail-smtpd log the smtp session appears correctly. When I look in the qmail-send log, it notes a successfully delivery. But nothing is in the user's Maildir/new or Maildir/cur. When I create an explicit dot-qmail file for the user such as: /home/vpopmail/domains/test.domain.com/some.user/Maildir/ This works correctly. But that means I have to creat dot-qmail files for each and every user. Can someone suggest a solution or a reason why the default dot-qmail file does not work? Or a way to troubleshoot vdelivermail? Check permissions? Thanks! -- Bob W. -- -Eric 'shubes' !DSPAM:5294c51b34261786968100!
Re: [vchkpw] Re: Troubleshooting vdelivermail
Chère Madame, Cher Monsieur, Nous avons bien reçu votre e-mail et nous vous en remercions. Nos collaborateurs le traiteront le plus rapidement possible. Attention : ceci est une réponse automatique. Merci de ne pas y répondre. Veuillez agréer nos salutations distinguées. BNP Paribas Fortis SA T : +32(0)2 762 20 00 Montagne du Parc 3, 1QA5E, 1000 Bruxelles | www.bnpparibasfortis.be - Original Message - From: Remo Mattei r...@italy1.com Sent: Tuesday, November 26, 2013 7:58:19 AM GMT-08:00 Subject: Re: [vchkpw] Re: Troubleshooting vdelivermail Hi everyone, I just want to add a comment here. If you want to use it globally for the domain then I use the .qmail-default otherwise single user is .qmail-username. Just my 2 cents. -- Remo Mattei November 26, 2013 at 7:57:29, Eric Shubert (e...@shubes.net) ha scritto: I'm curious to know how you made out on this, Bob. On 07/29/2013 09:21 AM, Robert A Wooldridge wrote: I am having trouble with my qmail/vpopmail systems. The default dot-qmail file contains: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox What's this file's name specifically? It should be: /home/vpopmail/domains/domain/.qmail-default But mail does not get delivered. It just disappears. When I look in the qmail-smtpd log the smtp session appears correctly. When I look in the qmail-send log, it notes a successfully delivery. But nothing is in the user's Maildir/new or Maildir/cur. When I create an explicit dot-qmail file for the user such as: /home/vpopmail/domains/test.domain.com/some.user/Maildir/ This works correctly. But that means I have to creat dot-qmail files for each and every user. Can someone suggest a solution or a reason why the default dot-qmail file does not work? Or a way to troubleshoot vdelivermail? Check permissions? Thanks! -- Bob W. -- -Eric 'shubes' == BNP Paribas Fortis disclaimer: http://www.bnpparibasfortis.com/e-mail-disclaimer.html BNP Paribas Fortis privacy policy: http://www.bnpparibasfortis.com/privacy-policy.html == !DSPAM:5294c6b534261798255609!
[vchkpw] Re: Troubleshooting vdelivermail
Hey Remo. On 11/26/2013 08:58 AM, Remo Mattei wrote: I just want to add a comment here. If you want to use it globally for the domain then I use the .qmail-default otherwise single user is .qmail-username. Or (simply) a file named .qmail in the user's directory, next door to the Maildir/. -- -Eric 'shubes' !DSPAM:5294cb0334267565711084!
Re: [vchkpw] Re: Troubleshooting vdelivermail
Chère Madame, Cher Monsieur, Nous avons bien reçu votre e-mail et nous vous en remercions. Nos collaborateurs le traiteront le plus rapidement possible. Attention : ceci est une réponse automatique. Merci de ne pas y répondre. Veuillez agréer nos salutations distinguées. BNP Paribas Fortis SA T : +32(0)2 762 20 00 Montagne du Parc 3, 1QA5E, 1000 Bruxelles | www.bnpparibasfortis.be - Original Message - From: Eric Shubert e...@shubes.net Sent: Tuesday, November 26, 2013 9:23:22 AM GMT-07:00 Subject: [vchkpw] Re: Troubleshooting vdelivermail Hey Remo. On 11/26/2013 08:58 AM, Remo Mattei wrote: I just want to add a comment here. If you want to use it globally for the domain then I use the .qmail-default otherwise single user is .qmail-username. Or (simply) a file named .qmail in the user's directory, next door to the Maildir/. -- -Eric 'shubes' == BNP Paribas Fortis disclaimer: http://www.bnpparibasfortis.com/e-mail-disclaimer.html BNP Paribas Fortis privacy policy: http://www.bnpparibasfortis.com/privacy-policy.html == !DSPAM:5294cc1c34265351120316!
Re: [vchkpw] Re: Troubleshooting vdelivermail
that will work as well. -- Remo Mattei November 26, 2013 at 8:32:11, Eric Shubert (e...@shubes.net) ha scritto: Hey Remo. On 11/26/2013 08:58 AM, Remo Mattei wrote: I just want to add a comment here. If you want to use it globally for the domain then I use the .qmail-default otherwise single user is .qmail-username. Or (simply) a file named .qmail in the user's directory, next door to the Maildir/. -- -Eric 'shubes' !DSPAM:5294cd1434267076914464!
Re: [vchkpw] Re: [SPAM] [suggestion] vdelivermail environment changes
Anything further on this? Hello Eric, Since I didn't get any answer from vpopmail developers, I created my own solution: a wrapper, vsanitize, which you use in command invocation in .qmail file, i.e. instead of writing | foobar args you invoke | vsanitize foobar args and foobar will be called with the environment cleaned up from the virtualdomains hack. Caveat: qmail-command lines are interpreted by /bin/sh, so be careful with environment variables: | qreceipt $EXT@HOST should be rewritten as | exec vsanitize sh -c 'exec qreceipt $USER@$HOST' (of course, it's easier to use import from the execline package). Software that automatically creates .qmail files, like qconfirm, has to be configured to prefix qmail-command invocations with vsanitize. Most .qmail-aware software has options for this. Source: http://skarnet.org/software/vsanitize.c It depends on skalibs: http://skarnet.org/software/skalibs/ Compile with: gcc -O2 -o vsanitize -Iyour skalibs include dir -L your skalibs library dir vsanitize.c -lstddjb Enjoy. FWIW2, I'm toying with the idea of making the vpopmail QMT package LSB compliant (which very few packages actually are). LSB is a very poor standard. Don't waste your time. -- Laurent !DSPAM:5294e91934268516851760!