RE: [vchkpw] Vpopbull tip needed
> well, make sure if you have mime headers that you have boundaries and such... Brilliant! I didn't do it quite that way but now that I understand what vpopbull wants, it was a complete success. > I would personally use Russell Nelson's qmail-popbull for > such a thing myself... I'll check it out, thanks! > It's a header, just like any other email's Subject: header > (hint, view the source of this message when you get it) Makes sense now that I realize the correct usage. Thanks for the quick help. Saved me some time and I got the e-mail out by my 5pm deadline. I was almost going to script something which would have blown my deadline when the Right tool was right under my nose! Christian
Re: [vchkpw] Vpopbull tip needed
At 01:55 PM 6/17/2004, Jeremy Kitchen wrote: On Thursday 17 June 2004 02:31 pm, Christian Reeves wrote: > I tried to send a message to a test domain before going full-on with it and > I'm not getting the results I thought I would. > Here is the command I used: > # vpopbull -f -V Try it this way; First line of file: From: Your Name <[EMAIL PROTECTED]> Second line of file: Subject: The Subject of Your Email Message Third line of file: empty line Fourth line of file: empty line Fifth line of file: Dear Coast to Coast Hosting Clients, Sixth line of file: empty line Seventh line of file: Begin actual message Gregory Kuhn
Re: [vchkpw] Vpopbull tip needed
On Thursday 17 June 2004 02:31 pm, Christian Reeves wrote: > I tried to send a message to a test domain before going full-on with it and > I'm not getting the results I thought I would. > Here is the command I used: > # vpopbull -f -V where is a properly formatted email. > What I got was an empty e-mail that when you view the source you see the > contents of the file I specified. > So I though I'd try sending a perl script as and it was interesting > to see that not only showed the contents of the file but didn't show the > commented lines unless I viewed the source of the message. right. > So, I copied a line from an e-mail header in my inbox and stuck it in > like this thinking it might work: > > - > MIME-Version: 1.0 > Content-Type: multipart/alternative; > > Subject: Permanent Errors in email > > hi! > > This is a test message. > -- well, make sure if you have mime headers that you have boundaries and such. It's probably best to generate an email in your mail client, send it to yourself, save it to the server, and then delete what you don't want in it then run vpopbull with that. > Seems like this is the way to do it. My questions: > - Anyone see this as incorrect or have a better way? I would personally use Russell Nelson's qmail-popbull for such a thing myself, but this way should work fine too. > - How do I specify the "Subject:" of the message? It's a header, just like any other email's Subject: header (hint, view the source of this message when you get it) > - Can I send html mail with vpopbull? (exec's have a cute little template > for our user meetings (yawn)). yup. As stated before I would suggest doing this in your mail client, sending it to yourself, and trimming up the copy you received. I wouldn't use outlook or outlook express for this purpose. Use a REAL mail client, like mozilla or something. -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
[vchkpw] Vpopbull tip needed
I tried to send a message to a test domain before going full-on with it and I'm not getting the results I thought I would. Here is the command I used: # vpopbull -f -V What I got was an empty e-mail that when you view the source you see the contents of the file I specified. So I though I'd try sending a perl script as and it was interesting to see that not only showed the contents of the file but didn't show the commented lines unless I viewed the source of the message. So, I copied a line from an e-mail header in my inbox and stuck it in like this thinking it might work: - MIME-Version: 1.0 Content-Type: multipart/alternative; Subject: Permanent Errors in email hi! This is a test message. -- Seems like this is the way to do it. My questions: - Anyone see this as incorrect or have a better way? - How do I specify the "Subject:" of the message? - Can I send html mail with vpopbull? (exec's have a cute little template for our user meetings (yawn)). Im using: vpopmail-5.4.3 courier-imap-1.7.3 Christian
Re: [vchkpw] vpopbull
söndagen den 14 mars 2004 20.31 skrev Tom Collins: > On Mar 14, 2004, at 11:03 AM, Oden Eriksson wrote: > > It appears vpopbull has the same bug as vdominfo pre 5.4.3. > > I saw that as well. I plan to add centralized functions to vpopmail.c > for opening and reading the users/assign file. At some point, it can > be updated to read users/cdb instead for performance. > > Any of the vpopmail binaries that currently parse that file will be > updated to the new code. Very wise and very cool! Thank you very much Tom.
Re: [vchkpw] vpopbull
On Mar 14, 2004, at 11:03 AM, Oden Eriksson wrote: It appears vpopbull has the same bug as vdominfo pre 5.4.3. I saw that as well. I plan to add centralized functions to vpopmail.c for opening and reading the users/assign file. At some point, it can be updated to read users/cdb instead for performance. Any of the vpopmail binaries that currently parse that file will be updated to the new code. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
[vchkpw] vpopbull
Hi. It appears vpopbull has the same bug as vdominfo pre 5.4.3. # cat /var/qmail/users/assign =uucp:uucp:10:14:/var/spool/uucp::: +uucp-:uucp:10:14:/var/spool/uucp:-:: =oden:oden:1000:1000:/home/oden/::: +oden-:oden:1000:1000:/home/oden/:-:: +:alias:800:800:/var/qmail/alias:-:: =alias:alias:800:800:/var/qmail/alias::: +alias-:alias:800:800:/var/qmail/alias:-:: =vpopmail:vpopmail:808:808:/home/vpopmail::: +vpopmail-:vpopmail:808:808:/home/vpopmail:-:: [...] # ./vpopbull -v -V -n -f message version: 5.4.3 skipping uuc (alias of uucp) skipping ode (alias of oden) skipping (alias of alias) skipping alia (alias of alias) skipping vpopmai (alias of vpopmail) [...]
Re: [vchkpw] vpopbull broke in 5.2.2?
On Tuesday, December 9, 2003, at 01:41 PM, Charles Sprickman wrote: Is vpopbull broke in 5.2.2? When I run it, it simply silently exits, even when using -V (verbose). I noticed the same thing in 5.3.30. Even running verbose, it's silent. But in my case, it does copy the bulletin... Really? When I tested 5.3.30, it printed each email address twice. Did you use -V (verbose) or -v (version)? I've just made some updates in CVS to fix the double printing, and to fix a problem when using the -h or -s (hard/soft link) options and specifying a filename that starts with '/'. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] vpopbull broke in 5.2.2?
On Mon, 8 Dec 2003, Joe Boyce wrote: > Hello, > > Is vpopbull broke in 5.2.2? When I run it, it simply silently exits, > even when using -V (verbose). I noticed the same thing in 5.3.30. Even running verbose, it's silent. But in my case, it does copy the bulletin... Charles > I'm running it like this: > > ./vpopbull -V -c -f /path/to/file domain.com > > Running version 5.2.2 with MySQL enabled. > > Regards, > > Joe Boyce > --- > InterStar, Inc. - Shasta.com Internet > Phone: +1 (530) 224-6866 x105 > Email: [EMAIL PROTECTED] > > >
[vchkpw] vpopbull broke in 5.2.2?
Hello, Is vpopbull broke in 5.2.2? When I run it, it simply silently exits, even when using -V (verbose). I'm running it like this: ./vpopbull -V -c -f /path/to/file domain.com Running version 5.2.2 with MySQL enabled. Regards, Joe Boyce --- InterStar, Inc. - Shasta.com Internet Phone: +1 (530) 224-6866 x105 Email: [EMAIL PROTECTED]
Re: [vchkpw] vpopbull creates messages with root permissions
> I just had a wonderful experience finding out that if you run > vpopbull as root in 5.3.26 (maybe earlier versions to) that it > drops the message into the users Maildir with root as the uid > and gid. Yep that bug is fixed in 5.3.27 http://sourceforge.net/projects/vpopmail Michael.
[vchkpw] vpopbull creates messages with root permissions
Hi, I just had a wonderful experience finding out that if you run vpopbull as root in 5.3.26 (maybe earlier versions to) that it drops the message into the users Maildir with root as the uid and gid. Didn't this cause me some fun with users calling up saying that they were getting errors. A recursive chown fixed the problem and su'ing to the vpopmail user and running vpopbull seems to deliver with the right permissions, but I would expect the it to autmatically assign the right permissions or switch to the vpopmail user when run. Maybe this is a feature request more than anything, but I figured I would send this to the list so that someone else doesn't get caught out the same way. Shane
Re: [vchkpw] vpopbull
On Saturday, August 30, 2003, at 10:15 AM, Andreas Wiesmann wrote: in vpopmail 5.3.24 vpopbull needs the -f email_file parameter even you just want to generate a list of the mail adresses of a domain. Its not really a bug and it is easy to work around but it makes no sense, so maybe it is possible to change to the earlier behavior that you can run vpopbull -n -V domain to get a list of all email adresses of domain. This was a simple fix, and in searching for Andreas' original message, I came across a posting by Jorge Valdes from last April with the fix. --- vpopmail-5.3.26/vpopbull.c Thu Aug 21 20:57:29 2003 +++ vpopmail-5.3.27/vpopbull.c Wed Sep 3 11:38:20 2003 @@ -98,7 +98,7 @@ vexit(-1); } } - } else { + } else if (! DoNothing) { /* require -f [email_file] */ printf("Error: email_file not specified\n"); usage(); This will be in vpopmail 5.3.27. -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
[vchkpw] vpopbull
Hi, in vpopmail 5.3.24 vpopbull needs the -f email_file parameter even you just want to generate a list of the mail adresses of a domain. Its not really a bug and it is easy to work around but it makes no sense, so maybe it is possible to change to the earlier behavior that you can run vpopbull -n -V domain to get a list of all email adresses of domain. cheers andrej
RE: [vchkpw] vpopbull question
Ron, This was 5.2.0 or 5.2.1 I forget which one I was running at the time (about 2 months ago). I have since upgraded to 5.3.20, and have only sent each iteration of vpopbull to only one domain at a time. I had enough egg on my face (and an increased level of tech calls, those tech support techs can be such whinners when you create more call volume for them ;) ) to not dare try it any other way since that time. Let me know if you need to know specifically which version as I have to install these scsi drives and scsi card in another machine to know for sure. (Pulled them to repurpose the old mail server and didn't dare lose the data ;). Tom Walsh Network Administrator http://www.ala.net/ ::-Original Message- ::From: Ron Guerin [mailto:[EMAIL PROTECTED] ::Sent: Monday, August 18, 2003 2:08 PM ::To: Tom Walsh ::Cc: vpopmail ::Subject: RE: [vchkpw] vpopbull question :: :: ::On Mon, 2003-08-18 at 10:55, Tom Walsh wrote: :: ::> Also any aliased domains will have duplicate emails ::delivered Learned ::> that one the hard way... :: ::What version of vpopmail? I'm just curious if that behavior remains in ::the development version. That sounds like a "bug". :: ::- Ron :: ::
RE: [vchkpw] vpopbull question
On Mon, 2003-08-18 at 10:55, Tom Walsh wrote: > Also any aliased domains will have duplicate emails delivered Learned > that one the hard way... What version of vpopmail? I'm just curious if that behavior remains in the development version. That sounds like a "bug". - Ron
RE: [vchkpw] vpopbull question
No, there can't be a switch to do that because vpopbull doesn't do any processing on the input, it only copies it into place. It doesn't take much to create a properly formatted email message. > -Original Message- > From: Evren Yurtesen [mailto:[EMAIL PROTECTED] > Sent: Monday, August 18, 2003 6:06 AM > To: Tom Walsh > Cc: [EMAIL PROTECTED] > Subject: RE: [vchkpw] vpopbull question > > > thats nice but there could be also a nice switch to just set the > date :) or insert the date headers... > Thanks, > Evren > > > On Mon, 18 Aug 2003, Tom Walsh wrote: > > > vpopbull expects a fully rfc compliant email message as its input. > > > > Make sure you have the email headers in place and correctly formatted. > > > > Also any aliased domains will have duplicate emails > delivered Learned > > that one the hard way... > > > > Tom Walsh > > Network Administrator > > http://www.ala.net/ > > > > ::-Original Message- > > ::From: Evren Yurtesen [mailto:[EMAIL PROTECTED] > > ::Sent: Monday, August 18, 2003 6:57 AM > > ::To: [EMAIL PROTECTED] > > ::Subject: [vchkpw] vpopbull question > > :: > > :: > > ::I have a funny question, unless I set the date in the email > file that I > > ::provide to vpopbull, the email is dated that its sent at about 1970 :) > > ::or the mail client assumes so... > > ::Is there any way to set the date automatically? > > :: > > ::Evren > > :: > > :: > > > > > > > >
RE: [vchkpw] vpopbull question
thats nice but there could be also a nice switch to just set the date :) or insert the date headers... Thanks, Evren On Mon, 18 Aug 2003, Tom Walsh wrote: > vpopbull expects a fully rfc compliant email message as its input. > > Make sure you have the email headers in place and correctly formatted. > > Also any aliased domains will have duplicate emails delivered Learned > that one the hard way... > > Tom Walsh > Network Administrator > http://www.ala.net/ > > ::-Original Message- > ::From: Evren Yurtesen [mailto:[EMAIL PROTECTED] > ::Sent: Monday, August 18, 2003 6:57 AM > ::To: [EMAIL PROTECTED] > ::Subject: [vchkpw] vpopbull question > :: > :: > ::I have a funny question, unless I set the date in the email file that I > ::provide to vpopbull, the email is dated that its sent at about 1970 :) > ::or the mail client assumes so... > ::Is there any way to set the date automatically? > :: > ::Evren > :: > :: > > >
RE: [vchkpw] vpopbull question
vpopbull expects a fully rfc compliant email message as its input. Make sure you have the email headers in place and correctly formatted. Also any aliased domains will have duplicate emails delivered Learned that one the hard way... Tom Walsh Network Administrator http://www.ala.net/ ::-Original Message- ::From: Evren Yurtesen [mailto:[EMAIL PROTECTED] ::Sent: Monday, August 18, 2003 6:57 AM ::To: [EMAIL PROTECTED] ::Subject: [vchkpw] vpopbull question :: :: ::I have a funny question, unless I set the date in the email file that I ::provide to vpopbull, the email is dated that its sent at about 1970 :) ::or the mail client assumes so... ::Is there any way to set the date automatically? :: ::Evren :: ::
[vchkpw] vpopbull question
I have a funny question, unless I set the date in the email file that I provide to vpopbull, the email is dated that its sent at about 1970 :) or the mail client assumes so... Is there any way to set the date automatically? Evren
[vchkpw] vpopbull WARNING
If you choose to run vpopbull, I highly advise doing "su vpopmail" first. If you run vpopbull as root, it will insert a file owned by root, and this will essentially kill vpopmail (POP3 retrieval) until you can recursively chown the files to the correct owner:group. Just wanted to make others aware of what just befell me. --- Benjamin Tomhave, CISSP Senior Systems Engineer [EMAIL PROTECTED] Sofast Communications www.sofast.net
Re: [vchkpw] Vpopbull Problem
Any idea on how I would begin to narrow that down? There are 2000 mail accounts and since I can't get vpopbull to run through all of them I can't get a very good list. Brendan On Wednesday, June 11, 2003, at 04:04 PM, Dave Richardson - Lists wrote: recent/new user with an illegal character in their name or id? "'"?? Brendan McAlpine wrote: Hey all, I am running Vpopbull version 5.3.16, and I am running into the following problem. I am trying to use vpopbull to send a message to all users in a certain domain. This is my command: vpopbull -f filename -V domainname I hit return, and it starts running through all the accounts. However, once it gets to the middle of the accounts that begin with M it just stops like its done, returning me to a command prompt. I know earlier versions of vpopbull had a bug that did this, but I've used this copy to send messages to all my users in the past. Any ideas? TIA Brendan
Re: [vchkpw] Vpopbull Problem
Brendan McAlpine wrote: Any idea on how I would begin to narrow that down? There are 2000 mail accounts and since I can't get vpopbull to run through all of them I can't get a very good list. man vpopbull: -v Verbose mode. Prints out each email address it is sending to -n Don't actually mail it. Using -v and -n can be used to list out all virtual domain email accounts. Maybe that will help. -- Aj. Systems Administrator / Developer
Re: [vchkpw] Vpopbull Problem
Problem solved. You were dead on. There were a couple of accounts with symbols in their passwords. Once I got rid of those it ran right through. Weird. Thanks Brendan On Wednesday, June 11, 2003, at 04:04 PM, Dave Richardson - Lists wrote: recent/new user with an illegal character in their name or id? "'"?? Brendan McAlpine wrote: Hey all, I am running Vpopbull version 5.3.16, and I am running into the following problem. I am trying to use vpopbull to send a message to all users in a certain domain. This is my command: vpopbull -f filename -V domainname I hit return, and it starts running through all the accounts. However, once it gets to the middle of the accounts that begin with M it just stops like its done, returning me to a command prompt. I know earlier versions of vpopbull had a bug that did this, but I've used this copy to send messages to all my users in the past. Any ideas? TIA Brendan
[vchkpw] Vpopbull Problem
Hey all, I am running Vpopbull version 5.3.16, and I am running into the following problem. I am trying to use vpopbull to send a message to all users in a certain domain. This is my command: vpopbull -f filename -V domainname I hit return, and it starts running through all the accounts. However, once it gets to the middle of the accounts that begin with M it just stops like its done, returning me to a command prompt. I know earlier versions of vpopbull had a bug that did this, but I've used this copy to send messages to all my users in the past. Any ideas? TIA Brendan
[vchkpw] Vpopbull does nothing
Hello, I'm running vpopmail 5.2.1 with MySQL backend. Everything works fine but there is something strange with vpopbull. If I run a command such as: vpopbull -f filename -n -V There is a printout of all the email addresses, like there should be. But when I specify a domain, it exits immediately, without printing any email addresses. Removing the -n doesnt help; the program still exits immediately without sending the emails. I have 394 virtual domains in the MySQL database if that makes a difference. Any ideas? If you need more information, let me know what you need and how to collect it and I will send that info. Thanks :) Andre PS: Configure line is: ./configure --enable-default-domain=personainternet.com --enable-clear-pass wd=y --enable-ip-alias-domains=y --enable-hard-quota --enable-defaultquota=5 000 --enable-mysql=y --enable-mysql-replication=y --enable-incdir=/usr/l ocal/mysql/include/mysql/ --enable-libdir=/usr/local/mysql/lib/mysql/
[vchkpw] vpopbull (again)
I just wanted to add to my last note about -V -n doubling output.. If you don't specify -V, there is no output whatsoever. How about a 'hash' like ftp? Just print a . without a newline for each email address done. I wasn't sure if it was actually doing anything - and on large domains it could look like it's hung up (or, if it WERE to hang, you wouldn't know it). Rick
Re: [vchkpw] Vpopbull format?
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2003-02-14 11:58]: Hi all, A further note on vpopbull. I stated below that the old version is working. Yes it is, but only _in_ the old system. I tried to copy the old binary to the new system and run that file instead. Here it works but only partly. It will display the addresses for the letter "a - d" and not beyond the letter "d" Hence a fix in the new version of vpopbull would be very useful Please let me know what I can do to help debugging the problem. regards Mettavihari > Hi all, > > I think the present version of vpopbull is having a problem > > [vpopmail@mail bin]$ ./vpopbull -v > version: 5.2.1 > > I have a small script which gives me new users. > This does not work after I installed the above version > > below is the script. > > -- > #!/bin/bash > echo "NEW USERS" + `date` > echo "---" > /home/vpopmail/bin/vpopbull -V -n metta.lk > /home/vpopmail/bin/stats/new > sdiff /home/vpopmail/bin/stats/new /home/vpopmail/bin/stats/cur -s > /home/vpopmail/bin/vpopbull -V -n metta.lk > /home/vpopmail/bin/stats/cur > > - > > I do not get any users when I execute the command > /home/vpopmail/bin/vpopbull -V -n metta.lk > > The older version of vpopbull is working OK > and I am using it at present instead of the newer version. > > Perhaps this needs to be looked into > or may have been fixed already. > > regards > Mettavihari > > -- > A saying of the Buddha from http://metta.lk/ > This I say to you all who has assemblied here: Dig up the root of craving like one >in quest of Birana's sweet root. Let not Mara crush you again and again as a flood >(crushes) a reed. > Random Dhammapada Verse 337 -- A saying of the Buddha from http://metta.lk/ To many a refuge fear-stricken men betake themselves - to hills, woods, groves, trees, and shrines. Random Dhammapada Verse 188
Re: [vchkpw] Vpopbull format?
Hi all, I think the present version of vpopbull is having a problem [vpopmail@mail bin]$ ./vpopbull -v version: 5.2.1 I have a small script which gives me new users. This does not work after I installed the above version below is the script. -- #!/bin/bash echo "NEW USERS" + `date` echo "---" /home/vpopmail/bin/vpopbull -V -n metta.lk > /home/vpopmail/bin/stats/new sdiff /home/vpopmail/bin/stats/new /home/vpopmail/bin/stats/cur -s /home/vpopmail/bin/vpopbull -V -n metta.lk > /home/vpopmail/bin/stats/cur - I do not get any users when I execute the command /home/vpopmail/bin/vpopbull -V -n metta.lk The older version of vpopbull is working OK and I am using it at present instead of the newer version. Perhaps this needs to be looked into or may have been fixed already. regards Mettavihari -- A saying of the Buddha from http://metta.lk/ This I say to you all who has assemblied here: Dig up the root of craving like one in quest of Birana's sweet root. Let not Mara crush you again and again as a flood (crushes) a reed. Random Dhammapada Verse 337
Re: [vchkpw] vpopbull
On Tuesday, February 11, 2003, at 08:31 AM, Jesse Guardiani wrote: you're right, I should have been more specific. Sorry. Here's a reproduction: [11:25]jesse@cvsup:[/usr/local/vpopmail/bin]# ./vpopbull ../bulletins/imail-migration.txt mailtest.wingnet.net [11:26]jesse@cvsup:[/usr/local/vpopmail/bin]# vpopbull thinks my path: "../bulletins/imail-migration.txt" is a domain name, or so I assume. In this case, I forgot the -f option. Shouldn't vpopbull do some checking before it blindly accepts domain names? Yes. Also, shouldn't vpopbull error out when someone feeds it an empty message? Yes. These two "bugs" make me very paranoid when I'm sending out bulletins. I'm never sure they actually sent properly until I check a mailbox on the domain I was targeting. And rightfully so. I'll have a look today. Regards, Bill Shupp
Re: [vchkpw] vpopbull
On Tuesday 11 February 2003 11:17, Bill Shupp wrote: > On Monday, February 10, 2003, at 02:58 PM, Jesse Guardiani wrote: > > Greetings list, > > > > I noticed that the vpopbull program (current production release > > version) > > doesn't toss an error if you give it bad parameters. Is this fixed in > > the > > vpopmail development version? > > I can't reproduce this. Please give an example, or be more specific. you're right, I should have been more specific. Sorry. Here's a reproduction: [11:25]jesse@cvsup:[/usr/local/vpopmail/bin]# ./vpopbull ../bulletins/imail-migration.txt mailtest.wingnet.net [11:26]jesse@cvsup:[/usr/local/vpopmail/bin]# vpopbull thinks my path: "../bulletins/imail-migration.txt" is a domain name, or so I assume. In this case, I forgot the -f option. Shouldn't vpopbull do some checking before it blindly accepts domain names? Also, shouldn't vpopbull error out when someone feeds it an empty message? These two "bugs" make me very paranoid when I'm sending out bulletins. I'm never sure they actually sent properly until I check a mailbox on the domain I was targeting. Thanks. > > Regards, > > Bill Shupp -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info.
Re: [vchkpw] vpopbull
On Monday, February 10, 2003, at 02:58 PM, Jesse Guardiani wrote: Greetings list, I noticed that the vpopbull program (current production release version) doesn't toss an error if you give it bad parameters. Is this fixed in the vpopmail development version? I can't reproduce this. Please give an example, or be more specific. Regards, Bill Shupp
[vchkpw] vpopbull
Greetings list, I noticed that the vpopbull program (current production release version) doesn't toss an error if you give it bad parameters. Is this fixed in the vpopmail development version? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info.
[vchkpw] Vpopbull message format?
Hi guys I checked out vpopbull and I was not able to have mail being sent. I have done the following: Vpopbull -f filename domainname.com I get a message which does not have anything in it. In the filename I just put "hi this is a test" in one line. Thanks for your suggestions. REMO
Re: [vchkpw] Vpopbull message format?
* Remo Mattei <[EMAIL PROTECTED]> [030111 18:36]: > Hi guys I checked out vpopbull and I was not able to have mail being sent. I > have done the following: > Vpopbull -f filename domainname.com > I get a message which does not have anything in it. In the filename I just > put "hi this is a test" in one line. > Thanks for your suggestions. The file needs to be an email message, with headers and all man 1 vpopbull http://inter7.com/vpopmail/doc/vpopbull.html -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/ msg10621/pgp0.pgp Description: PGP signature
Re: [vchkpw] vpopbull email_file syntax
Like this: Date: Fri, 13 Dec 2002 12:00:00 -0400 From: You <[EMAIL PROTECTED]> Subject: Please reply! Body of your message That's all there is to it. Brendan On Thursday, December 12, 2002, at 11:28 PM, Daniel Oakes wrote: Just wondering what the syntax is for the email_file. I've sent a couple of bulletins to my users, but I forgot about the headers etc, subject line. What should the file look like at the top, i.e. FROM: Subject: Content blah blah?? I couldn't find anything anywhere about the syntax.
[vchkpw] vpopbull email_file syntax
Just wondering what the syntax is for the email_file. I've sent a couple of bulletins to my users, but I forgot about the headers etc, subject line. What should the file look like at the top, i.e. FROM: Subject: Content blah blah?? I couldn't find anything anywhere about the syntax.
[vchkpw] vpopbull question(s)
Before I screw this up and send out emails to everyone on my server, I wanted to run this by everyone on the list. I have two questions. First of all, I want to send a bulletin to all mailboxes on the system except for those in my "do not contact" list. Now, I know I need to run the -e flag to exclude email addresses, but should the addresses in that file be in the form [EMAIL PROTECTED] or just username? I only have one virtual domain on the server. I figure having the full [EMAIL PROTECTED] can't hurt, but I just want to be sure I am doing this right before I send out a blanket email. Also, what format should this file be in? Should each entry have its own line, or should they be tab or comma separated? Secondly, reading the vpopbull man page, it seems to indicate that you can use vpopbull to get a listing of all the mailboxes on the system. If I run vpopbull as follows, will this give me a list of all mailboxes WITHOUT sending them mail: vpopbull -f filename -v -n Thanks for the help. Brendan
[vchkpw] Vpopbull
Hi all, I think "vpopbull.c" line 162 should be: if ( Verbose == 1 && DoNothing == 1) { If you don't add the check for DoNothing == 1 when verbose = 1 and donothing = 0 you get the list of users printed 2 times Regards Edoardo Serra WeBRainstorm - IT Consulting
Re: [vchkpw] vpopbull Question
Don´t know about the symlink. About the vpopbull -vn you shoud use "./vpopbull -v -n mydomain.net" This how it works for me. Salu2 Andres At 09:11 24/10/2002 -0500, Michael Funk wrote: Greetings, I'm trying to use vpopbull to broadcast a message to all my users. Drive space is critical and I'd like to use the -h flag to softlink the file containing the message, but it looks hoaky. Does it work??? Also, whenever I do "./vpopbull -vn mydomain.net" from the /home/vpopmail/bin dir I only get a version number returned to me Shouldn't I be getting a verbose list with all the user email addresses instead? Is this the right way to do this, or should I be using/doing something else... Here's a copy of the man page for vpopbull for your reference convience! ; -) NAME vpopbull - post a message to virtual domain users SYNOPSYS vpopbull [-f filename ] [-e exclude email addresses file] [-v] [-n] [-c] [-h] [-s] [virtual domain ...] DESCRIPTION Post a message to virtual domain users OPTIONS [-f filename] File containing the email message to be posted. [-e exclude email addresses file] File containing a list of email addresses to exclude from posting. [-v] Verbose mode. Prints out each email address it is sending to. [-n] Don't actuall mail it. using -v and -n can be used to list out all virtual domain email accounts. [-c] Default, copy message to users directory. [-h] Make a hard link from email file to virtual users directory. Email file must be on the same physical device as the virtual users directories. This will save disk space. [-s] Make a soft link from the email file to the virutal users directory. This will save on disk space but will not remove the file when all users read it. If the original file is deleted, users will not be able to read the message. [virtual domain ... ] List of domains to send the message to. If this is not supplied then the message is sent to all virtual domains.
[vchkpw] vpopbull Question
Greetings, I'm trying to use vpopbull to broadcast a message to all my users. Drive space is critical and I'd like to use the -h flag to softlink the file containing the message, but it looks hoaky. Does it work??? Also, whenever I do "./vpopbull -vn mydomain.net" from the /home/vpopmail/bin dir I only get a version number returned to me Shouldn't I be getting a verbose list with all the user email addresses instead? Is this the right way to do this, or should I be using/doing something else... Here's a copy of the man page for vpopbull for your reference convience! ;-) NAME vpopbull - post a message to virtual domain users SYNOPSYS vpopbull [-f filename ] [-e exclude email addresses file] [-v] [-n] [-c] [-h] [-s] [virtual domain ...] DESCRIPTION Post a message to virtual domain users OPTIONS [-f filename] File containing the email message to be posted. [-e exclude email addresses file] File containing a list of email addresses to exclude from posting. [-v] Verbose mode. Prints out each email address it is sending to. [-n] Don't actuall mail it. using -v and -n can be used to list out all virtual domain email accounts. [-c] Default, copy message to users directory. [-h] Make a hard link from email file to virtual users directory. Email file must be on the same physical device as the virtual users directories. This will save disk space. [-s] Make a soft link from the email file to the virutal users directory. This will save on disk space but will not remove the file when all users read it. If the original file is deleted, users will not be able to read the message. [virtual domain ... ] List of domains to send the message to. If this is not supplied then the message is sent to all virtual domains.
[vchkpw] Vpopbull problem -- Patched
Excuse me, it wasn't error handling correctly # diff vpoppatched/vpopbull.c vpopmail-5.2.1/vpopbull.c 186d185 < struct stat mystatbuf; 188,196d186 < /* check if the directory exists and create if needed */ < < if ( stat(pwent->pw_dir, &mystatbuf ) == -1 ) { < if ( vmake_maildir(domain, pwent->pw_dir )!= VA_SUCCESS ) { < printf("Auto re-creation of maildir failed. vpopmail (#5.9.9)\n"); < return(-1); < } < } < I Also suggest to add a error handling when using the verbose parameter, because it prints out an email address even if the delivery wasn't succesful I'm working on it.. What do u think about it ?? Edoardo Serra WeBRainstorm - IT Consulting
[vchkpw] Vpopbull problem -- Patched
At 09.39 17/10/2002 -0500, Ken Jones wrote: Feel free to submit a patch for vpopbull. Ken Jones Ok, I did and tested it: Here's the diff, It implements the auto create maildir in vpopbull # diff vpoppatched/vpopbull.c vpopmail-5.2.1/vpopbull.c 186d185 < struct stat mystatbuf; 188,196d186 < /* check if the directory exists and create if needed */ < < if ( stat(pwent->pw_dir, &mystatbuf ) == -1 ) { < if ( vmake_maildir(domain, pwent->pw_dir )!= VA_SUCCESS ) { < printf("Auto re-creation of maildir failed. vpopmail (#5.9.9)\n"); < vexit(-1); < } < } < What do u think about it ?? Edoardo Serra WeBRainstorm - IT Consulting
Re: [vchkpw] Vpopbull problem
At 09.21 14/10/2002 -0500, Ken Jones wrote: I think vpopbull uses the vauth_getall() function. This function should return an entry for every user in the system. For cdb it uses the vpasswd.cdb file for mysql it uses the entries in the tables. For each user returned, it will use the directory entry for their Maildir location. If the Maildir doesn't yet exist it won't be able to write the file. vpopbull doesn't automatically create Maildir directories for users that have not had a directory assigned to them. The problem is that the user has a directory assigned to it, because une of the features of vpopmail is the auto dir creation if u add a record in mysql, so I think this vpopmail feature should be implemented into vpopbull too No ? Regards Ken Jones On Monday 14 October 2002 03:28 am, Edoardo Serra wrote: > Hi, > I'm using vpopmail 5.2.1 with mysql authentication, to add a user to a > domain I simply add a record to the DB > and vpopmail will create the user directory as soon as they login or they > receive a message. > > If I use vpopbull to send a mail to every user of the domain, the users who > have never logged in or > nevere received a mail won't receive the vpopbull mail, probably because > the don't have yet their > own Maildir > > Am I right or I have to look for the problem somewhere else ? > > Regards > > Edoardo Serra
Re: [vchkpw] Vpopbull problem
Feel free to submit a patch for vpopbull. Ken Jones On Thursday 17 October 2002 09:32 am, Edoardo Serra wrote: > At 09.21 14/10/2002 -0500, Ken Jones wrote: > >I think vpopbull uses the vauth_getall() function. > >This function should return an entry for every user > >in the system. For cdb it uses the vpasswd.cdb file > >for mysql it uses the entries in the tables. For each > >user returned, it will use the directory entry for their > >Maildir location. If the Maildir doesn't yet exist it won't > >be able to write the file. vpopbull doesn't automatically > >create Maildir directories for users that have not had > >a directory assigned to them. > > The problem is that the user has a directory assigned to it, because une of > the features of > vpopmail is the auto dir creation if u add a record in mysql, so I think > this vpopmail feature should be > implemented into vpopbull too > > No ? > > Regards > > >Ken Jones > > > >On Monday 14 October 2002 03:28 am, Edoardo Serra wrote: > > > Hi, > > > I'm using vpopmail 5.2.1 with mysql authentication, to add a user to a > > > domain I simply add a record to the DB > > > and vpopmail will create the user directory as soon as they login or > > > they receive a message. > > > > > > If I use vpopbull to send a mail to every user of the domain, the users > > > who have never logged in or > > > nevere received a mail won't receive the vpopbull mail, probably > > > because the don't have yet their > > > own Maildir > > > > > > Am I right or I have to look for the problem somewhere else ? > > > > > > Regards > > > > > > Edoardo Serra
RE: [vchkpw] Vpopbull problem
There were a lot of bug fixes made to the vpopbull program in the devel version 5.3.6 This was also "backported" to the stable version 5.2.1 You can read more about this at http://www.inter7.com/vpopmail/ChangeLog So it is my recommendation that you try either the latest "devel" version 5.3.8 or use the latest "stable" version 5.2.1 Hope that helps! Michael. > -Original Message- > From: Brendan McAlpine [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 16 October 2002 8:46 AM > To: Michael Bowe > Subject: Re: [vchkpw] Vpopbull problem > > > I think its 5.3.5. > > Is there anyway I can troubleshoot this without sending out test > messages to all my mailboxes? > > I would prefer to work behind the scenes until it is fixed so that my > users don't get 25 copies of the same test message. > > Brendan > On Tuesday, October 15, 2002, at 05:51 PM, Michael Bowe wrote: > > > What version of vpopmail do you have installed? > > Michael. > > > > - Original Message - > > From: "Brendan McAlpine" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, October 16, 2002 1:40 AM > > Subject: [vchkpw] Vpopbull problem > > > > > >> Hey all, > >> > >> I am having a problem using vpopbull on my server. > Basically, vpopbull > >> starts firing off emails to everyone of the users in my > domain, but > >> then > >> after a couple hundred it just stops. There are about > 6000 mailboxes > >> within this domain. > >> > >> I'm not sure even where to start looking. > >> > >> TIA > >> > >> > >> Brendan > >> > >> > >> > > > > > > > >
Re: [vchkpw] Vpopbull problem
What version of vpopmail do you have installed? Michael. - Original Message - From: "Brendan McAlpine" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 16, 2002 1:40 AM Subject: [vchkpw] Vpopbull problem > Hey all, > > I am having a problem using vpopbull on my server. Basically, vpopbull > starts firing off emails to everyone of the users in my domain, but then > after a couple hundred it just stops. There are about 6000 mailboxes > within this domain. > > I'm not sure even where to start looking. > > TIA > > > Brendan > > >
Re: [vchkpw] Vpopbull problem
Hmm.. I wonder if it's not closing file descriptors. On Tuesday 15 October 2002 10:40 am, Brendan McAlpine wrote: > Hey all, > > I am having a problem using vpopbull on my server. Basically, vpopbull > starts firing off emails to everyone of the users in my domain, but then > after a couple hundred it just stops. There are about 6000 mailboxes > within this domain. > > I'm not sure even where to start looking. > > TIA > > > Brendan
[vchkpw] Vpopbull problem
Hey all, I am having a problem using vpopbull on my server. Basically, vpopbull starts firing off emails to everyone of the users in my domain, but then after a couple hundred it just stops. There are about 6000 mailboxes within this domain. I'm not sure even where to start looking. TIA Brendan
Re: [vchkpw] Vpopbull problem
I think vpopbull uses the vauth_getall() function. This function should return an entry for every user in the system. For cdb it uses the vpasswd.cdb file for mysql it uses the entries in the tables. For each user returned, it will use the directory entry for their Maildir location. If the Maildir doesn't yet exist it won't be able to write the file. vpopbull doesn't automatically create Maildir directories for users that have not had a directory assigned to them. Ken Jones On Monday 14 October 2002 03:28 am, Edoardo Serra wrote: > Hi, > I'm using vpopmail 5.2.1 with mysql authentication, to add a user to a > domain I simply add a record to the DB > and vpopmail will create the user directory as soon as they login or they > receive a message. > > If I use vpopbull to send a mail to every user of the domain, the users who > have never logged in or > nevere received a mail won't receive the vpopbull mail, probably because > the don't have yet their > own Maildir > > Am I right or I have to look for the problem somewhere else ? > > Regards > > Edoardo Serra
[vchkpw] Vpopbull problem
Hi, I'm using vpopmail 5.2.1 with mysql authentication, to add a user to a domain I simply add a record to the DB and vpopmail will create the user directory as soon as they login or they receive a message. If I use vpopbull to send a mail to every user of the domain, the users who have never logged in or nevere received a mail won't receive the vpopbull mail, probably because the don't have yet their own Maildir Am I right or I have to look for the problem somewhere else ? Regards Edoardo Serra
Re: [vchkpw] vpopbull -v -n domain gives all adresses twice
>On Thursday, August 22, 2002, at 05:09 PM, Andreas Wiesmann wrote: > >>Hi, >>I just recognized a probable bug in vpopbull. When I do vpopbull >>-v -n largedomain I get all mail addresses twice. If I do vpopbull >>-v -n smalldomain then everything is fine. Does anybody knows more >>about this? >>The only thing I see is that in largedomain some maildirs are in >>largedomain/0/username instead of largedomain/username as for the >>smalldomain accounts. maybe that is not handled accurately in >>vpopbull? vdominfo largedomain gives correct information, >>especially number of mail accounts. vpopmail 5.2 is used. > >Try grabbing 5.2.1 or 5.3.8. I fixed a bunch of problems in >vpopbull in those versions, and I can't reproduce your problem with >a domain of 200 users. > >NOTE: The -v option is now -V in the versions mentions above. It seems not to be a problem with the program but with some preference file (I tried with the updated programs but vpopbull was not giving any output in version 5.2.1 at all! yes I was using -V :-). But by chance I used vdominfo without arguments and received: domain: domain1 uid:89 gid:89 dir:/mailboxen/vpopmail/domains/domain1 users: 12 domain: domain2 uid:89 gid:89 dir:/mailboxen/vpopmail/domains/domain2 users: 184 domain: domain2 uid:89 gid:89 dir:/mailboxen/vpopmail/domains/domain2 users: 184 I have to say, that I moved this mail domain from one server to another. Now I guess the domain ist registered twice somehow (however the maildirs exist only once). I checked .dir-control and it shows 2 0 3 0 0 0 61 61 61 0 2 2 0 0 0 but that means nothing to me, and also after I studied the source code; i didnt see what I should change. Can I delete this preference file and it is rebuilt correctly or how can I solve my problem? Thanks for your support! Andreas