Re: can't find hosts
the run script for tcpserver was as outlined in the Qmail HOWTO from www.qmail.org. - Original Message - From: "Alex Pennace" <[EMAIL PROTECTED]> To: "Michael Cartmel" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, March 31, 2001 5:32 PM Subject: Re: can't find hosts > On Sat, Mar 31, 2001 at 05:01:39PM +1000, Michael Cartmel wrote: > [qmail-smtpd causing messages to be bounced] > > Yeah, I just fixed it actually after reading that qmail doesn't actually do > > dns lookups. > > Found tcpserver to be the culprit. xinetd makes it run fine. I'll probably > > just leave it at that now... > > I don't suspect that at all. I believe that your tcpserver > configuration caused $RELAYCLIENT to be set to something other than > "", which can cause the problems you were having. Hence my earlier > request for logs and the run script for qmail-smtpd under tcpserver.
Re: can't find hosts
On Sat, Mar 31, 2001 at 05:01:39PM +1000, Michael Cartmel wrote: [qmail-smtpd causing messages to be bounced] > Yeah, I just fixed it actually after reading that qmail doesn't actually do > dns lookups. > Found tcpserver to be the culprit. xinetd makes it run fine. I'll probably > just leave it at that now... I don't suspect that at all. I believe that your tcpserver configuration caused $RELAYCLIENT to be set to something other than "", which can cause the problems you were having. Hence my earlier request for logs and the run script for qmail-smtpd under tcpserver.
Re: Removing from queue
hi, i got a shell script that can do that. if the 1st arg is NULL, it's going to flush the list, if it is a message number ( get it from qmail-qread ), then it is going to delete that message.. here is it. --<> #!/bin/sh cd /var/qmail/queue MID=$1 FLAG=0 /etc/init.d/qmail stop for file in `find . -iname \* | grep "./*/[0-9]"` do FILENAME=`basename $file` if [ -n "$MID" ];then if [ "$MID" != "$FILENAME" ];then continue fi fi if [ -f $file ];then echo "removing $file..." rm $file FLAG=1 fi done if [ $FLAG -ne 1 ];then echo "No message deleted from queue" fi /etc/init.d/qmail start /etc/init.d/qmail status <>-- hope this helps. regards omicron -- ** omicron Mail:[EMAIL PROTECTED] (Sridhar N) www:omicron.symonds.net pubkeys:omicron.symonds.net/pubkeys C O G I T O E R G O S U M ~~~
Re: can't find hosts
Yeah, I just fixed it actually after reading that qmail doesn't actually do dns lookups. Found tcpserver to be the culprit. xinetd makes it run fine. I'll probably just leave it at that now... Cheers, -mic - Original Message - From: "Alex Pennace" <[EMAIL PROTECTED]> To: "Michael Cartmel" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, March 31, 2001 4:58 PM Subject: Re: can't find hosts > On Sat, Mar 31, 2001 at 04:21:18PM +1000, Michael Cartmel wrote: > > I've tested my qmail setup and all the tests using qmail-inject work ok, however, if a mail comes in through qmail-smtpd it bounces with 'Sorry, I couldn't find and host named...'. > > > > All dns tools are working fine, it just seems to be qmail. Anyone know the answer? > > What do the logs say? How are you invoking qmail-smtpd?
Re: can't find hosts
On Sat, Mar 31, 2001 at 04:21:18PM +1000, Michael Cartmel wrote: > I've tested my qmail setup and all the tests using qmail-inject work ok, however, if >a mail comes in through qmail-smtpd it bounces with 'Sorry, I couldn't find and host >named...'. > > All dns tools are working fine, it just seems to be qmail. Anyone know the answer? What do the logs say? How are you invoking qmail-smtpd?
can't find hosts
Hi, Hoping someone can help. I've tested my qmail setup and all the tests using qmail-inject work ok, however, if a mail comes in through qmail-smtpd it bounces with 'Sorry, I couldn't find and host named...'. All dns tools are working fine, it just seems to be qmail. Anyone know the answer? Cheers, -mic smime.p7s
easiest way to queue and de-queue mail for exchange.
Any suggestions are appreciated. We are looking for some way to help out a few dozen exchange customers while northpoint is down. Thanks. Lance
Re: How to convert mailbox to maildir !!!!!!!!!
check www.qmail.org, there are plenty of utils there. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 30, 2001 11:32 AM Subject: How to convert mailbox to maildir ! Dear all, I am using qmail1.03 with mailbox format, But i want to implement Maildir format now. I am allready having nearly 700 pop accounts and their mailbox in their respective home directory. Is there any way to convert their existing mailbox to Maildir ? Regards lokesh
How to convert mailbox to maildir !!!!!!!!!
Dear all, I am using qmail1.03 with mailbox format, But i want to implement Maildir format now. I am allready having nearly 700 pop accounts and their mailbox in their respective home directory. Is there any way to convert their existing mailbox to Maildir ? Regards lokesh
qmail and IMAP and checkpassword
Hi, We're need a IMAP product that uses Maildir's and we'd like to authenticate using our own hacked checkpassword. I've read in the archives that courier-imap uses Maildirs, but can it use checkpassword for authentication or will I need something like that mentioned below and wrap checkpassword with some perl scripts? http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/04/msg01189.html Thanks, Mike.
Re: binding qmail to a specific ip address
Check out tcpserver. Here's a run file that should be a start for 'ya: #!/bin/sh # Using tcpserver to listen to the internet exec env - PATH="/var/qmail/bin:$PATH" tcpserver -v -u 1003 -g 1002 192.168.1.1 smtp /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 -sc On Sat, Mar 31, 2001 at 09:05:16AM +1000, Leni Mayo wrote: > Delivered-To: [EMAIL PROTECTED] > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > Precedence: bulk > Delivered-To: mailing list [EMAIL PROTECTED] > Date: Sat, 31 Mar 2001 09:05:16 +1000 > From: Leni Mayo <[EMAIL PROTECTED]> > X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U) > X-Accept-Language: en > To: [EMAIL PROTECTED] > Subject: binding qmail to a specific ip address > > I'm qmail running on a box with 2 network interface cards and want > to bind qmail to a specific IP address in order to simplify > firewall rules. > > I'm thinking along the lines of the apache "BindAddress" keyword, > so qmail would only use a specific ip address when listening and > as a source address for outbound connections. > > If anyone has a hack for qmail 1.03 along these lines, I'd love to > see a copy of the source. > > Leni. -- Sean Chittenden PGP signature
binding qmail to a specific ip address
I'm qmail running on a box with 2 network interface cards and want to bind qmail to a specific IP address in order to simplify firewall rules. I'm thinking along the lines of the apache "BindAddress" keyword, so qmail would only use a specific ip address when listening and as a source address for outbound connections. If anyone has a hack for qmail 1.03 along these lines, I'd love to see a copy of the source. Leni.
Re: Inter7 mirror
> I have put the some of the items in question on my server : > > http://212.179.48.82/inter7 > > if anyone has updates or missing items (like vqadmin) and can help me out, > please send them to me. > > This is my first and last post on this matter. If anybody knows how to get in touch with Ken Jones or any of the other guys over at Inter7, I'd be happy to mirror all the pages as well as the tarballs for qmailadmin, sqwebmail, vpopmail, etc. on my server. If you are able to get in contact with them, e-mail me off-list for a phone number where they can get in touch with me. > > Thank you Dave Weiner
Re: Inter7 mirror
> All, > > Inter7's website is down due to moving ISP's. I was wondering if anyone > had knowledge of, or possession of, mirror content of inter7.com? I'm > specifically seeking current releases of qmailadmin, vpopmail and vqadmin > (full and devel versions). > > Even if someone could send me current copies to this address, or links to > copies, I would greatly appreciate it. Sorry for posting to this list, but inter7 is down. I have put the some of the items in question on my server : http://212.179.48.82/inter7 if anyone has updates or missing items (like vqadmin) and can help me out, please send them to me. This is my first and last post on this matter. Thank you
Inter7 mirror
All, Inter7's website is down due to moving ISP's. I was wondering if anyone had knowledge of, or possession of, mirror content of inter7.com? I'm specifically seeking current releases of qmailadmin, vpopmail and vqadmin (full and devel versions). Even if someone could send me current copies to this address, or links to copies, I would greatly appreciate it. Thanks, -CT
Re: A real "bouncesaying"
On Fri, Mar 30, 2001 at 06:56:06PM +0200, Filip Salomonsson wrote: > Me: > > Sure. But while it's there, why not make it as useful as possible? I'm not > > saying that there's anything wrong with the way Delivered-To lines are > > written today. I'm only suggesting something that I think would > > be a better solution. > > Let me withdraw that comment. Delivered-To is obviously not the appropriate > header for showing the envelope recipient. I don't know what I was thinking. > Sorry. You were thinking the exactly same thing that I was when I first encountered this header. I think that showing the envelope recipient per default would have been "a good thing". Possible through patching, of course. /magnus -- http://x42.com/
Re: SMTP Problem
Sunil . <[EMAIL PROTECTED]> wrote: > > I understand that if i added a listing in the rcpthosts for a certain > domain, let's say hotmail.com, it should work for that domain. But my > problem is that, what if i want a user to be able to send an email to > anybody he wants. Does that mean, that i have to add a list of all that > domains?? Well, this sounds a little stupid as there are thousands of > domains listed on the web. Imagine adding each and everyone of them !! rcpthosts is not the mechanism you're looking for; what you want is selective relaying, and is a FAQ. Check the mailing list archives for (hundreds of copies of) the solution(s) to your problem. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
SMTP Problem
Hi Martin , Qmail List Users thanks for your earlier help. Anyway, it seems there is some problem here with the SMTP instead. Here is the error i received while trying to send an email vis SMTP. --- The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was '[EMAIL PROTECTED]'. Subject 'sdasdsadsd', Account: 'mentortech.org.sg', Server: 'mentortech.org.sg', Protocol: SMTP, Server Response: '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25, Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79 --- I understand that if i added a listing in the rcpthosts for a certain domain, let's say hotmail.com, it should work for that domain. But my problem is that, what if i want a user to be able to send an email to anybody he wants. Does that mean, that i have to add a list of all that domains?? Well, this sounds a little stupid as there are thousands of domains listed on the web. Imagine adding each and everyone of them !! My another concern is security. I acually want to be able to allow only authenticated users to use my SMTP server as i don't think it would be good if some guy is able to hog my bandswidth by sending a huge file thru my SMTP server. Is that possible to allow only users who have been authenticated thru POP, to be able to use my SMTP server ?? Regards, Sunil >From: Martin Edlman <[EMAIL PROTECTED]> >To: "Sunil ." <[EMAIL PROTECTED]> >Subject: Re: qmail & imap >Date: Thu, 29 Mar 2001 08:20:30 +0200 > >Hi Sunil, > > > i need your help here. So sorry, if this reply is not what you expected. > >booh booh :(, you're right, I expected some help for me : > > > Anyway, it seems you are using POP3d with the authentication module that > > comes with vpopmail. I am currently having problems with pop3 > > authentication. I am very sure it has something to with vpopmail >although i > > can't seem to solve the problem. I am able to login in, send and receive > > emails through sqwebmail (the web based interface client). But when i >try to > > login via POP, they give me an error something like this: >"Authentication > > failed: Wrong password". It's surprising, because i am able to login >with > > the web. > >Hmmm. I'm not sure how sqwebmail works, I've never used it, but I >suppose it uses the vpopmail's authentication utility called vchkpw >(located in bin dir of vpopmail user home dir, e.g. >/var/qmail/vpopmail/bin). > > > Anyway, i installed checkpasswd initially, but later i realized (or >rather > > read on some web page) that qmail passes the authentication job to >vpopmail > > which in turns does the checking of username and passwds, so i don't >really > > see a need for checkpasswd here. > >Of course is't no use for checkpasswd utility when you use vpopmail, as >it comes with bunch of utils to maintain users and domains (vadddomain, >vadduser, ) Everything is stored in cdb files, located in vpopmail's >home and checkpasswd knows nothing about it. You have to use vchkpw for >authentication. >And the best (and only way as far as I know) is to say which >authentication program qpop3 should use. And you say it in file >/var/qmail/control/checkpassword, so do following (change paths as >required): ># echo /var/qmail/vpopmail/bin/vchkpw > /var/qmail/control/checkpassword > > > I have been trying to get this done for the past 3 weeks but in vain. > > pls advice. > >I hope this will help.. > >Edas _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Re: A real "bouncesaying"
Me: > Sure. But while it's there, why not make it as useful as possible? I'm not > saying that there's anything wrong with the way Delivered-To lines are > written today. I'm only suggesting something that I think would > be a better solution. Let me withdraw that comment. Delivered-To is obviously not the appropriate header for showing the envelope recipient. I don't know what I was thinking. Sorry. /filip
Re: bug in qmail? showctl
Dean Browett <[EMAIL PROTECTED]> wrote: > > Ok, let me clear something up.the only .qmail file that a user has > is in their home directory. This file contains './Maildir/. You're omitting information. The name of this file is critical; if the user controls a virtualdomain, ".qmail" in their home directory won't control mail in the virtual domain, while ".qmail-default" will. > In /var/qmail/alias there several files none of which affect the domain in > question. '.qmail-default' contains '| fastforward -d /etc/aliases.cdb' . > > ALL aliases for virtual domains and local addresses e.g. postmaster, root > etc live in /etc/aliases.this may not be the best method, but it > works...too much like sendmail eh 8-(( . Sorry, then, but I can't help you. I don't use fastforward, and never have. I don't think it's particularly common among qmail administrators to handle a virtualdomain that way, but I could be wrong. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: bug in qmail? showctl
Ok, let me clear something up.the only .qmail file that a user has is in their home directory. This file contains './Maildir/. In /var/qmail/alias there several files none of which affect the domain in question. '.qmail-default' contains '| fastforward -d /etc/aliases.cdb' . ALL aliases for virtual domains and local addresses e.g. postmaster, root etc live in /etc/aliases.this may not be the best method, but it works...too much like sendmail eh 8-(( . The original error message was "No mailbox here by that name". The file permissions for all things /var/qmail/alias/.qmail* [root@hermes-1 /root]# ls -ld /var /var/qmail /var/qmail/alias /var/qmail/alias/.qmail* drwxr-xr-x 18 root root 4096 Feb 28 11:47 /var drwxr-xr-x 12 root qmail4096 Mar 14 13:03 /var/qmail drwxr-sr-x2 aliasqmail4096 Mar 29 17:28 /var/qmail/alias -rw-r--r--1 root root 35 Feb 28 2000 /var/qmail/alias/.qmail-default -rw-r--r--1 root qmail 11 Mar 15 13:34 /var/qmail/alias/.qmail-diaasoft:co:uk__-default -rw-r--r--1 root qmail 6 Mar 15 13:45 /var/qmail/alias/.qmail-leisureactivity:com__-default -rw-r--r--1 root qmail 22 Mar 15 13:46 /var/qmail/alias/.qmail-medicalguide:co:uk__-default -rw-r--r--1 root qmail 9 Mar 27 09:48 /var/qmail/alias/.qmail-merchantsolutionsltd:com__-default -rw-r--r--1 root qmail 13 Mar 15 13:50 /var/qmail/alias/.qmail-ttvpictures:co:uk__-default Regards Dean Browett - Original Message - From: "Charles Cazabon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 30, 2001 3:53 PM Subject: Re: bug in qmail? showctl > Dean Browett <[EMAIL PROTECTED]> wrote: > > > Okay, so far, so good. How about the following: > > > > > > `ls -ld ~fasttrack ~fasttrack/.qmail*` > > > > > > Also, what are the permissions on every directory between ~fasttrack and / > > ? > > > Then, the contents of every .qmail* file in fasttrack's homedir. > > > > > > I do not recall the original error message -- was it "No mailbox here by > > > that name" or "This user has no HOME/Maildir", or what? > > > All of the addresses for fasttrack map to a local user 'fast.trevor.wright'. > > If mail is sent directly to this user it arrives without a hitch. This > > proves that the entry in the database is correct and the .qmail file is > > doing it's thing. > > Okay, not quite what I asked for. Your virtualdomains entry for > fastrack-assoc.com was "fasttrack-..."; I assumed it was a local user > "fasttrack" handling the domain. Apparently not. If not, it must be > alias. > > You've proved 'fast.trevor.wright' can receive mail; the problem is therefore > between alias and that user. Post the ownership, permissions, and > contents of every file matching "~alias/.qmail-fasttrack*". > > Charles > -- > --- > Charles Cazabon<[EMAIL PROTECTED]> > GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ > Any opinions expressed are just that -- my opinions. > --- >
Re: A real "bouncesaying"
Filip Salomonsson: > > Also, any message sent to [EMAIL PROTECTED] will have "Delivered-To: > > [EMAIL PROTECTED]" in the header, which is confusing. > > [EMAIL PROTECTED] would be "correct". As would > > [EMAIL PROTECTED] (the "me" control file says > > kepler.netdesign.se). Peter van Dijk: > Delivered-To is there primarily for loopdetection. Sure. But while it's there, why not make it as useful as possible? I'm not saying that there's anything wrong with the way Delivered-To lines are written today. I'm only suggesting something that I think would be a better solution. > It also happens to be useful for multidrop pop3, and serialmail. > Strip off the prefix and you know the address. Sure, I can do that. But only if I already know that I'm dealing with a virtual domain. /filip
Error configuring vqadmin
As this is the qmail list, the chances are that many are using vpopmail and vqadmin. I am having a problem running configure on vqadmin. Error and info pasted below. I am attempting to configure vqadmin. Qmail is working correctly. Vpopadmin is working correctly. Users added from the command line work correctly, etc. I then move to configuring vqadmin. root@simba:/usr/local/src/vqadmin-1.4# ./configure --enable- cgibindir=/var/lib/apache/cgi-bin/ And the results are: checking whether struct tm is in sys/time.h or time.h... time.h ./configure: line 1805: syntax error near unexpected token `in' ./configure: line 1805: `for ac_func in ' root@simba:/usr/local/src/vqadmin-1.4# The full output from configure to error is pasted below: root@simba:/usr/local/src/vqadmin-1.4# ./configure --enable- cgibindir=/var/lib/apache/cgi-bin/ loading cache ./config.cache checking for a BSD compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking host system type... i586-unknown-linux checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for POSIXized ISC... no checking how to run the C preprocessor... gcc -E checking for AIX... no yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... yes checking for unistd.h... yes checking for working const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h ./configure: line 1805: syntax error near unexpected token `in' ./configure: line 1805: `for ac_func in ' root@simba:/usr/local/src/vqadmin-1.4# Thank You Sincerely, John Chapman John Chapman CNI Consulting [EMAIL PROTECTED] www.cniconsulting.com 817-774-0369
Re: A real "bouncesaying"
Filip Salomonsson: > >The -owner files render themselves completely useless. Dave Sill: > So create ~salo/.qmail-salo-filip-owner or ~salo/.qmail-salo-default. Well, that's what I've done. Works like a charm. But what if there was a salo@ address(and/or salo-filip@ with a corresponding -owner file)? Many problems can be worked around, but that's rarely a good permanent solution. > You're certainly entitled to your opinion, but calling the current, > documented behavior incorrect is misleading. So is the current, documented behavior. /filip
Re: A real "bouncesaying"
"Filip Salomonsson" <[EMAIL PROTECTED]> wrote: >A message is recieved for [EMAIL PROTECTED], delivered locally to >salo-filip, which puts the message in my maildir and forwards a copy to >[EMAIL PROTECTED] The envelope sender for the forwarded message is set to >[EMAIL PROTECTED], just as the docs say ("local" is salo-filip). >But it makes no sense. If the delivery fails, the bounce message will be >sent to [EMAIL PROTECTED], and the delivery instructions will be >sought for in ~salo/.qmail-salo-filip-owner, which doesn't exist. Good job. >The -owner files render themselves completely useless. So create ~salo/.qmail-salo-filip-owner or ~salo/.qmail-salo-default. >Also, any message sent to [EMAIL PROTECTED] will have "Delivered-To: >[EMAIL PROTECTED]" in the header, which is confusing. To whom? Delivered-To fields are there for loop detection, if users look at them, they should understand how they work. >In short -- qmail handles deliveries to virtual domains/users exactly the >way the docs say (as far as I can tell). But what the docs say is just plain >stupid. You're certainly entitled to your opinion, but calling the current, documented behavior incorrect is misleading. -Dave
Re: A real "bouncesaying"
On Fri, Mar 30, 2001 at 05:03:59PM +0200, Filip Salomonsson wrote: [snip] > Oh, great. here's a line from my virtualdomains file: > netdesign.se:salo > > in ~salo/.qmail-filip: > ./Maildir/ > &[EMAIL PROTECTED] > > in ~salo/.qmail-filip-owner: > &[EMAIL PROTECTED] > > > A message is recieved for [EMAIL PROTECTED], delivered locally to > salo-filip, which puts the message in my maildir and forwards a copy to > [EMAIL PROTECTED] The envelope sender for the forwarded message is set to > [EMAIL PROTECTED], just as the docs say ("local" is salo-filip). > But it makes no sense. If the delivery fails, the bounce message will be > sent to [EMAIL PROTECTED], and the delivery instructions will be > sought for in ~salo/.qmail-salo-filip-owner, which doesn't exist. Good job. > The -owner files render themselves completely useless. Never toyed with that, sorry. > Also, any message sent to [EMAIL PROTECTED] will have "Delivered-To: > [EMAIL PROTECTED]" in the header, which is confusing. > [EMAIL PROTECTED] would be "correct". As would > [EMAIL PROTECTED] (the "me" control file says > kepler.netdesign.se). Delivered-To is there primarily for loopdetection. It also happens to be useful for multidrop pop3, and serialmail. Strip off the prefix and you know the address. Greetz, Peter.
Re: A real "bouncesaying"
On Thu, Mar 29, 2001 at 07:30:38PM +0200, Filip Salomonsson wrote: > [snip] > > Qmail isn't handling virtual domains correctly, as far as I can tell. Peter van Dijk: > Wut? > Greetz, Peter. >From the dot-qmail man page: When qmail-local forwards a message as instructed in .qmail-ext (or .qmail-default), it checks whether .qmail-ext-owner exists.If so, it uses local- owner@domain as the envelope sender for the forwarded mes-- sage. Otherwise it retains the envelope sender of the original message. Oh, great. here's a line from my virtualdomains file: netdesign.se:salo in ~salo/.qmail-filip: ./Maildir/ &[EMAIL PROTECTED] in ~salo/.qmail-filip-owner: &[EMAIL PROTECTED] A message is recieved for [EMAIL PROTECTED], delivered locally to salo-filip, which puts the message in my maildir and forwards a copy to [EMAIL PROTECTED] The envelope sender for the forwarded message is set to [EMAIL PROTECTED], just as the docs say ("local" is salo-filip). But it makes no sense. If the delivery fails, the bounce message will be sent to [EMAIL PROTECTED], and the delivery instructions will be sought for in ~salo/.qmail-salo-filip-owner, which doesn't exist. Good job. The -owner files render themselves completely useless. Also, any message sent to [EMAIL PROTECTED] will have "Delivered-To: [EMAIL PROTECTED]" in the header, which is confusing. [EMAIL PROTECTED] would be "correct". As would [EMAIL PROTECTED] (the "me" control file says kepler.netdesign.se). In short -- qmail handles deliveries to virtual domains/users exactly the way the docs say (as far as I can tell). But what the docs say is just plain stupid. /filip
Re: Be all, end all checkpasswd
Dan Newcombe <[EMAIL PROTECTED]> wrote: > > So, that is three patches I can think of that I need. Something has me > worried that they are gonna start interferring. A lot of things can be accomplished without patches, because qmail is so modular. > Is there a definitive way to: > > - allow each user to have their own mail directory under something like > /var/spool/maildirs so I do not need a system account for each user Both vmailmgr and vpopmail give this capability. I don't know much about vpopmail, but vmailmgr does it without any patches to qmail. > - allow checkpasswd to do it's password lookups via PAM There is a PAM patch to checkpassword 0.81. It doesn't apply cleanly to 0.90. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: bug in qmail? showctl
Dean Browett <[EMAIL PROTECTED]> wrote: > > Okay, so far, so good. How about the following: > > > > `ls -ld ~fasttrack ~fasttrack/.qmail*` > > > > Also, what are the permissions on every directory between ~fasttrack and / > ? > > Then, the contents of every .qmail* file in fasttrack's homedir. > > > > I do not recall the original error message -- was it "No mailbox here by > > that name" or "This user has no HOME/Maildir", or what? > All of the addresses for fasttrack map to a local user 'fast.trevor.wright'. > If mail is sent directly to this user it arrives without a hitch. This > proves that the entry in the database is correct and the .qmail file is > doing it's thing. Okay, not quite what I asked for. Your virtualdomains entry for fastrack-assoc.com was "fasttrack-..."; I assumed it was a local user "fasttrack" handling the domain. Apparently not. If not, it must be alias. You've proved 'fast.trevor.wright' can receive mail; the problem is therefore between alias and that user. Post the ownership, permissions, and contents of every file matching "~alias/.qmail-fasttrack*". Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Be all, end all checkpasswd
So, there is the wonderful checkpasswd util. There is a patch which lets it work with the cdb databases (which correct me if I'm wrong, but will let me have one user with 4000 mailboxes and this should let each "virtual user" get to their own mail) There is a patch to add PAM support for password lookups, which I will need since my users will not have /etc/passwd entries. There is a patch to do MD5, so the users can securly send their password for POP and SMTP AUTH transactions. So, that is three patches I can think of that I need. Something has me worried that they are gonna start interferring. Is there a definitive way to: - allow SMTP_AUTH and POP passwd checking with secure/MD5 passwords and - allow each user to have their own mail directory under something like /var/spool/maildirs so I do not need a system account for each user and - allow checkpasswd to do it's password lookups via PAM I'll admit I'm probably missing the obivious, but I feel like I'm in Middle Earth here looking for the One Ring to bind them all. Thanks! -Dan
Re: bug in qmail? showctl
Hi, All of the addresses for fasttrack map to a local user 'fast.trevor.wright'. If mail is sent directly to this user it arrives without a hitch. This proves that the entry in the database is correct and the .qmail file is doing it's thing. For the record the file permissions are as follows: [root@hermes-1 /root]# ls -ld / /home /home/fas /home/fas/fast.trevor.wright /home/fas/fast.trevor.wright/.qmail* drwxr-xr-x 20 root root 4096 Feb 28 17:00 / drwxr-xr-x 1088 qmailuse pop3user16384 Mar 30 12:06 /home drwxr-xr-x5 qmailuse pop3user 4096 Mar 14 17:18 /home/fas drwxr-xr-x3 qmailuse pop3user 4096 Mar 14 17:18 /home/fas/fast.trevor.wright -rw-r--r--1 qmailuse pop3user 11 Mar 14 17:18 /home/fas/fast.trevor.wright/.qmail Dean Browett Network Operations Manager Business Online Group plc == Inventors of Free Internet & Unmetered Access = http://www.bizonline.net http://www.publiconline.net http://www.thefreeinternet.net Opinions expressed in this email are those of the author and are not binding upon Business Online Group plc. - Original Message - From: "Charles Cazabon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 30, 2001 3:04 PM Subject: Re: bug in qmail? showctl > Dean Browett <[EMAIL PROTECTED]> wrote: > > As requested... > > Excellent. > > > locals: > > Messages for bizonline.co.uk are delivered locally. > [...] > > rcpthosts: > [...] > > SMTP clients may send messages to recipients at fasttrack-assoc.com. > [...] > > virtualdomains: > > Virtual domain: fasttrack-assoc.com:fasttrack-assoc.com__ > > Okay, so far, so good. How about the following: > > `ls -ld ~fasttrack ~fasttrack/.qmail*` > > Also, what are the permissions on every directory between ~fasttrack and / ? > Then, the contents of every .qmail* file in fasttrack's homedir. > > I do not recall the original error message -- was it "No mailbox here by > that name" or "This user has no HOME/Maildir", or what? > > Charles > -- > --- > Charles Cazabon<[EMAIL PROTECTED]> > GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ > Any opinions expressed are just that -- my opinions. > --- >
Re: bug in qmail? showctl
Dean Browett <[EMAIL PROTECTED]> wrote: > As requested... Excellent. > locals: > Messages for bizonline.co.uk are delivered locally. [...] > rcpthosts: [...] > SMTP clients may send messages to recipients at fasttrack-assoc.com. [...] > virtualdomains: > Virtual domain: fasttrack-assoc.com:fasttrack-assoc.com__ Okay, so far, so good. How about the following: `ls -ld ~fasttrack ~fasttrack/.qmail*` Also, what are the permissions on every directory between ~fasttrack and / ? Then, the contents of every .qmail* file in fasttrack's homedir. I do not recall the original error message -- was it "No mailbox here by that name" or "This user has no HOME/Maildir", or what? Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: Random Bounce
[EMAIL PROTECTED] wrote: > As I indicated on my first post, this is our isp's server. Consequently, > the bounce message is all I have to work with. I was hoping someone would > give some general suggestions on where to look so that I could pass it on to > my isp. Sorry to have troubled you all. > OK, let me change my request for info.. What do *their* mail log files indicate? If I were a betting man, I would bet money that as soon as you find out what is being logged, you won't need help from this list to determine the problem. Unfortunately, many ISP's are admin'd by young wanna-be's who don't know their ass from a hole in the ground and got their job by fast talking (if you can't dazzle 'em with brilliance, baffle 'em with bullshit). Don't for a minute think that just because they have large clients, they have competent help. In your original post you asked: One reason I am still uncomfortable; if my isp (local but handles several large companies and thousands of dial-up) who has so much more experience running qmail than I can't figure out a "mysterious" bouce problem, how will I cross that bridge? I believe you will be able to cross that bridge with ease because you will have access to *all* the info you need to identify where your problem lies. And once the root of a problem is exposed, the solution becomes apparent. Niles
Re: Divert RBL messages?
Johan Almqvist <[EMAIL PROTECTED]> wrote: >Hi! > >I'm looking for a way to divert messages that come from RBL listed hosts >on a system-wide basis... All messages from hosts that are in the RBL >should go to the spamtrap user for example... I patched rblsmtpd adding an option -T who set RELAYCLIENT to option argument when the host is in rbl (instead of starting it's limited smtp server.) Then I can use virtualdomain support to catch all messages coming from a spam source. See: http://www.troppoavanti.it/qmail/ucspi-tcp-0.88-rblsmtp.rbltrap-0.1.patch (Currently untested - I don't use it in production servers) Ciao. -- Tullio Andreatta Logicom S.r.l. (Gruppo Finmatica) http://www.logicom.it/ Sede operativa: Via Vergnano, 2 - I-25100 Brescia ITALY
Re: Help!!!
On Fri, Mar 30, 2001 at 01:23:55PM +0200, José Ramón Jiménez wrote: > Hello > I have Solaris 8, qmail 1.0.3 (with path for LDAP), Netscape Directory > Server 4.0.(LDAP) > What POP3 server support LDAP? > What IMAP server can i work? > And, what webmail server can i work? read http://www.lifewithqmail.org/ldap/ -- Henning Brauer | BS Web Services Hostmaster BSWS| Roedingsmarkt 14 [EMAIL PROTECTED] | 20459 Hamburg http://www.bsws.de | Germany
qmail Digest 30 Mar 2001 11:00:00 -0000 Issue 1319
qmail Digest 30 Mar 2001 11:00:00 - Issue 1319 Topics (messages 59963 through 60018): more help sought with relay-ctrl (was oh no not another relaying question) 59963 by: Gary Law 59974 by: Charles Cazabon unsubscribe me PLEASE - can't get qmail-unsubscribe@ to work 59964 by: Col Wilson Re: A real "bouncesaying" 59965 by: Johan Almqvist 59968 by: Peter van Dijk 59969 by: Frank Tegtmeyer 59980 by: Filip Salomonsson 59981 by: Felix von Leitner 59982 by: Johan Almqvist 60011 by: Peter van Dijk Re: Can you help me ??(about limit of the number of per process file hand 59966 by: Henning Brauer Re: help ( pop authenticate with ldap ) 59967 by: Henning Brauer Re: shell vs qmail 59970 by: Charles Cazabon Re: Maildir problem 59971 by: Charles Cazabon qmail forwarding to another mailserver 59972 by: VmTesting 59976 by: Dave Sill Re: Limit outbound connections but not for all domains 59973 by: Charles Cazabon Re: faster than bcc 59975 by: Dave Sill 60010 by: Peter van Dijk Divert RBL messages? 59977 by: Johan Almqvist Auto-appending signatures for single domain 59978 by: Eric Bonharme new TMS webpage (qmail-based anti-spam system) 59979 by: Jason R. Mastaler erorr when patch --verbose -p1 < /tmp/big-concurrency.patch 59983 by: Sid Wilroy bug in qmail? 59984 by: Dean Browett 59985 by: Charles Cazabon Should I worry about these compile warnings? 59986 by: Sid Wilroy 59987 by: Daniel Kelley 59988 by: Charles Cazabon ticketing system? 59989 by: Kurth Bemis 59992 by: schoon.amgt.com 59993 by: Henning Brauer Modified 5.3.4 error 59990 by: Jeff_D_Sweeten.asc.aon.com MS SQL & QMAIL 59991 by: Stefan Laudat moving qmail from one machine to another 59994 by: Gary Shelton 59995 by: Charles Cazabon 60002 by: japc.co.sapo.pt SMTP Problem - (SMTP works but is very slow) 59996 by: John Cope 59997 by: japc.co.sapo.pt 60001 by: Greg White smtp delay with -H and -R 59998 by: Russell P. Sutherland 5 by: Ricardo Cerqueira 6 by: Russell P. Sutherland qmail-inject works but qmail-smtp doesn't 60003 by: Michael Cartmel triple bounce, mailbox exist but don't receive 60004 by: Chrisanthy Carlane 60007 by: Chrisanthy Carlane PAM-enabled checkpassword? 60005 by: David Young Re: Random Bounce 60006 by: Jean any performance gains when injecting via qmail-inject instead of sendmail? 60008 by: Simon K. Grabowski Re: Help 60009 by: Vani C R Re: bug in qmail? showctl 60012 by: Dean Browett 60013 by: Johan Almqvist 60014 by: Dean Browett Strange Time error 60015 by: Linux 60016 by: Henning Brauer 60018 by: Johan Almqvist Help!!! 60017 by: José Ramón Jiménez Administrivia: To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To subscribe to the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- Hi again I decided to go for the relay-ctrl idea suggested by Charles and James who responded to my last message. However, I've got a number of issues:- Instructions for installation suggest, sensibly, reading the man page for relay-ctrl-age. the 'make install-root' seems to install the man pages but 'man' ignores them. So i 'cat'ted the man pages to extract what I needed to know. where references were made to configs being stored in directorys that don't exist I created the directories (as root) and I've not changed the owner or permissions. I put the following in rc.local: tcpserver -v -u 2850 -g 32750 0 smtp /var/qmail/bin/qmail-smtpd \ 2>&1 | /var/qmail/bin/splogger smtpd 3 & commented out the reference to smtp in inetd.conf and sent a kill- HUP to the process. Then ran the above from the command line as root. I can still send and recieve mail (phew!). I put */20 * * * * /usr/sbin/relay-ctrl-age into my crontab... and here's my first problem. Cron is now outputting:- /usr/bin/tcprules: No such file or directory the tcprules is in fact in /usr/local/bin what's the best solution? symlink? what's calling this... can I edit a variable somewhere to change this? Also, I tried to symlink as suggested /usr/lib/courier-imap/libexec/authlib/ to /usr/sbin/relay-ctrl-allow. but there is no /usr/lib/courier-imap/libexec/authlib/ on my system. I am using courier-imap but there appears to be no similar directory on my system except /usr/local/libexec/authlib but nothing courier-imap specific. All suggestions as to solutions gratefully recieved! Thanks gary Gary Law <[EMA
Re: Strange Time error
* Linux <[EMAIL PROTECTED]> [010330 11:43]: > I have a strange problem on my qmail server. > I have a linux box with time and date setted to right timezone. > When i try to deliver a mail directly from the consolle (mail > [EMAIL PROTECTED]), qmail deliver the mail but include a strange time. > For example: > the system date is 11:00 am > qmail show 09:00 am. > When i download the mail, the mail report 09:00 am, the wrong date. > If i send a mail using a PC client and a program like outlook express to > [EMAIL PROTECTED] usign qmail as smtp, the mail reach the destination with > the right time. qmail-inject will insert GMT time datemail will insert local time. -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/ PGP signature
Help!!!
Hello I have Solaris 8, qmail 1.0.3 (with path for LDAP), Netscape Directory Server 4.0.(LDAP) What POP3 server support LDAP? What IMAP server can i work? And, what webmail server can i work?
Re: Strange Time error
On Fri, Mar 30, 2001 at 11:43:52AM +0200, Linux wrote: > Hi all. > I have a strange problem on my qmail server. > I have a linux box with time and date setted to right timezone. > When i try to deliver a mail directly from the consolle (mail > [EMAIL PROTECTED]), qmail deliver the mail but include a strange time. Date: is set by the client, not qmail. -- Henning Brauer | BS Web Services Hostmaster BSWS| Roedingsmarkt 14 [EMAIL PROTECTED] | 20459 Hamburg http://www.bsws.de | Germany
Strange Time error
Hi all. I have a strange problem on my qmail server. I have a linux box with time and date setted to right timezone. When i try to deliver a mail directly from the consolle (mail [EMAIL PROTECTED]), qmail deliver the mail but include a strange time. For example: the system date is 11:00 am qmail show 09:00 am. When i download the mail, the mail report 09:00 am, the wrong date. If i send a mail using a PC client and a program like outlook express to [EMAIL PROTECTED] usign qmail as smtp, the mail reach the destination with the right time. Someone can help me?
Re: bug in qmail? showctl
Hi, I know the 'f' is missing in 'asttrack'. The domain asttrack-assoc.com was to test whether the number of characters before the hyphen had anything to do with the problem. Removing the 'f' did in fact make a differencethe mail was delivered to an address in the 'asttrack' domain which was forwarded to a known working address. Regards Dean Browett - Original Message - From: "Johan Almqvist" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 30, 2001 10:44 AM Subject: Re: bug in qmail? showctl
Re: bug in qmail? showctl
* Dean Browett <[EMAIL PROTECTED]> [010330 11:24]: > As requested... > > The mail addresses that lie between and are test addresses. The > problem lies with the fasttrack-assoc.com domain ONLY. All other domains > work fine (or we have had no complaints about mail addresses to date). > > rcpthosts: > > SMTP clients may send messages to recipients at asttrack-assoc.com. > > virtualdomains: > > Virtual domain: asttrack-assoc.com:asttrack-assoc.com__ Why do you put asttrack-assoc.com in the files if the domain you want to handle is fasttrack-assoc.com [HINT: there's an 'f' missing!] -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/ PGP signature
Re: bug in qmail? showctl
As requested... The mail addresses that lie between and are test addresses. The problem lies with the fasttrack-assoc.com domain ONLY. All other domains work fine (or we have had no complaints about mail addresses to date). qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 501, 502, 503, 0, 504, 505, 506, 507. group ids: 501, 502. badmailfrom: @sexyfun.net not accepted in MAIL FROM. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is bizonline.co.uk. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is bizonline.co.uk. defaulthost: (Default.) Default host name is bizonline.co.uk. doublebouncehost: (Default.) 2B recipient host: bizonline.co.uk. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is bizonline.co.uk. helohost: (Default.) SMTP client HELO host name is bizonline.co.uk. idhost: (Default.) Message-ID host name is bizonline.co.uk. localiphost: (Default.) Local IP address becomes bizonline.co.uk. locals: Messages for bizonline.co.uk are delivered locally. me: My name is bizonline.co.uk. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is bizonline.co.uk. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. rcpthosts: SMTP clients may send messages to recipients at fastfreddy.com. SMTP clients may send messages to recipients at asttrack-assoc.com. SMTP clients may send messages to recipients at fasttrack.com. SMTP clients may send messages to recipients at fasttrack-cossa.com. SMTP clients may send messages to recipients at fastabcde-fg.com. SMTP clients may send messages to recipients at abcdefghi-jk.com. SMTP clients may send messages to recipients at abcdefghi.com. SMTP clients may send messages to recipients at fastdaddy-cossa.com. SMTP clients may send messages to recipients at fastdaddy-assoc.com. SMTP clients may send messages to recipients at fast-test.com. SMTP clients may send messages to recipients at barbadosprivatevillas.com. SMTP clients may send messages to recipients at bizonline.co.uk. SMTP clients may send messages to recipients at bizonline.net. SMTP clients may send messages to recipients at bayramtimber.com. SMTP clients may send messages to recipients at count-on-us.co.uk. SMTP clients may send messages to recipients at cns-consulting.com. SMTP clients may send messages to recipients at cupcompany.co.uk. SMTP clients may send messages to recipients at diaalsoft.co.uk. SMTP clients may send messages to recipients at em-portugal.com. SMTP clients may send messages to recipients at enginesdirect.com. SMTP clients may send messages to recipients at fasttrack-assoc.com. SMTP clients may send messages to recipients at fitnessexpress.co.uk. SMTP clients may send messages to recipients at flightdesign.co.uk. SMTP clients may send messages to recipients at flightdesignlog.co.uk. SMTP clients may send messages to recipients at grahamtom.co.uk. SMTP clients may send messages to recipients at hargravetimber.co.uk. SMTP clients may send messages to recipients at how-much-am-i-bid.co.uk. SMTP clients may send messages to recipients at how-much-am-i-bid.com. SMTP clients may send messages to recipients at hmedia.com. SMTP clients may send messages to recipients at lamaura.com. SMTP clients may send messages to recipients at leisureactivity.com. SMTP clients may send messages to recipients at medicalguide.co.uk. SMTP clients may send messages to recipients at merchantsolutionsltd.com. SMTP clients may send messages to recipients at peterchristiandirect.co.uk. SMTP clients may send messages to recipients at publiconline.com. SMTP clients may send messages to recipients at screwshop.co.uk. SMTP clients may send messages to recipients at stressman.co.uk. SMTP clients may send messages to recipients at supportonline.net. SMTP clients may send messages to recipients at thecupco.co.uk. SMTP clients may send messages to recipients at tig.co.uk. SMTP clients may send messages to recipients at ttvpictures.co.uk. morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: (Default.) SMTP greeting: 220 bizonline.co.uk. smtproutes: (Default.) No artificial SMTP routes. timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds. timeoutremote: (Default.) SMTP client data timeout is 1200 seconds. timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds. virtualdomains: Virtual domain: asttrack-assoc.com:asttrack-assoc.com__ Virtual domain: fastfreddy.com:fastfreddy.com__ Virtual domain: fastabcde-fg.com:fastabcde-fg.com__ Virtual domain: abcdefg
Re: A real "bouncesaying"
On Thu, Mar 29, 2001 at 07:30:38PM +0200, Filip Salomonsson wrote: [snip] > Qmail isn't handling virtual domains correctly, as far as I can tell. Wut? Greetz, Peter.
Re: faster than bcc
On Thu, Mar 29, 2001 at 09:55:06AM -0500, Dave Sill wrote: [snip] > > Yeah, don't know what I was thinking. But I see another problem with > that command: it's feeding the list of recipients to xargs via stdin > and the message to qmail-inject, also via stdin. In my testing, xargs > is reading the message as stdin and calling qmail-inject with the > message contents on the command line. Oops. Good thinking. I think you're right :) Greetz, Peter.
FW: Help
Hello, We a linux server running qmail as SMTP server. We have limited the attachment size for all the users. Please let me know , how to limit the size for each user OR suggest how to make groups and limit the size for groups. Thank you Vani