Re: Qmail IMAP4 for Maildir - best one??
Thank you for such a wonderfully nice short response. I'm sorry if I sound like a jerk, but I had read several were out there - and I had read on here some people complaining about slowness and some moving from courier to UW, and some moving from UW to courier. I HAD searched the archives - most of the ones that had to do with opinions of IMAP that I saw were several months old - as you know software can change fast with new features and better stability. Reading the base faq (which I DID DO): 5.2.4. imap-maildir David R. Harris has cleaned up the patch that adds maildir support to the University of Washington IMAP server and documented the installation process. See http://www.davideous.com/imap-maildir/. 5.2.5. Courier-IMAP Sam Varshavchik has written an IMAP server that supports maildir mailboxes only. It's available from http://www.inter7.com/courierimap/. And I did not read *your* FAQ because I do not use QMail-LDAP - actually I use a combination of sendmail and qmail for the mail solution, so forgive me for not wanting to make a switch to move everything into an LDAP style solution. So, before you jump down someones throat for something you ASSUME (ie: not doing homework) - check first. -Tony - Original Message - From: Henning Brauer <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 30, 2001 3:33 PM Subject: Re: Qmail IMAP4 for Maildir - best one?? > On Sun, Jul 29, 2001 at 09:35:05PM -0500, Tony Harris wrote: > > Hi, > > > > I'm looking at using a webmail program that requires the use of MAPv4 - I > > see there are various imap packages available that works with qmail - which > > is really the most stable and seems to work the best with IMAP? > > How many seconds did you spent in searching the archives, reading > lifewithqmail.org and qmail.org? > In short: courier is the preferred one for most of us. > > > I'm looking at trying out squirrelmail (so any other tips one might be able > > to offer would be greatly appreciated as well ;) > > squirrel is fine, sqwebmail too. > I've written a short pargraph about the two in www.lifewithqmail.org/ldap/. > > Please do your homework next time. > > -- > * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de * > * Roedingsmarkt 14, 20459 Hamburg, Germany * > Unix is very simple, but it takes a genius to understand the simplicity. > (Dennis Ritchie) > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.265 / Virus Database: 137 - Release Date: 7/18/01
Qmail IMAP4 for Maildir - best one??
Hi, I'm looking at using a webmail program that requires the use of IMAPv4 - I see there are various imap packages available that works with qmail - which is really the most stable and seems to work the best with IMAP? I'm looking at trying out squirrelmail (so any other tips one might be able to offer would be greatly appreciated as well ;) -Tony --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.265 / Virus Database: 137 - Release Date: 7/18/01
checkhab script
My apologies for using Outlook Express. >From Noel Mistula's checkHAB script http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/03/msg01041.html # Read about qmail-inject to customize this line. /var/qmail/bin/qmail-inject [EMAIL PROTECTED] [EMAIL PROTECTED] < $tmpfile Has anyone else used this script, and if so, can you share with me how this line looks in your configuration? thanks,
pop3d maildir problems...
Hi all, It's a fairly straight forward problem (I think I have written the list about it before, and I believe someone posted last night that is having a similar / same problem) Client connects to pop They start to download they get a few messages (somewhere between 1 and 5) It will just hang popping out at this point. it will time out and claim the pop3 server is not responding. This is happening with people with both outlook express and Netscape mail. Some have virus scanners some don't. The problem started appearing about 2 to 2.5 weeks ago. Not everyone runs into this issue - but we have been getting more and more complaints. qmail-popup is being started from xinetd. Any suggestions / help would be appreciated. -Tony A safe place for Apple ]['s... http://www.a2haven.org --- "Ugh - You mean I have to do that AGAIN??"
Re: Odd pop problem
Brian Lane writes: > Are you running on Linux? What Kernel? I have the same problem with a > 2.0.39 system that's been working fairly well for over 2 years now. In the > last 2 or 3 months I have been getting an increasing # of these hanging > email sessions. I am running linux - 2.2.16. I wonder if it is a bug with linux or a bug with the way QMails popup program runs on Linux? > > One 'cure' I have found is to change the MRU on my dialup connection when > fetching mail from the server. Set it to 1500 and I get freezes, set it to > 576 and they come through fine. Usually I see them with large attachment > emails, but not alway. I can see about trying it on one of my dialup banks and see what happens. Did you adjust the MTU as well, or just the MRU? -Tony A safe place for Apple ]['s... http://www.a2haven.org --- "Ugh - You mean I have to do that AGAIN??"
Odd pop problem
Hi, I'm having an odd pop problem that just started this week. We are using the Maildir format We have a nfs spool to store all mail. all mail transaction machines mount the nfs spool. We are using the qmail-popup program from the 1.03 distribution Currently the nfs spool and the mounting transaction machines are about 1 second off from each other. We used to have them running ntpd to keep in sync, but after an extended power outtage, ntp ceased to function properly and we are not sure why. Symptoms: Client will start to pop out email and it would freeze and time out during download and give an error (as usual, it's a pain to get clients to specify exactly what the error is). Email Clients Used: Most occuring from Outlook Express, one occurance from Netscape Mail so far Original thought later dismissed: We know that Nortons 2000 sometimes times out while scanning email - most of the clients noting this error were either running another virus scanner or (ugh) not running one at all. Questions: Does anyone have any thoughts as to what this could be? Also as a side note - are there any ntp wizards out there who might be able to help me with my ntp snafu? -Tony A safe place for Apple ]['s... http://www.a2haven.org --- "Ugh - You mean I have to do that AGAIN??"
Re: Larga amount of accounts per domain - HOWTO ?
You can store your 8000 mail accounts under one user account. Each one having it's own Maildir. It will interface to courier-imap so you can use imap and/or pop3 to access each mailbox. -tony On 20 Jul 2001 16:10:31 +0200, Przemyslaw Wegrzyn wrote: > > > On 20 Jul 2001, Tony Gale wrote: > > > > > Use vmailmgr: www.vmailmgr.org > > Can U say more about its design ? > > Some time ago I was using vpopmial, but it was actually doing its job the > way I described in previous post. > So we've ended with our own vpopmail-like system > > -=Czaj-nick=- > >
Re: Larga amount of accounts per domain - HOWTO ?
Use vmailmgr: www.vmailmgr.org -tony On 20 Jul 2001 15:43:57 +0200, Przemyslaw Wegrzyn wrote: > > Hello! > > I need to setup another qmail server, but this time it's going to be > unusual. > So far I was doing virtual domains in usuall way, by making entries in > virtualdomians (domain -> user), assigning those "Virtual" users their > homes (via users/assgin), and place there .qmail-accountname for every > virtual mail account. > > It's a good way for small systems, it's even good if you have big number > of domains, but small number of account per domain. > > But this time I need 1 or 2 domains with about 8.000 accounts. > Well, I guess that searching one of 8000 .qmail-* files on every deliver > will kill overall system performance. > > Would you suggest better way ? > I was thinking about using full doman-user assignment via users/asign.. > > Greetings > -=Czaj-nick=- >
authenticate Roaming Users
What is the most practical way to allow users to rely mail after they authenticate? No virtual domains, every user has their own home directory. Tony
Cluster
I was wondering if there is a way to do a reverse of QMTP. What I would like to do is put Qmail on 4 systems in a cluster (no NFS) with a queue and do nothing but forward all mail to the main mail server. This way if my main mail server goes down all mail is queued until that main server comes back online Tony
Re: Help! qmail-pop3d not liking maildir!!
Peter van Dijk writes: > On Wed, Jan 31, 2001 at 04:56:22PM -0600, Tony Harris wrote: >> It shows NO messages. >> I manually move the messages from new to cur, re-connect, re-issue a list >> request, and it shows all of the messages. > > What are the rights and ownerships of new, cur and tmp? > > Greetz, Peter. > drwx------ jdoe jdoe on all three. -Tony
Help! qmail-pop3d not liking maildir!!
Hi, I'm a new user to this list, and fairly new to qmail. I have searched the faq and the manual and couldn't find an answer to my problem. Here's the situation: I have 2 machines, almost identical. Both are (as far as I can tell) set up identically. 1 machine works perfectly. The other leaves a lot to be desired. Here is my setup: Maildir is the format. I have a user jdoe in the users home directory (/home/jdoe) the Maildir directory exists Under the Maildir directory, there are three sub directories: cur new tmp Email comes in fine and is thrown into new as it should be. I run: /var/qmail/bin/qmail-popup test.notreal.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir I log in with proper username and password. I issue a list command. It shows NO messages. I manually move the messages from new to cur, re-connect, re-issue a list request, and it shows all of the messages. If I run it on the other system that seems to be operating fine, it shows that there are messages in the new directory when there are messages there. I don't get the problem. According to the man files and everything else, it should show everything that is in new (and then proceed to go thru cur and clean up tmp after download). I don't know what the problem is. -Tony
Re: A firestorm of protest?
: I vote for "source code plug-ins". :-) : : -Dave : Service pack 0.1 Beta? TonyCam
assign config file question
My /var/qmail/users/assign file looks like this: +gv-:fred:1000:1003:/usr/local/squid/bin:-:gv: . Note that the 'gv-' line is a wildcard - I understand this to mean that any email received for any address that begins with 'gv-' will be processed by this configuration line. I ran qmail-newu to make it active. The problem is that I am executing the .qmail-default config file in squid, not the .qmail-gv file. I have read the documentation but it is a little too sparse for me. Can anyone explain how the last two arguments in an 'assign' line work for wildcards? Thanks, Tony
RE: qmail-users, users/assign, and qmail-newu
Ok, if I understand the process, qmail allows me to use the /var/qmail/users/assign file to define wildcard email address processing. Basically, I can define a user and a directory to use when processing emails whose addresses start with certain characters. qmail looks into the specified directory and tries to file a .qmail file. If there isn't a suitable one, it creates something called Mailfile. That isn't what I want. If it finds a file called .qmail-default, it executes the instructions within and does exactly what I want. I don't want to use .qmail-default, however. My problem is that I want to use a more specific name for the .qmail file. I can't deduce from the man pages what the qmail file should be called. ** As per the man page for qmail-user, .qmail files ARE involved: "A simple assignment is a line of the form =local:user:uid:gid:homedir:dash:ext: Here local is an address; user, uid, and gid are the account name, uid, and gid of the user in charge of local; and messages to local will be controlled by homedir/.qmaildashext." * I believe there is an alias facilty that does something similar and involves something to do with sticking .qmail files in the qmail/aliases directory. I have had poor success with that - I wonder if the qmail daemon has the authority to write into my application's directories. Tony -Original Message- From: David Geller [mailto:[EMAIL PROTECTED]] Sent: Monday, November 06, 2000 4:58 PM To: Tony Ennis Subject: RE: qmail-users, users/assign, and qmail-newu On Mon, 6 Nov 2000, Tony Ennis wrote: > The man pages for the version of qmail I'm using says that the > cdb file is made from the assign file: > > "qmail-newu reads the assignments in /var/qmail/users/assign > and writes them into /var/qmail/users/cdb in a binary format > suited for quick access by qmail-lspawn." > I'm confused now about what you're asking. You seem to be repeating what I just wrote - suggesting that the info you have need to go into a file named aliases in the /var/qmail/users directory. There are no .qmail files involved. - David
RE: qmail-users, users/assign, and qmail-newu
The man pages for the version of qmail I'm using says that the cdb file is made from the assign file: "qmail-newu reads the assignments in /var/qmail/users/assign and writes them into /var/qmail/users/cdb in a binary format suited for quick access by qmail-lspawn." Tony -Original Message- From: David Geller [mailto:[EMAIL PROTECTED]] Sent: Monday, November 06, 2000 4:27 PM To: Tony Ennis Cc: [EMAIL PROTECTED] Subject: Re: qmail-users, users/assign, and qmail-newu On Mon, 6 Nov 2000, Tony Ennis wrote: > vy-anon(anumber)@mydomain.com > > where (number) is a timestamp. I do not know what the number will > be since it is generated on-the-fly. However, all such emails > will be processed by the same facility. > > Reading the man pages (shock!) I found that there is a facility for > this very thing - you add a config line to users/assign file then > run newu. Here is my config line: > > +vy-anon:fred:1000:100:/usr/local/myapp::: > > My problem is that I can't deduce what the .qmail file is supposed > to be called. Everything works fine if I put .qmail-default in > /usr/local/myapp. But I don't want a default file - I want a config > file that is explicitly associated with vy-anon. > I think you want this line to go into /var/qmail/users/aliases. Then run qmail-newu, which will gen the cdb file. I think you might need to restart qmail too. - David Geller
qmail-users, users/assign, and qmail-newu
Hello! My server is going to receive emails that look lke this: vy-anon(anumber)@mydomain.com where (number) is a timestamp. I do not know what the number will be since it is generated on-the-fly. However, all such emails will be processed by the same facility. Reading the man pages (shock!) I found that there is a facility for this very thing - you add a config line to users/assign file then run newu. Here is my config line: +vy-anon:fred:1000:100:/usr/local/myapp::: My problem is that I can't deduce what the .qmail file is supposed to be called. Everything works fine if I put .qmail-default in /usr/local/myapp. But I don't want a default file - I want a config file that is explicitly associated with vy-anon. The documentation spells it out fairly well for simple conversions but I am confused by the sentence pertaining to wildcards. Here is a portion of the man page: |WILDCARD ASSIGNMENTS | A wildcard assignment is a line of the form | | +loc:user:uid:gid:homedir:dash:pre: | The crux is this "pre" value. What is this!? In the example above, what should the .qmail file be called? Thanks, Tony
RE: .forward and program execution
/etc/aliases is phased out in QMail. You cannot use it. What you would do in that case, is create a .qmail file in the home directory of the user you want to execute that for. If you wanted to execute your below example and keep a local copy of the message, your .qmail file would look something like: |/usr/bin/filter.pl 7507203 ./Maildir/ If you didn't want a local copy kept, you'd remove the ./Maildir/ If you wanted to forward a copy to another email address, you'd make a line that says &[EMAIL PROTECTED] -- Tony Publiski World Wide Net, Inc. +1 (734) 513-7707 x 2012 -Original Message- From: root [mailto:root]On Behalf Of Eduardo Rojas Sent: Thursday, October 19, 2000 11:34 AM To: qmail list Subject: .forward and program execution Hi list: I have a question about program execution using qmail and aliases files: Can I use /etc/aliases file to execute a program using qmail? A tipic entry on /etc/aliases for my system is: erojas: "|/usr/bin/filter.pl 7507203" this line is used to send a pager notification to my pager, and it works OK on Sendmail, but what I am trying to do is to migrate to qmail and I do not know how to handle this issue. In qmail docs I have found that qmail does not allow this "insecure" way to execute programs, but I did not found any documentation on how to set a secure way to execute this kind of programs. I would apreciate your help Regards, Eduardo Rojas
RE: Bounce-no-mailbox AND postmaster vpopmail delivery
I would think it would be more like: | /var/qmail/bin/vdelivermail '' bounce-no-mailbox /home/postmaster/Maildir/ -- Tony Publiski World Wide Net, Inc. +1 (734) 513-7707 x 2012 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 3:08 PM To: Qmail mailing list Subject: Bounce-no-mailbox AND postmaster vpopmail delivery Hi guys, I'm using vpopmail and marketing people told (without asking me) that email for [EMAIL PROTECTED] would bounce to sender AND delivered to postmaster. Any ideias how I could achieve this? The best one I had was a .qmail-default like this /var/qmail/bin/vdelivermail '' bounce-no-mailbox /var/qmail/bin/vdelivermail '' [EMAIL PROTECTED] My vertical bar is broken, but I think you got it. And then filter identical messages. But it's quite stupid. Thanks in advance []s Davi
RE: Bogus MAIL FROM (SPAM)
Title: RE: Bogus MAIL FROM (SPAM) No matter what they're always going to be able to send mail to a domain hosted on your box...your only chance is to learn to use your delete key... Tony -Original Message- From: Aaron Newcomb [mailto:[EMAIL PROTECTED]] Sent: Friday, October 13, 2000 11:20 PM To: [EMAIL PROTECTED] Subject: Bogus MAIL FROM (SPAM) I am having trouble with SPAM from people who provide bogus From and To lines when talking to my qmail server. Here is an example. Oct 12 21:47:49 linux1 smtpd: 971401669.546402 2385 > 220 ns1.newcombnet.com ES Oct 12 21:47:52 linux1 smtpd: 971401672.921618 2385 < HELO att.attsoken.co.jp? Oct 12 21:47:52 linux1 smtpd: 971401672.922747 2385 > 250 ns1.newcombnet.com? Oct 12 21:47:53 linux1 smtpd: 971401673.298142 2385 < MAIL FROM:<[EMAIL PROTECTED]> Oct 12 21:47:53 linux1 smtpd: 971401673.299236 2385 > 250 ok? Oct 12 21:47:53 linux1 smtpd: 971401673.568619 2385 < RCPT TO:<[EMAIL PROTECTED]> Notice that the HELO and the MAIL FROM: lines have completely different domains. The MAIL FROM they are using is a bogus address. What is the best way to prevent email like this from being accepted? Thanks, Aaron Newcomb, MCSE http://www.newcombnet.com [EMAIL PROTECTED]
RE: RE: qmail-mrtg HELP plz
Title: RE: RE: qmail-mrtg HELP plz I am using multilog. What I actually ended up finding out the problem was was that the qmail.mrtg.cfg file wasn't piping the data from current through tai64nlocal before sending it to mrtg, and qmail-mrtg was seg faulting when it was run without tai64nlocal. When I changed that part of the cfg file, it started working perfectly. Thanks! Tony -Original Message- From: Chris Scheller [mailto:[EMAIL PROTECTED]] Sent: Friday, October 13, 2000 8:15 PM To: Tony Publiski Cc: 'Robin S. Socha'; '[EMAIL PROTECTED]' Subject: Re: RE: qmail-mrtg HELP plz Are you using multilog? and did you edit the qmail.mrtg.cfg to reflect where your log files live? Chris Scheller Network One Internet, inc. http://www.networkone.net/ System/Network Administration 1-888-GOT-NET1
RE: qmail-mrtg HELP plz
I have looked all through the archives and I still have the same problems with it others have. It always come back with 0's across the board. I must be doing something wrong, but I used the route the INSTALL file of qmail-mrtg.1.0... -- Tony Publiski World Wide Net, Inc. +1 (734) 513-7707 x 2012 -Original Message- From: Robin S. Socha [mailto:[EMAIL PROTECTED]] Sent: Friday, October 13, 2000 12:43 PM To: [EMAIL PROTECTED] Subject: Re: qmail-mrtg HELP plz * Alex Khanin <[EMAIL PROTECTED]> [001013 12:27]: > did anyone here get qmail-mrtg to work? if so PLEASE, let me know. > i cannot get it to work, i get results full of 0's. thank you! Did you check the mailing list archives? Some kind people solved the problem for me 3 weeks ago.
RE: oops, I borke an alias
Is the alias in the /var/qmail/alias directory as .qmail-bhs or are you using vpopmail? I always assumed that it checked for an alias before a pop user account. If you're authentication from /etc/passwd and not using vpopmail or something for domain control, then you might need to copy the /var/qmail/alias/.qmail-bhs file to /web/bhs/.qmail if you want to keep the bhs username for something else. -- Tony Publiski World Wide Net, Inc. +1 (734) 513-7707 x 2012 -Original Message- From: Barry Smoke [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 12, 2000 7:15 PM To: [EMAIL PROTECTED] Subject: oops, I borke an alias I have an alias for our High School .qmail-bhs which contains a list of all the users at our high School That alias was working fine, until i added a user bhs for posting webpages. Now I have to have the user bhs... but I moved their home directory to point to /web/bhs not the usual /home/bhs... and i deleted the directory created by skel /home/bhs but the alias is still not working... how do i get the alias working again...without removing the user bhs? Thanks, Barry Smoke District Network Administrator Bryant Public Schools
RE: how to make qmail to send remote mail at particular time
just have your ppp.up script run: /bin/kill -ALRM `/sbin/pidof qmail-send` That way it'll send the ALRM signal to qmail-send (which triggers qmail to process the queue) everytime the link comes up. Tony -Original Message-From: Milen Petrinski [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 10, 2000 7:52 AMTo: qmail mailing listSubject: how to make qmail to send remote mail at particular time Hi everybody, I have Linux system with qmail and vpopmail installed, which connects to the Internet throu ppp. I read in "Life with qmail" that qmail processes every message individualy and I found that remote messages stay in the queue too long, even worse, it is possible a message not to be send at all. How can I make qmail to try to send remote mail when ppp ling comes up? In the mailing list archive I read something about sending the remote mail in maildir and using maildir2smtp when ling comes up, but how to make this to work with vpopmail? Thank you, Milen Petrinski
Re: Strange Problems with tcprules.
I got 4. Do I win something? >From Mr. Sill, "1) Post the message multiple times. " tony:campisi
Re: Fastforward AND smarthost-style operation at once
Hi Josh, I knew I did not write this up in vain. ;^) This is part of a mail I sent to the list a while ago, you can get it from the archive if you want to see the orig. AFAIK you have two instances of qmail to do this. If anyone knows how to do this with one instance please post the solution -Tony quepasa.com Email system: NOTE: The reference to "foo.fake" below is a literal reference, I use "foo.fake" for a strictly internal virtualhost/smtproute setup. Principle problems (background only): ] we have outsourced our web customer email system, so [EMAIL PROTECTED] is a customer, and has to be delivered to criticalpath.net (cp.net). ] we have also propagated [EMAIL PROTECTED] as employees email addresses, which should be delivered locally. ] when you out-source with cp.net they want you to point your domain MX record at them: quepasa.com. IN MX 10 inbound.quepasa.com.criticalpath.net. I was not willing to do that for several reasons: ] if cp is down, external email does not come through. ] I did not want to have to configure filters and forwards at cp.net so all employee mail did the right thing. ] as a business continuity measure, I wanted to control the mail flow. If we needed/wanted to change email providers, I can make the routing change in one qmail file. ] when delivering to cp.net the mail *MUST* be to [EMAIL PROTECTED] (cp's restriction not mine). I learned the hard way that: [EMAIL PROTECTED] will not work. The solution is obvious, accept mail at a central box (mailx.quepasa.com) for [EMAIL PROTECTED], if: a.] the mail user is an employee, send it along to a bastion host for delivery inside quepasa.com. b.] if not send it off to [EMAIL PROTECTED] at cp.net. (i.e. SMTP connect is to inbound.quepasa.com.criticalpath.net, RCPT To:<[EMAIL PROTECTED]>) The problem comes up at b. the mail has already been delivered to quepasa.com, if you attempt a forward like. |forward $[EMAIL PROTECTED] with a smtproute entry like: quepasa.com:inbound.quepasa.com.criticalpath.net The smtproute never seems (???) to be consulted, and it fails as a looping mail. I tried fooling around with virtual domains and header rewriting, but it came down to this, (AFAIK) a qmail machine that receives mail addressed to [EMAIL PROTECTED], will never again deliver it to [EMAIL PROTECTED] That left me with one solution another instance of qmail. I did not want to run it on the same machine, different port. I loaded another box. Brief description of mail flow: ] mail for [EMAIL PROTECTED] comes in to mailx.quepasa.com, if jane is an employee, deliver mail according to fastforward based /etc/aliases rule. else forward mail to "[EMAIL PROTECTED]" done There is a smtproute for foo.fake to pair.quepasa.com. pair.quepasa.com accepts the mail for virtual domain foo.fake, then forwards it [EMAIL PROTECTED] pair.quepasa.com had a smtproute that sends all quepasa.com mail to inbound.quepasa.com.criticalpath.net. Pair's entire function is to change mail that comes in as [EMAIL PROTECTED], back to a clean quepasa.com address. On Wed, 23 Aug 2000 [EMAIL PROTECTED] wrote: > > I'm working on a similar situation. I had tried what Dave suggested and it > worked as documented. However, I need to be able to actually relay messages > that don't match an alias (ie. don't rewrite the recipient address). > > My normal config: > > I have my qmail box acting as my primary MX and behind that sits my Domino > server running SMTP. My rcpthosts has: > kendle.com > > My smtproutes has: > kendle.com:mail.kendle.com > > locals has only the machine itself. > > So any message for kendle.com is relayed to mail.kendle.com (the Domino > server), which accepts messages for recipients @kendle.com. > > Here's what I tried: > > I put kendle.com in locals and used a .qmail-default like this: > > | fastforward -p /etc/aliases.cdb > | forward "$LOCAL"@mail.kendle.com > > messages are forwarded to [EMAIL PROTECTED] instead of [EMAIL PROTECTED] > > If I use: > > | fastforward -p /etc/aliases.cdb > | forward "$LOCAL"@kendle.com > > the message just loops because qmail-send thinks that kendle.com is local. > I know it's sort of nitpicky, but I need messages to be processed through > fastforward and be relayed to the next server with the recipient address of > [EMAIL PROTECTED] if no match is found. > > Any ideas? > > Thanks, > Josh > -- Tony Hansmann ([EMAIL PROTECTED]) Director of Technical Services Quepasa.com, INC. 602-716-0100
Re: Help..
Hi Thirl, please post the output of qmail-showctl, and tell us how mail is supposed to work for your customers. Regards, Tony On Tue, 22 Aug 2000, support2 wrote: > We have recently had inter-7 set us up with an update to q-mail and a > webbased program for qmail.. Prior to this upgrade qmail had run flawlessly > for over a year.. Now we have a strange challenge.. We can send and recieve > email to all but on server. When we try to email this company the email > either bounce back with the "that mailbox does not exist" > ([EMAIL PROTECTED])(bounces back) or the email goes out but is never > recieved ([EMAIL PROTECTED])(never gets to him).. > > However if we address the letters like this > [EMAIL PROTECTED] > or > [EMAIL PROTECTED] > > They go through and get recieved.. I am at my wits end.. Inter-7 doesn't > know whats going on.. My normal q-mail tech can't find anything wrong and > thumb.net's tech says all is fine on his end.. > > Any light that can be shed will save me a few gray hairs... > > > > If you have any further questions please call or email. > > 810-679-3395 > [EMAIL PROTECTED] > > Office hours: > M-F 10a-7p > Sat 11a-3P > > Thirl F. Wootten > Technical Support Supervisor > Sanilac Computer Learning Center System Administrator > Help Desk Administrator > > Great Lakes Internet > 112 North Howard > Croswell, MI. 48422 > -- Tony Hansmann ([EMAIL PROTECTED]) Director of Technical Services Quepasa.com, INC. 602-716-0100
Improper message removal
This was brought up yesterday and I know what to do next time. I am one of the people that forcibly removed a message from the queue without properly stopping qmail. When I run Russ' qsanity it tells me: message has no entry in info: 256004 message is neither local nor remote: 256004 message has no entry in info: 256015 message has no entry in mess: 256015 .. My logs are showing these quite regularly. 2000-08-10 09:29:45.582458500 warning: trouble opening local/0/256013; will try again later 2000-08-10 09:30:20.752585500 warning: trouble opening info/2/256015; will try again later 2000-08-10 09:30:42.762486500 warning: trouble opening remote/12/256002; wi ll try again later My question. Will these messages, which aren't really there, be bounced to me eventually? If queue-fix-1.4 will fix this, I will run it tonight. *OR* my question before I read the "How to annoy People" My gear be broken. What now? :) Thanks, tonyC
Re: Help! Post vpopmail install, everything bounces
> I ran ./configure, then had someone at the site reboot the mail server. > It works. = If you ran a ./config you might want to re-check your /control/locals and /control/rcpthosts. I did that the other day and it removed the information I had in it. HTH, tonyC
qmailanalog for dummies
Our qmail server has been up for 2 days and everything is working fine. I would like to use qmailanalog to analyze activity. I have read through the archive but need more answers. I installed qmailanalog-0.70 :From an archived message: awk '{$1="";$2="";$3="";$4="";$5="";print}' processed_log My 'processed_log' is an empty file I created - /var/log/qmail/analog I want to analyze my /var/log/qmail/current file. awk '{$1="";$2="";$3="";$4="";$5="";print}' /var/log/qmail/analog The above is all on one line After running the above, my 'analog' file has data in it like, ? 3317 from
Re: qmail-unsubscribe
--- Here are the ezmlm command addresses. I can handle administrative requests automatically. Just send an empty note to any of these addresses: <[EMAIL PROTECTED]>: Stop receiving messages. <[EMAIL PROTECTED]>: Retrieve a copy of message 12345 from the archive. DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST! If you do, I won't see them, and subscribers will yell at you. and subscribers will yell at you, Tony Campisi
Re: Failure Notice
> Your test email is addressed to a user at cardinalservices.com. > Cardinalservices.com isn't listed as in your local files, so it's not > getting delivered locally. I think you need to add > cardinalservices.com to control/locals. = I added cardinalservices.com to control/locals and it looks like mail is flowing nicely! ns.cardinalservices.com was in there and I removed it. I then kill -HUP the qmail-send process. Can someone tell me if having cardinalservices.com and ns.cardinalservices.com living together in locals will effect anything? > > There may have been a previous bounce attempt that failed; do you have > aliases for root and postmaster set up? = Yes, root and postmaster were set up following the EXCELLENT Life with qmail guide. :) > > There are a couple of anomalies that I don't feel I fully understand, > so I'm not 100% confident in this diagnosis. > > Putting in the showctl output, log lines, and bounce message werre all > necessary for me to make any serious attempt to analyze this problem. > Good job figuring out what was useful to include! Oh, and I also made > use of the fact that you *didn't* obscure the domain names to check > out a couple of things. Lurkers planning to ask for help soon, use > Tony's message as an example of how to do it! I'm blushing David. Thanks for the praise. Note to the Lurkers: http://www-archive.ornl.gov:8000/ Hooked on qmail works for me. Thank You David, Tony Campisi
Failure Notice
.com) (209.192.74.2) by 192.168.1.253 with SMTP; 5 Aug 2000 16:36:26 - Received: (qmail 20815 invoked from network); 5 Aug 2000 16:36:23 - Received: from unknown (HELO ns.cardinalservices.com) (209.192.74.2) by 192.168.1.253 with SMTP; 5 Aug 2000 16:36:23 - Received: (qmail 20812 invoked from network); 5 Aug 2000 16:36:21 - Received: from unknown (HELO ns.cardinalservices.com) (209.192.74.2) by 192.168.1.253 with SMTP; 5 Aug 2000 16:36:21 - Received: (qmail 20809 invoked from network); 5 Aug 2000 16:36:18 - Received: from unknown (HELO ns.cardinalservices.com) (209.192.74.2) by 192.168.1.253 with SMTP; 5 Aug 2000 16:36:18 - Received: (qmail 20806 invoked from network); 5 Aug 2000 16:36:16 - Received: from unknown (HELO ns.cardinalservices.com) (209.192.74.2) by 192.168.1.253 with SMTP; 5 Aug 2000 16:36:16 - Received: (qmail 20803 invoked from network); 5 Aug 2000 16:36:14 - Received: from unknown (HELO ns.cardinalservices.com) (209.192.74.2) by 192.168.1.253 with SMTP; 5 Aug 2000 16:36:14 - Received: (qmail 20800 invoked from network); 5 Aug 2000 16:36:11 - Received: from unknown (HELO ns.cardinalservices.com) (209.192.74.2) by 192.168.1.253 with SMTP; 5 Aug 2000 16:36:11 - Received: (qmail 20797 invoked from network); 5 Aug 2000 16:36:08 - Received: from unknown (HELO ns.cardinalservices.com) (209.192.74.2) by 192.168.1.253 with SMTP; 5 Aug 2000 16:36:08 - Received: (qmail 20794 invoked from network); 5 Aug 2000 16:36:06 - Received: from unknown (HELO ns.cardinalservices.com) (209.192.74.2) by 192.168.1.253 with SMTP; 5 Aug 2000 16:36:06 - I send mail to myself from my account, but I don't recieve it. Here's what it says in /var/log/qmail/current: @4000398c422b2732919c new msg 256005 @4000398c422b2732cc34 info msg 256005: bytes 10540 from qp 20665 uid 771 @4000398c422b2747e68c starting delivery 4118: msg 256005 to remote tony [EMAIL PROTECTED] @4000398c422b27481954 status: local 0/20 remote 2/20 @4000398c422b2ba18c4c delivery 4117: success: 209.192.74.2_accepted_mes sage./Remote_host_said:_250_ok_965493281_qp_20665/ @4000398c422b2ba1d684 status: local 0/20 remote 1/20 @4000398c422b2ba1f1dc end msg 256002 @4000398c422d32d9cca4 delivery 4118: failure: 209.192.74.2_failed_after _I_sent_the_message./Remote_host_said:_554_too_many_hops,_this_message_is_l ooping_(#5.4.6)/ @4000398c422d32da2a64 status: local 0/20 remote 0/20 @4000398c422d33524864 bounce msg 256005 qp 20669 @4000398c422d33551724 end msg 256005 It looks like its doing this for every mail that is being sent to any of our users. I'm in dire need here. Please help me understand what I'm doing wrong. Please reply to the [EMAIL PROTECTED] account. Thanks, Tony Campisi
Re: tai64n -- why?
Isn't there something on this list about "profile not speculate"? (defun convert-tai64nlocal (arg) "generate a local, human timestamped buffer from a tai64 timestamped buffer" (interactive "p") (mark-whole-buffer) (shell-command-on-region (region-beginning) (region-end) "tai64nlocal" nil nil) ) works pretty fast, only issue it opens an output buffer, but OTOH, you don't have to go to any effort ;^) You could also just take out the 't' in your "...log/run" files, no time stamp, no problem. Regards, Tony On Mon, 31 Jul 2000, David Dyer-Bennet wrote: > Charles Cazabon <[EMAIL PROTECTED]> writes on 31 July 2000 at 11:20:48 -0600 > > David Dyer-Bennet <[EMAIL PROTECTED]> wrote: > > > > > > > > Really? If I want to tail a log file, eg, I go like this: > > > > > > > > tail ../someservice/current | tai64nlocal > > > > > > > > and it all looks fine for humans. > > > > > Yeah, it works fine for people who check log files by tailing them. I > > > check them by bringing them into an emacs buffer, so the funny > > > timestamps make them darned near useless. > > > > So why not tail them to a temp file and use emacs to view the temp file? > > Or write an emacs-lisp function to convert the timestamps. > > If I'm going to go to effort to make it work the way I want, I think > I'll just change multilog to use a sensible format. It's silly having > archival log files sitting there that don't mean anything without a > conversion program; straight text is the appropriate format for log > files. > > I had thought about writing a mode for TAI stamped log files that > converts the timestamps, but that will be pretty slow since it'll have > to change every line of the file. > -- Tony Hansmann ([EMAIL PROTECTED]) Director of Technical Services Quepasa.com, INC. 602-716-0100
conf-split size on different FS's
Hi, I found a post from Russell Nelson <[EMAIL PROTECTED]> dated 2000, Jan 01 (Thank you Russell) where he recommends: a "reasonable [conf-split] size given the performance of the file system on the available hardware. That is, in my experience, about 3,000 for ext2 fs." I have been having large queue performance issues on Linux I think are related to the conf-split. I have changed my conf-split to 2999 (on a single IDE disk, single proc pent II 350) but have not had a queue spike yet. When I was investigating this problem I came to the conclusion that I should change the conf-split, but I completely missed the guess on what a large jump I should make. I originally moved it to 83. I also run Solaris 7.0 (SPARC) and FreeBSD 3.4 (Intel), are there maximum conf-split recommendations for single proc, single IDE disk systems with UFS and FFS? -- Tony Hansmann ([EMAIL PROTECTED]) Director of Technical Services Quepasa.com, INC. 602-716-0100
Re: Permissions Dilemma? FIXED!
> Try chown -R al.koch: /home/al.koch/Maildir > ^--- colon there > > It may or may not work. Colon is now the preferred separator between > user and group, but historically the dot has been used for that, and > so it's still supported for compatibility. === chown -R al.koch: /home/al.koch/Maildir WORKS! drwx-- 5 al.koch popusers 1024 Jul 21 11:22 Maildir Another person on the X-mas list. Thanks to Armando as well! woo hoo tony.campisi
Permissions Dilemma?
When I set up my Sendmail box last year I added all of my users in 'userconf' as POP accounts (mail only). Approx 250. As I'm attempting to add Maildir folders under their /home/name directories, I cannot chown Maildir. For example: drwx-- 5 root popusers 1024 Jul 21 11:22 Maildir [root@mail2 /home/al.koch]# chown -R al.koch /home/al.koch/Maildir chown: al.koch: invalid user Will I have to remove all my users and add them as regular users? thanks, tony.campisi
Re: Urgent Help Needed
> From: Tony Campisi <[EMAIL PROTECTED]> > >/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup > Shouldn't that be > /usr/local/bin/tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup > ? Notice the dash in the name of the service. In my /etc/services file it says: pop3110/tcp pop-3 110/tcp I've been using 'pop3' during my testing on another machine and it worked good. My server was down for 3 hours, so I panicked and put sendmail back on until I can figure out what happened. Thanks guys for answering. Armando, I'm gonna try to write 110 instead of pop3 or pop-3 next time. ...oh! the shame tony.campisi
Urgent Help Needed
This evening I attempted to bring up my companys qmail server. Things are not going well. I installed these packages checkpassword-0.81 daemontools-0.70 qmail-1.03 ucspi-tcp-0.88 I am starting POP in a different way. I created a /var/qmail/supervise/qmail-pop3d/run file like this: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mailperson.cardinalservices.com \ /usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 I made sure that 'pop3' is in /etc/services stopped sendmail - /etc/rc.d/init.d/sendmail stop made my aliases for postmaster and such. I removed these lines from /etc/inetd.conf completely REMOVED these lines # do not uncomment smtp unless you *really* know what you are doing. # smtp is handled by the sendmail daemon now, not smtpd. It does NOT # run from here, it is started at boot time from /etc/rc.d/rc#.d. #smtp stream tcp nowait root/usr/bin/smtpd smtpd #nntp stream tcp nowait root/usr/sbin/tcpd in.nntpd pop-2 stream tcp nowait root/usr/sbin/tcpd ipop2d #pop-3 stream tcp nowait root/usr/sbin/tcpd ipop3d pop-3 stream tcp nowait root/usr/sbin/tcpd popper -sR #pop-3 stream tcp nowait root/usr/sbin/tcpd in.qpopper imapstream tcp nowait root/usr/sbin/tcpd imapd and rebooted the server. After reboot I do a ps waux | grep qmail qmaild /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 771 -g 730 0 smtp /var/qmail/bin/qmail-smtpd qmaill /usr/local/bin/multilog t !tai64nlocal /var/log/qmail qmaill /usr/local/bin/multilog t !tai64nlocal /var/log/qmail/smtpd qmaill /usr/local/bin/multilog t !tai64nlocal /var/log/qmail/pop3d qmailq qmail-clean qmailr qmail-rspawn qmails qmail-send root supervise qmail-send root supervise qmail-smtpd root supervise qmail-pop3d root /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mailperson.cardinalservice s.com /usr root qmail-lspawn ./Maildir/ As I attempt to gather my mail through Outlook Express, it prompts me for password. I try multiple accounts with no luck. My password is rejected. That's odd. I just checked the line in the above script /usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 I did a 'locate checkpassword' and it showed it in /bin, and I changed the script, but my password still isn't good. Any Ideas? On top of that, I got the convert-and-create script from qmail.org. I chmod 755 it. When I run it , I get this: Bareword found where operator expected at /var/qmail/bin/convert-and-create line 8, near "/var/spool" (Missing operator before pool?) syntax error at /var/qmail/bin/convert-and-create line 8, near "/var/spool" Execution of /var/qmail/bin/convert-and-create aborted due to compilation e rrors. Anyone ever come across this one? Any help is appreciated tony.campisi
pop3d questions
Hi, I created a /var/qmail/supervise/qmail-pop3d/run file #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mailperson2.cardinalservices.com \ /usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 Does anyone see any drawbacks to running pop3d like this? My /var/log/qmail/pop3d/current files contents look like this: @400039720b74038df72c tcpserver: end 3255 status 256 @400039720b74038ee574 tcpserver: status: 0/40 I want my log files to have dates that I can read. I tried putting this in my /var/qmail/supervise/qmail-pop3d/log/run file but it's not working as planned. exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t | /usr/local/bin/tai64nlocal /var/log/qmail/pop3d Can someone tell me if I am anywhere close to getting this right? thanks tony.campisi
problem stopping qmail
hello, I installed qmail according to LWQ . LWQ says, To use tcpserver, add the following to your qmail startup script (not inetd.conf): tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \ /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \ /var/qmail/bin/splogger pop3d & where pop3 is the name of the POP3 service listed in /etc/services and FQDN is the fully qualified domain name of the POP server you're setting up, e.g., pop.example.net So I added it to my /etc/rc.d/init.d/qmail file that I created #!/bin/sh PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin export PATH # This line will add POP3d to our installation tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mailperson2.cardinalservices.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \ /var/qmail/bin/splogger pop3d & case "$1" in start) echo -n "Starting qmail: svscan" cd /var/qmail/supervise env - PATH="$PATH" svscan & echo $! > /var/run/svscan.pid echo "." ;; stop) echo -n "Stopping qmail: svscan" kill `cat /var/run/svscan.pid` echo -n " qmail" svc -dx /var/qmail/supervise/* echo -n " logging" svc -dx /var/qmail/supervise/*/log echo "." ;; stat) cd /var/qmail/supervise svstat * */log ;; doqueue|alrm) echo "Sending ALRM signal to qmail-send." svc -a /var/qmail/supervise/qmail-send ;; queue) qmail-qstat qmail-qread ;; reload|hup) echo "Sending HUP signal to qmail-send." svc -h /var/qmail/supervise/qmail-send ;; pause) echo "Pausing qmail-send" svc -p /var/qmail/supervise/qmail-send echo "Pausing qmail-smtpd" svc -p /var/qmail/supervise/qmail-smtpd ;; cont) echo "Continuing qmail-send" svc -c /var/qmail/supervise/qmail-send echo "Continuing qmail-smtpd" svc -c /var/qmail/supervise/qmail-smtpd ;; restart) echo "Restarting qmail:" echo "* Stopping qmail-smtpd." svc -d /var/qmail/supervise/qmail-smtpd echo "* Sending qmail-send SIGTERM and restarting." svc -t /var/qmail/supervise/qmail-send echo "* Restarting qmail-smtpd." svc -u /var/qmail/supervise/qmail-smtpd ;; cdb) tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp chmod 644 /etc/tcp.smtp* echo "Reloaded /etc/tcp.smtp." ;; help) cat <
linux, large todo, slow local and remote queue
an employee, deliver mail according to fastforward based /etc/aliases rule. else forward mail to "[EMAIL PROTECTED]" done There is a smtproute for foo.fake to pair.quepasa.com. pair.quepasa.com accepts the mail for virtual domain foo.fake, then forwards it [EMAIL PROTECTED] pair.quepasa.com had a smtproute that sends all quepasa.com mail to inbound.quepasa.com.criticalpath.net. Pair's entire function is to change mail that comes in as [EMAIL PROTECTED], back to a clean quepasa.com address. -- Tony Hansmann ([EMAIL PROTECTED]) Director of Technical Services Quepasa.com, INC. 602-716-0100
start/stop question
Hello. I'm using pop3d and checkpassword for my pop server. When I start my qmail with the command 'usr/local/sbin/qmail start' I get this output through ps ax | grep qmail 8037 p0 S0:00 grep qmail 8925 p0 S0:00 tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mailp erson 8926 p0 S0:00 /var/qmail/bin/splogger pop3d 8928 p0 S0:00 supervise qmail-send 8930 p0 S0:00 supervise qmail-smtpd 8941 p0 S0:00 qmail-lspawn ./Maildir/ 8935 p0 S0:00 /usr/local/bin/multilog t /var/log/qmail/smtpd 8940 p0 S0:00 splogger qmail 8943 p0 S0:00 qmail-clean 8942 p0 S0:00 qmail-rspawn 8932 p0 S0:00 qmail-send My var/qmail/rc looks like this exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ My etc/rc.d/init.d/qmail has this line in it tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mailbox2.companyname.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \ /var/qmail/bin/splogger pop3d & Now when I stop qmail using /usr/local/sbin/qmail stop it says Stopping qmail: svscan qmail logging. and these process are still runnning 8925 p0 S0:00 tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mailp erson 8926 p0 S0:00 /var/qmail/bin/splogger pop3d So I kill 8925 and they both go away. My question...I know Dave's scripts are air-tight, but why are these 2 processes hanging around? thanks ! tony.campisi
Re: qsanity question answered
: Tony Campisi writes: : > [root@# /var/qmail/bin]# ./qmail-qread : > [root@# /var/qmail/bin]# ./qmail-qsanity : > message has no entry in info: 50493 : > message is neither local nor remote: 50493 : > : > My question.. is there any way to look at this message and /or deliver it? : : As root (or qmailq), look at /var/qmail/queue/*/*/50493. ... Thanks Paul. I found it. It was a cron message. tC
qsanity question
Hello all. I installed qmail-qsanity from http://www.qmail.org/qmail-qsanity-0.52 yesterday. Here is some output from this morning. [root@# /var/qmail/bin]# ./qmail-qstat messages in queue: 1 messages in queue but not yet preprocessed: 0 [root@# /var/qmail/bin]# ./qmail-qread [root@# /var/qmail/bin]# ./qmail-qsanity message has no entry in info: 50493 message is neither local nor remote: 50493 My question.. is there any way to look at this message and /or deliver it? thanks, tony.campisi
Re: SMTP port 25 - cannot connect (new clues?)
> BTW: if you're recieving mail from the Net the problem isn't with > your server config but with your local config ;) > BTW: tried another telnet client ? I did try telnetting in with my Tera Term program, and that didn't work either. I sent a mail to an account on the mailserver, and this showed up in /var/log/qmail/smtpd @4000396775ac39eb33ac tcpserver: pid 19137 from 207.69.200.226 @4000396775ad1c564b9c tcpserver: ok 19137 :192.168.1.247:25 blount.mail.mind spring.net:207.69.200.226::4766 @4000396775ae14e7b134 tcpserver: end 19137 status 0 @4000396775ae14e7e3fc tcpserver: status: 0/40 my /var/log/maillog says Jul 8 13:49:12 mailperson2 pop3d: 963082152.910890 tcpserver: status: 1/40 Jul 8 13:49:12 mailperson2 pop3d: 963082152.912702 tcpserver: pid 4471 from 209 .138.163.167 Jul 8 13:49:12 mailperson2 pop3d: 963082152.951141 tcpserver: ok 4471 :192.168. 1.247:110 pool-209-138-163-167.dlls.grid.net:209.138.163.167::1283 So the mail is getting there, but I am not getting the mail at my house and it is not in my /new folder. That made me look at this... [root@mailperson2]# /var/qmail/bin/qmail-qstat messages in queue: 10 messages in queue but not yet preprocessed: 8 So what is not running to flush these mails out? Does this have anything to do with my original problem? TIA, tony.campisi
Re: SMTP port 25 - cannot connect
> H, there's something wrong on your home end : > Work like a charm from my end :-) Thanks for your help Steffan! I looked in my /var/log/qmail/smtpd and saw this. @400039676f90255891dc tcpserver: pid 29286 from 212.64.80.2 @400039676f9136331194 tcpserver: ok 29286 :192.168.1.247:25 1dyn2.vb.casema. net:212.64.80.2::12378 I can guess this is you, so that does narrow the problem down to my end. h. Thanks for your timely responses. I appreciate it. tony.campisi
Re: SMTP port 25 - cannot connect
It may very well be the firewall. > What's the REAL name of the server ? mailperson2.cardinalservices.com also, [root@mailperson2 /etc]# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 mailperson2.cardinalservices.com ESMTP ehlo 250-mailperson2.cardinalservices.com 250-PIPELINING 250 8BITMIME thanks, tony.campisi
Re: SMTP port 25 - cannot connect
> What's the contents of tcp.smtp ? > If you telnet to mailmachine2.compantname.com and then do a telnet localhost > 25, what happens ? > > Greetz, > Steffan contents of /etc/tcp.smtp 127.:allow,RELAYCLIENT="" 127.0.0.1:allow,RELAYCLIENT="" 192.168.1.:allow,RELAYCLIENT="" :allow I am connected to a Mindspring account and I am using Tera Term to work on the server. [root@mailmachine2 /etc]# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 mailmachine2.companyname.com ESMTP when I hit Enter it says 502 unimplemented (#5.5.1) thanks for the quick reply, tony.campisi
SMTP port 25 - cannot connect
Hello all! I really want to thank Dave Sill for writing "Life with qmail." I realized that if you follow the directions EXACTLY, good things are bound to happen. After 2 previous failed attempts in installing qmail, I completely removed everything qmailish from my system. Sendmail was also pulled out by the roots. I carefully went step-by-step and when I was finished I only had to chown and chgrp some files that were left over from the previous attempts. This is the output of a ps right after the install. qmaild /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 878 -g 602 0 smtp /var/qmail/bin/qmail-smtpd qmaill/usr/local/bin/multilog t /var/log/qmail qmaill/usr/local/bin/multilog t /var/log/qmail/smtpd qmailq qmail-clean qmailr qmail-rspawn qmails qmail-send root supervise qmail-send root supervise qmail-smtpd root qmail-lspawn ./Maildir/ /var/qmail/supervise/qmail-smtpd/run looks like this #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 This is where my problem begins. I cannot access port 25 on my mail server. I am accessing the machine from my home this weekend. When I 'telnet mailmachine2.companyname.com 25' I get 'Connect Failed - Could not open a connection'. Inetd is not maintaining my POP3 and SMTP anymore, tcpserver is. There is NO mention of either POP or SMTP in the inet.conf file. This is where I usually get stumped. I will gladly post any output you request. :) 2- This is not a problem, I would just like to make sure I did this properly. I added this line to my /etc/rc.d/init.d/qmail startup file. My users will be checking their mail through Outlook Express and I want to use pop3d / checkpassword to do this. tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mailmachine2.companyname.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \ /var/qmail/bin/splogger pop3d & this is the output of ps after I added the above line qmaild /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 878 -g 602 0 smtp /var/qmail/bin/qmail-smtpd qmaill /usr/local/bin/multilog t /var/log/qmail/smtpd qmailq qmail-clean qmailr qmail-rspawn qmails qmail-send root tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mailmachine2.companyname.com /bin/checkpassword root /var/qmail/bin/splogger pop3d root supervise qmail-send root supervise qmail-smtpd root qmail-lspawn ./Maildir/ Once again, thanks for any help you can give me, tony.campisi
Multilog: fatal: the final answer (hopefully)
Back in March someone asked about the multilog: fatal: unable to open directory /var/log/qmail: access denied problem. Dave asked that person to Post the output of: ls -ld /var/log/qmail /var/log /var / cat /var/qmail/supervise/qmail-send/log/run but I searched the archive and didn't see their reply. Since I am getting the same problem, I will do as Dave suggests. [root@* /var/log/qmail]# ls -ld /var/log/qmail /var/log /var / drwxr-xr-x 19 root root 1024 Jun 21 16:05 / drwxr-xr-x 18 root root 1024 May 31 14:33 /var drwxr-xr-x 7 root root 1024 Jun 25 04:02 /var/log drwxrwxr-x 6 qmaill qmail1024 May 31 14:37 /var/log/qmail - [root@* /var/log/qmail]# cat /var/qmail/supervise/qmail-send/log/run #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail - BTW - I am also getting the 'multilog: fatal: unable to lock directory /var/log/qmail/smtpd: access denied' error. [root@* /var/log/qmail]# dir drwxrwxr-x 2 879 root 1024 May 31 11:29 qmail-pop3d drwxrwxr-x 2 879 root 1024 Jun 26 10:31 qmail-send drwxrwxr-x 2 qmaill qmail1024 Jun 26 10:16 qmail-smtpd drwxrwxr-x 2 qmaill nofiles 1024 Jun 1 11:22 smtpd -- I'll gladly give any more info if needed. Thanks again, tony.campisi
Re: Planning an Install and need Help.
Dave, thank you so much for the information! I will follow your "Life with qmail" to the letter. I have to clarify a few things though. You mentioned in your reply, "With qmail, users can redirect their mail using their .qmail file. E.g., ~courtney.love/.qmail could contain: [EMAIL PROTECTED] You'll need to convert your /etc/alias redirections into .qmail files." Q - Would doing this be the same as using the fastforward package? I misspoke when I asked this question. "Are syslog and multilog the same thing/different and which one should I use?" I meant to ask about splogger/multilog. When I follow the LWQ, which logging tool will be used? I can build a house with all these logs. :-D thanks again, tony.campisi
Planning an Install and need Help.
My email needs are small time in comparison to some of the installs out there. I have approx. 300 users on my network (LAN no dialups). All of my users are checking their mail with Outlook Express from MS. We are currently using Sendmail on a Linux 5.2 install. The users email settings have them checking both POP3 and SMTP on the IP address of the mail server, which is 192.168.*.*. Each of the users have an account on the Linux machine under /home/firstname.lastname. An example of an email address is [EMAIL PROTECTED] A few of my users have aliases set up in /etc/aliases so that their companyname email is sent to a mindspring address so they can check it on their laptops on the road. I don't want to make this any harder than it has to be! Can someone/anyone please give me some insight as to what I will need to make this configuration work for me? >From what I have read on the mailing list, Maildir delivery seems to be the way to >go. Is pop3d something I will need? Is syslog and multilog the same thing/different and which one should I use? I'm pretty sure I will need the fastforward, uscpi-tcp(tcpserver), daemontools(supervise), qmailanalog and rblsmtpd packages. Honestly, I really appreciate any advice you can give me about this. I tried to do it on my own, and it's not working out at all. Thank you very much, tony.campisi
multilog/splogger
Thanks to everyone that helped me get qmail started! I really appreciate it. This is a copy of my ps ax ps ax PID TTY STAT TIME COMMAND 1 ? S0:03 init [3] 2 ? SW 0:00 (kflushd) 3 ? SW< 0:00 (kswapd) 4 ? SW 0:00 (md_thread) 5 ? SW 0:00 (md_thread) 36 ? S0:00 /sbin/kerneld 213 ? S0:00 syslogd 222 ? S0:00 klogd 244 ? S0:00 crond 256 ? S0:00 inetd 267 ? S0:00 named 279 ? S0:00 rpc.mountd 288 ? S0:00 rpc.nfsd 302 ? S0:00 gpm -t ps/2 313 ? S0:00 httpd 336 ? S0:00 smbd -D 345 ? S0:01 nmbd -D 366 2 S0:00 /sbin/mingetty tty2 367 3 S0:00 /sbin/mingetty tty3 368 4 S0:00 /sbin/mingetty tty4 369 5 S0:00 /sbin/mingetty tty5 370 6 S0:00 /sbin/mingetty tty6 372 ? S0:00 update (bdflush) 431 1 S0:00 /sbin/mingetty tty1 4048 ? S0:00 svscan 4125 ? S0:00 supervise qmail-send 4126 ? S0:00 supervise log 4127 ? S0:00 supervise qmail-smtpd 4128 ? S0:00 supervise log 4131 ? S0:00 qmail-lspawn |dot-forward .forward\012./Maildir/ 5077 ? S0:00 in.telnetd 5119 p1 S0:00 su 5120 p1 S0:00 bash 5170 p1 R0:00 ps ax 199 ? S0:00 portmap 233 ? S0:00 /usr/sbin/atd 317 ? S0:00 httpd 318 ? S0:00 httpd 319 ? S0:00 httpd 320 ? S0:00 httpd 321 ? S0:00 httpd 322 ? S0:00 httpd 323 ? S0:00 httpd 324 ? S0:00 httpd 326 ? S0:00 httpd 327 ? S0:00 httpd 5078 p1 S0:00 -bash 4134 ? S0:00 /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 4130 ? S0:00 /usr/local/bin/multilog t s250 /var/log/qmail/qmail 4135 ? S0:00 /usr/local/bin/multilog t s250 /var/log/qmail/qmail 4133 ? S0:00 qmail-clean 4132 ? S0:00 qmail-rspawn 4129 ? S0:00 qmail-send - Can someone tell me if anything is either missing or shouldn't be there? I'm reading through D.J.'s faq and I'm at part 9.1 about running qmail-smtpd under tcpserver. I installed the ucspi-tcp 0.88 package. This is what I see in my inetd.conf file : # do not uncomment smtp unless you *really* know what you are doing. # smtp is handled by the sendmail daemon now, not smtpd. It does NOT # run from here, it is started at boot time from /etc/rc.d/rc#.d. #smtp stream tcp nowait root/usr/bin/smtpd smtpd #nntp stream tcp nowait root/usr/sbin/tcpd in.nntpd Do I remove these lines? ..continuing...Remove the smtp line from /etc/inetd.conf, and put the two lines tcpserver -v -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd \ 2>&1 | /var/qmail/bin/splogger smtpd 3 & into your system boot scripts; replace 7770 with your qmaild uid, and replace 2108 with your nofiles gid. I know I want to use multilog instead of splogger. Should I replace the splogger part of the script with multilog? And if so, please tell me what to put. Your help is appreciated, tony.campisi
multilog/splogger
Thanks to everyone that helped me get qmail started! I really appreciate it. This is a copy of my ps ax ps ax PID TTY STAT TIME COMMAND 1 ? S0:03 init [3] 2 ? SW 0:00 (kflushd) 3 ? SW< 0:00 (kswapd) 4 ? SW 0:00 (md_thread) 5 ? SW 0:00 (md_thread) 36 ? S0:00 /sbin/kerneld 213 ? S0:00 syslogd 222 ? S0:00 klogd 244 ? S0:00 crond 256 ? S0:00 inetd 267 ? S0:00 named 279 ? S0:00 rpc.mountd 288 ? S0:00 rpc.nfsd 302 ? S0:00 gpm -t ps/2 313 ? S0:00 httpd 336 ? S0:00 smbd -D 345 ? S0:01 nmbd -D 366 2 S0:00 /sbin/mingetty tty2 367 3 S0:00 /sbin/mingetty tty3 368 4 S0:00 /sbin/mingetty tty4 369 5 S0:00 /sbin/mingetty tty5 370 6 S0:00 /sbin/mingetty tty6 372 ? S0:00 update (bdflush) 431 1 S0:00 /sbin/mingetty tty1 4048 ? S0:00 svscan 4125 ? S0:00 supervise qmail-send 4126 ? S0:00 supervise log 4127 ? S0:00 supervise qmail-smtpd 4128 ? S0:00 supervise log 4131 ? S0:00 qmail-lspawn |dot-forward .forward\012./Maildir/ 5077 ? S0:00 in.telnetd 5119 p1 S0:00 su 5120 p1 S0:00 bash 5170 p1 R0:00 ps ax 199 ? S0:00 portmap 233 ? S0:00 /usr/sbin/atd 317 ? S0:00 httpd 318 ? S0:00 httpd 319 ? S0:00 httpd 320 ? S0:00 httpd 321 ? S0:00 httpd 322 ? S0:00 httpd 323 ? S0:00 httpd 324 ? S0:00 httpd 326 ? S0:00 httpd 327 ? S0:00 httpd 5078 p1 S0:00 -bash 4134 ? S0:00 /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 4130 ? S0:00 /usr/local/bin/multilog t s250 /var/log/qmail/qmail 4135 ? S0:00 /usr/local/bin/multilog t s250 /var/log/qmail/qmail 4133 ? S0:00 qmail-clean 4132 ? S0:00 qmail-rspawn 4129 ? S0:00 qmail-send - Can someone tell me if anything is either missing or shouldn't be there? I'm reading through D.J.'s faq and I'm at part 9.1 about running qmail-smtpd under tcpserver. I installed the ucspi-tcp 0.88 package. This is what I see in my inetd.conf file : # do not uncomment smtp unless you *really* know what you are doing. # smtp is handled by the sendmail daemon now, not smtpd. It does NOT # run from here, it is started at boot time from /etc/rc.d/rc#.d. #smtp stream tcp nowait root/usr/bin/smtpd smtpd #nntp stream tcp nowait root/usr/sbin/tcpd in.nntpd Do I remove these lines? ..continuing...Remove the smtp line from /etc/inetd.conf, and put the two lines tcpserver -v -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd \ 2>&1 | /var/qmail/bin/splogger smtpd 3 & into your system boot scripts; replace 7770 with your qmaild uid, and replace 2108 with your nofiles gid. I know I want to use multilog instead of splogger. Should I replace the splogger part of the script with multilog? And if so, please tell me what to put. Your help is appreciated, tony.campisi
Almost Started qmail
I just wanted to thank everyone for their help so far! I'm close to getting this together and running but I'm still getting one error at startup! supervise: fatal: unable to start qmail-smtpd/run: exec format error My /var/qmail/supervise/qmail-smtpd/run file contains: #!/bin/sh QMAILDUID=`id -u qmaill` NOFILESGID=`id -g qmaill` exec /usr/local/bin/softlimit -m 300 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 Dave Kelly asked : Q- Something is already bound to port 25. Have you turned off sendmail? A- Yes, Sendmail is dead but I still can't telnet to port 25. Q- Have you checked to see that there are no errant qmail-smtpd processes already running? A- No qmail processes are running. (Plus, you'll still need to correct the ownership or permissions on /var/log/qmail) drwxrwxr-x 6 qmaill root 1024 May 31 14:37 qmail I changed some things around in my /etc/passwd file, but I'm such a newbie I don't which one is correct. From LWQ section 2.5.4 I had, qmaill:*:879:602::/var/qmail:/bin/true and from another source I had, qmaill:!!:879:602::/var/qmail:/bin/bash (this is in there now). I don't know if the above has anything to do with my problem. Is one format correct and the other not? Thanks for your help and patience! tony.campisi
Re: Trouble Starting qmail
: What's in your qmail-smtpd/run file? There's an error with the call to exec : in there, it appears. Actually there's an error I missed upon startup. /usr/local/sbin/qmail start Starting qmail: svscan. tcpserver: fatal: unable to bind: address already used multilog: fatal: unable to lock directory /var/log/qmail: access denied multilog: fatal: unable to lock directory /var/log/qmail/smtpd: access deni ed supervise: fatal: unable to start qmail-smtpd/run: exec format error My /var/qmail/supervise/qmail-smtpd/run file contains: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 I took this directly from LWQ. Is the problem with tcpserver? I don't know what "address already used" means. Any ideas? tony.campisi
Trouble Starting qmail
When I attempt to start qmail the following errors scroll continuously accross my screen. multilog: fatal: unable to lock directory /var/log/qmail/smtpd: access deni ed multilog: fatal: unable to lock directory /var/log/qmail: access denied supervise: fatal: unable to start qmail-smtpd/run: exec format error I have followed LWQ to the best of my meager ability. Can someone please help this misguided soul? TIA, /tony.campisi
Re: Maildir..Reheated
: The name of the maildir should not be {username}; it should be Maildir. - Please forgive my ignorance but I've only been using Linux for 3 months and qmail for just a few days.. After I "su - username" do I "/var/qmail/bin/maildirmake {username}" or "/var/qmail/bin/maildirmake maildir" ? TIA, /tony.campisi
Re: Maildir..Reheated
: Try : su - al.koch : instead of : su al.koch --- That worked for me Peter. Thank you. One more question. My users folders (on the backup machine I'm testing this on) are located under /usr/home. Is this correct or should they be under /home? I seem to have read this somewhere. I initially created all of the accounts using 'userconf' > 'user accounts'. If they are actually supposed to be under /home, is there a way to move them all without re-creating them? On my main mail server the accounts are under the /home directory. Thanks for your help!, /tony.campisi
Maildir..Reheated
At 16:21 00/06/17 -0600, you wrote: > > can u help me setting up Maildir > > here iam not able to setup Maildir > Easy, correct method: > /var/qmail/bin/maildirmake {username} Don't forget to "su" to the user before you execute maildirmake. Kristina -- I'm using a RedHat 5.2 install running Sendmail. I am installing qmail on this backup machine at this time. Our naming convention is - [EMAIL PROTECTED] [root@mailperson2 /var/qmail]# su al.koch [al.koch@mailperson2 /var/qmail]$ /var/qmail/bin/maildirmake al.koch maildirmake: fatal: unable to mkdir al.koch: access denied What am I missing here? All of my users (only 250) are under /usr/home/. Should they be under the /home directory? TIA, //tony.campisi
Qmail & ETRN
Hi all, I am rather surprised to see that no one has offered any assistance in the Qmail ETRN problem that I am experiencing. Does no one use ETRN ? Is there someone who can assist ? Thank You Tony Wade (Postmaster) The Internet Solution Tel:(+27 11) 283 5000 E-mail: [EMAIL PROTECTED] #include A career is great, but you can't run your fingers through its hair.
458 Couldn't exec qmail-etrn
Hi all, I have installed Qmail-1.03 with: qmail-103.patch qmail-date-localtime.patch qmail-etrn-0.1f.diff ucspi-tcp-0.84 fastforward-0.51 All running on 4.0-RELEASE FreeBSD When i send an email from: machine1 to user@machine3 the mail arrives at machine2 (secondary MX for Machine3) I then get on machine3 and manually run etrn machine3 Apon doing so, I get the error "458 Couldn't exec qmail-etrn" In /var/qmail/control/etrn I have the following machine3192.168.0.10/32 192.168.0.10/32 Can someone please tell me what I have done wrong ? Thank you Tony Wade (Postmaster) The Internet Solution Tel:(+27 11) 283 5000 E-mail: [EMAIL PROTECTED] #include
ETRN & mail Queueing
Hi all, Could someone point me to any docs on ETRN and Mail Queueing with Qmail. Thank You -- Tony Wade (Postmaster) The Internet Solution Tel:(+27 11) 283 5000 E-mail: [EMAIL PROTECTED] #include
RE: Which version of Qmail to use?
James. Best to use the source and compile qmail yourself. get the qmail-1.03.tar.gz Thank You Tony Wade (Postmaster) The Internet Solution Tel:(+27 11) 283 5000 E-mail: [EMAIL PROTECTED] #include -Original Message- From: James [mailto:[EMAIL PROTECTED]] Sent: Monday, May 08, 2000 12:35 AM To: [EMAIL PROTECTED] Subject: Which version of Qmail to use? After 4 days of not being able to get Qmail working properly for me, I've decided to completely wipe *every* trace of sendmail and *every* trace of qmail on my system (Mandrake 7.02).. then install Qmail from scratch all over again using "life with Qmail" suggestions. I've noticed there is a version of Qmail called var-qmail-1.03-2-gnu-linux-i686 and another version just called qmail-1.03.tar.gz Which one do I use for Mandrake 7.02? I was able to get the var-qmail one to work only halfway (Can send but not receive), and when I tried installing the regular qmail, I couldn't send OR receive. After I wipe every trace of qmail and sendmail from my system, which version will be the best for me to use? james
How do I invoke the qmail-users Mechanism ??
Hi. I dont understand how to invoke the qmail-users system. I have a server and /var/qmail/users/ is empty. I would like to be able to use the "assign" mechanism. How do i do this ? I tried to run qmail-pw2u but it just seems to hang forever. This is how it says to do it in Life with Qmail. Also if i start using 'assign' will it somehow mess up my exisiting config ? Does qmail have to be restarted as well ?? thanks in advance ! tony
RE: qmail won't compile
If you open any text qmail text file on your Windoz machine, make you to use a text editor on your unix to resave the file as Windoz and Unix handle line break differently. This may or may not be the problem you're experiencing. Tony M. . iWon.com http://www.iwon.com why wouldn't you? . I'm running Linux 5.2 and want to switch from sendmail to qmail. I downloaded qmail 1.03 to a Windoze machine on my intranet, unzipped (WinZip 7.0) it into a directory called "qmail" in my home director on the Linux box, created /var/qmail, added the groups and users specified in INSTALL.ids, then switched to "qmail" in my home directory and typed "make setup check" as per step 3 of the INSTALL instructions. I get an error message saying "makefile:8: *** missing separator. Stop." There are 433 files in "qmail" in my home directory. What am I doing wrong please? Mike Robinson [EMAIL PROTECTED] From the Backup Server at:__Rawlinsons (Qld) Phone +61 7 3221 852246 Edward Street Fax +61 7 3229 5873 Brisbane Qld 4000 e-mail [EMAIL PROTECTED]AUSTRALIA web www.rawlinsons.com.au__
Re: HLP: How do I know if qmail received my emails?
Thanks Paul. That works well. If I was to include this Maildir in the /etc/skel so that the next time I create a user, this directory will be create for that as well, what do I have to do to ensure this new user will automatically entitle to his/her Maildir directory? --Original Message-- From: Paul Jarc <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: February 19, 2000 9:00:55 AM GMT Subject: Re: HLP: How do I know if qmail received my emails? Tony Mai writes: > #cd /home/tmai > #/var/qmail/bin/maildirmake /home/tmai/Maildir I assume from the `#'s that you did this as root. Your Maildir needs to be owned by tmai. (Assuming Linux; tweak the following commands as necessary for your system.) # chown -R tmai.tmai ~tmai/Maildir# as root Then, unless you changed the system's default delivery method to be Maildir instead of mbox, you'll need to do: $ echo '/home/tmai/Maildir/' > ~tmai/.qmail # as tmai paul . iWon.com http://www.iwon.com why wouldn't you? .
HLP: How do I know if qmail received my emails?
Hello all, How do I verify if qmail has received a remote email my friend sent to me. The email did not bounce. I have set up a user account on this qmail server named tmai. qmail was set up to use Maildir. When I browse the /home/tmai/Maildir I saw three empty directories cur, new and tmp. There was no sign of new email. Could someone guide me through setting up a new user on this qmail server please? What I did was after I created the tmai userid: #cd /home/tmai #/var/qmail/bin/maildirmake /home/tmai/Maildir I also set up some aliases as: #echo tmai > /var/qmail/alias/.qmail-root #echo tmai > /var/qmail/alias/.qmail-postmaster #ln -s /var/qmail/alias/.qmail-postmaster /var/qmail/alias/.qmail-mailer-daemon #chmod 644 /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-postmaster Just like it was instructed in the LWQ. Any help are greatly appreciated. Thanks Tony M. . iWon.com http://www.iwon.com why wouldn't you? .
MIME trouble or what?
This is the first time qmail is giving me a headache Mail sent to my qmail server from 1 person in norway get stuck somehow. I'm sending along one of the replys this person got from qmail. But as I get it the problem is "=?iso-8859-1?Q?Johansson=2C_G=F6ran?= <[EMAIL PROTECTED]" that should go to "[EMAIL PROTECTED]" gets interpreted as "Johansson" and qmail tries to deliver it to a local user called "Johansson". What can I do about this? /Regards Tony Gottfridsson <[EMAIL PROTECTED]> Error reply from qmail: Hi. This is the qmail-send program at kurs. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. : Sorry, no mailbox here by that name. (#5.1.1) : Sorry, no mailbox here by that name. (#5.1.1) : Sorry, no mailbox here by that name. (#5.1.1) --- Below this line is a copy of the message. Return-Path: <[EMAIL PROTECTED]> Received: (qmail 11975 invoked from network); 18 Jan 2000 10:07:03 - Received: from ppp-212.125.161.225.sensewave.com (HELO oemcomputer) (212.125.161.225) by spektakel.sandviken.perceptive.se with SMTP; 18 Jan 2000 10:07:03 - Message-ID: <00f301bf619b$7b55a9e0$e1a17dd4@oemcomputer> From: "Kjetil Barfelt" <[EMAIL PROTECTED]> To: =?iso-8859-1?Q?Johansson=2C_G=F6ran?= <[EMAIL PROTECTED]>, =?iso-8859-1?Q?Hildell=2C_Bj=F6rn?= <[EMAIL PROTECTED]>, "Austad, Paal" <[EMAIL PROTECTED]> Cc: =?iso-8859-1?Q?J=E4rnland=2C_Hans?= <[EMAIL PROTECTED]> Subject: VECKORAPPORT - KAHR - v2/00 Date: Tue, 18 Jan 2000 11:04:41 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_NextPart_000_00E5_01BF61A3.D1E0D700" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Dette er en flerdelt melding i MIME-format. --=_NextPart_000_00E5_01BF61A3.D1E0D700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable --- snip ---
RE: Problems receiving mail
Paul, I would suggest using tcpserver. http://cr.yp.to/ucspi-tcp.html alternativly, ensure that you have the right comment in /etc/inetd.conf Tony Wade The Internet Solution Tel:(+27 11) 283 5000 E-mail: [EMAIL PROTECTED] #include I wouldn't be so paranoid if you weren't all out to get me !! > -Original Message- > From: Paul Charsley [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 07, 1999 10:03 PM > To: 'qmail' > Subject: Problems receiving mail > > > I have installed qmail and can successfully send mail both > locally and to > remote addresses. However, I am unable to receive messages > from a remote > address. I do not use Fetchmail since my linux server is permanently > connected. When I do the first test in TEST.receive (forge > some mail locally > via SMTP) I get the following: > > #telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > Connection closed by foreign host. > > I have enabled smtp in /etc/inetd.conf and the command > "netstat -a |grep > LISTEN" shows smtp as listening for requests. > > When I send a message from a remote machine it is not > received and nothing > appears in the log file. Is there something I'm missing or is > there some > extra configuration I have to do in order to get smtp to work > with qmail. > > Any help will be gratefully received. > > Paul >
Re: Sendmail Virtusertable equivalent?
Richard, I (and possible others) would be interested in your experiences, any gotchas that you ran into. I am looking at converting 15,000 users and 1200 virtual domains away from sendmail to qmail as soon as I can learn all of the qmail options. Thanks, --tony - Original Message - From: "Richard Roderick" <[EMAIL PROTECTED]> To: "Michael T. Halligan" <[EMAIL PROTECTED]>; "Daniel Mattos" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, December 06, 1999 3:35 PM Subject: Re: Sendmail Virtusertable equivalent? > In answer to the original question: > > It's not easy. I just finished developing the tools to deal with all of it. > Other people have tools readily available. I didn't like them. I already > had my 500+ domains in a MySQL database dealing with everything, so I added > support for the creating the .qmail files necessary to accomplish the task. > > I have not converted to qmail yet, I am in the setup and testing phase (99% > done). > This particular task has been way too difficult and I feel there is a major > need for some talented qmail person to deal with the issue of virtusertable > in a fastforward like program. (If not fastforward itself) > > I get the impression that the easiest solution is to move it all to the > aliases file and use fastforward. Not my idea of clean. > > Anyway. I made tools to do what this guy asked for because, it ain't easy > or it ain't documented well. (I realize similar tools were already available > but didn't necessarily work with my data set ;) > > Richard > PS. If you care: > > System: Multiple FreeBSD boxes behind a server iron. > > For SMTP I'm running qmail with these patches: >big-todo, concurrency, tarpit, dns, etrn (modified patch from some ones > email, >it just says "yes i support etrn"), and qmail-popbull (modified to > record which >bulletins had been downloaded by each user in their .popbull file) > > For POP3 I'm running Mysql+Qmail checkpassword and qmail-pop3d. (slight > modification to deal with qmail not using Mysql) > > For user file and pop authentication. Mysql database generating > users/assign. Mysql database used for pop authentication. > > For virtual mail and mail forwards. Mysql databases managing .qmail files. > > Need to: Setup EZMLM and vacation support. > > (*Thank you* to *ALL* the great people who made doing this possible!!!) > (Dan,Russell,Dave, etc!) (sorry only 3 first names I remember :( ) > >
Date Issue
Hi all, I have a Qmail server running on Jurix. In /etc/rc.config i have the timezone set as follows. TIMEZONE="Africa/Johannesburg" If i run date i get the following Fri Dec 3 10:38:14 SAST 1999 Yet Qmail sets the dates as Received: (qmail 22496 invoked from network); 3 Dec 1999 07:38:30 - Is there a way that i can change it to reflect Received: (qmail 22496 invoked from network); 3 Dec 1999 09:38:30 +0200 Thank You Tony Wade (Postmaster) The Internet Solution Tel:(+27 11) 283 5000 E-mail: [EMAIL PROTECTED] #include I wouldn't be so paranoid if you weren't all out to get me !!
Re: virtualdomains setup trouble
Philip, That did it! I had a blank .qmail-default Doh!! I knew it had to be something simple that I would slap my head with! Thanks for the help. Now, is it possible for qmail to send mail to a virtual domain to different poeple. For example in virtualdomains I would like to put: stockdigest.net:tony [EMAIL PROTECTED]:[EMAIL PROTECTED] --tony - Original Message - From: "Philip Gabbert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 28, 1999 10:23 PM Subject: Re: virtualdomains setup trouble > > In the .qmail-default file that's located in tony's directory you need to > have "./Maildir/" > I found that I'm having to use .qmail-default insead of .qmail, so I would > try that. > > Pretty much copy or rename your .qmail file to .qmail-default. > > Philip > > > From: "tony cricelli" <[EMAIL PROTECTED]> > > Date: Sat, 27 Nov 1999 02:11:30 -0800 > > To: <[EMAIL PROTECTED]> > > Subject: Re: virtualdomains setup trouble > > > > Here is what I have: > > > > grep stock /var/qmail/control/rcpthosts > > stockdigest.net > > stockdigest.com > > stock-digest.com > > > > grep stock /var/qmail/control/virtualdomains > > stockdigest.net:tony > > stockdigest.com:tony > > stock-digest.com:tony > > > > Should the .qmail-default have anything special in there? > > > > --tony > > > > - Original Message - > > From: "John White" <[EMAIL PROTECTED]> > > To: "tony cricelli" <[EMAIL PROTECTED]> > > Sent: Sunday, November 28, 1999 7:53 PM > > Subject: Re: virtualdomains setup trouble > > > > > >> What are the results of: > >> > >> grep stock /var/qmail/control/rcpthosts > >> grep stock /var/qmail/control/virtualdomains > >> > > > > > >
Re: virtualdomains setup trouble
Philip, Here is a copy of the error message: Date: 29 Nov 1999 02:10:10 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at comsystem.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <[EMAIL PROTECTED]>: Sorry, no mailbox here by that name. (#5.1.1) --- Below this line is a copy of the message. Return-Path: <[EMAIL PROTECTED]> Received: (qmail 26422 invoked by uid 0); 29 Nov 1999 02:10:10 - Date: 29 Nov 1999 02:10:10 - Message-ID: <[EMAIL PROTECTED]> From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: test Return-Path: <[EMAIL PROTECTED]> Received: (qmail 26422 invoked by uid 0); 29 Nov 1999 02:10:10 - Date: 29 Nov 1999 02:10:10 - Message-ID: <[EMAIL PROTECTED]> From: [EMAIL PROTECTED] == dod was just a random name I picked to test with. Maybe I have to do something special in the tony account. The .qmail files are still a little foggy in my mind. --tony - Original Message - From: "Philip Gabbert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 28, 1999 8:06 PM Subject: Re: virtualdomains setup trouble > It's defiantly wrong to place it in the locals. Qmail looks in the locals > first. If it finds the needed domain, it will check for a local user, if > it's not found, it will bounce. > > What's the error message that you are getting? > Make sure it's also in the rcpthosts. > stockdigest.net should be in the rcpthosts and the virtualhosts file. > > That's it. > > Philip > > > From: "tony cricelli" <[EMAIL PROTECTED]> > > Date: Fri, 26 Nov 1999 23:33:36 -0800 > > To: <[EMAIL PROTECTED]>, "\"Philip Gabbert\"" <[EMAIL PROTECTED]> > > Subject: Re: virtualdomains setup trouble > > > > I did as Brad suggested, another sig HUP with no luck. I just removed the > > domain > > from locals (as Philip suggested )and did another sig hub and now mail for > > the domain just bounces. > > > > I must have missed a real simple step, but for the life of me I can not > > figure it out. Should i add it back to locals or is it definately wrong to > > put > > it in there? > > > > --tony > > - Original Message - > > From: "Philip Gabbert" <[EMAIL PROTECTED]> > > To: "tony cricelli" <[EMAIL PROTECTED]> > > Sent: Sunday, November 28, 1999 6:47 PM > > Subject: Re: virtualdomains setup trouble > > > > > >> I've fallen to this one as well, check your locals file. Make sure it's > > NOT > >> in the locals file. > >> This one got me for a bit too. I suggest if you want all your domains to > > be > >> 'virtual', like myself, have ONLY 'localhost' in the locals file. This > > will > >> make qmail check the virtualdomains file for ALL domains the machine > >> receives mail for. > >> > >> And Of course like Brad said, make sure you send the -HUP SIG command to > >> qmail-send to restart it (you can locate it via top, user: qmails) > >> > >> Philip > >> > >>> From: "tony cricelli" <[EMAIL PROTECTED]> > >>> Date: Fri, 26 Nov 1999 22:23:54 -0800 > >>> To: <[EMAIL PROTECTED]> > >>> Subject: virtualdomains setup trouble > >>> > >>> Hello all, > >>> I struggled with this for a few days and finally broke down and am > >>> asking here. I am setting up a virtualdomain called stockdigest.net. > >>> 1. The MX record points to the correct machine. > >>> 2. The domain is in control/rcpthosts > >>> 3. I have the following in control/virtualdomains : stockdigest.net:tony > >>> 4. I also setup a .qmail-default file in ~tony > >>> > >>> If I send mail to [EMAIL PROTECTED] I get the mail. If I send it > > to > >>> [EMAIL PROTECTED] it bounces. > >>> > >>> The above 4 steps is all I saw to do in the man pages and the FAQ. Sorry > >>> if I am missing something really silly! Where did I go wrong? > >>> > >>> Thanks in advance, > >>> --tony > >>> > >>> > >> > >> > > > > > >
Re: virtualdomains setup trouble
Here is what I have: grep stock /var/qmail/control/rcpthosts stockdigest.net stockdigest.com stock-digest.com grep stock /var/qmail/control/virtualdomains stockdigest.net:tony stockdigest.com:tony stock-digest.com:tony Should the .qmail-default have anything special in there? --tony - Original Message - From: "John White" <[EMAIL PROTECTED]> To: "tony cricelli" <[EMAIL PROTECTED]> Sent: Sunday, November 28, 1999 7:53 PM Subject: Re: virtualdomains setup trouble > What are the results of: > > grep stock /var/qmail/control/rcpthosts > grep stock /var/qmail/control/virtualdomains >
Re: virtualdomains setup trouble
I did as Brad suggested, another sig HUP with no luck. I just removed the domain from locals (as Philip suggested )and did another sig hub and now mail for the domain just bounces. I must have missed a real simple step, but for the life of me I can not figure it out. Should i add it back to locals or is it definately wrong to put it in there? --tony - Original Message - From: "Philip Gabbert" <[EMAIL PROTECTED]> To: "tony cricelli" <[EMAIL PROTECTED]> Sent: Sunday, November 28, 1999 6:47 PM Subject: Re: virtualdomains setup trouble > I've fallen to this one as well, check your locals file. Make sure it's NOT > in the locals file. > This one got me for a bit too. I suggest if you want all your domains to be > 'virtual', like myself, have ONLY 'localhost' in the locals file. This will > make qmail check the virtualdomains file for ALL domains the machine > receives mail for. > > And Of course like Brad said, make sure you send the -HUP SIG command to > qmail-send to restart it (you can locate it via top, user: qmails) > > Philip > > > From: "tony cricelli" <[EMAIL PROTECTED]> > > Date: Fri, 26 Nov 1999 22:23:54 -0800 > > To: <[EMAIL PROTECTED]> > > Subject: virtualdomains setup trouble > > > > Hello all, > > I struggled with this for a few days and finally broke down and am > > asking here. I am setting up a virtualdomain called stockdigest.net. > > 1. The MX record points to the correct machine. > > 2. The domain is in control/rcpthosts > > 3. I have the following in control/virtualdomains : stockdigest.net:tony > > 4. I also setup a .qmail-default file in ~tony > > > > If I send mail to [EMAIL PROTECTED] I get the mail. If I send it to > > [EMAIL PROTECTED] it bounces. > > > > The above 4 steps is all I saw to do in the man pages and the FAQ. Sorry > > if I am missing something really silly! Where did I go wrong? > > > > Thanks in advance, > > --tony > > > > > >
virtualdomains setup trouble
Hello all, I struggled with this for a few days and finally broke down and am asking here. I am setting up a virtualdomain called stockdigest.net. 1. The MX record points to the correct machine. 2. The domain is in control/rcpthosts 3. I have the following in control/virtualdomains : stockdigest.net:tony 4. I also setup a .qmail-default file in ~tony If I send mail to [EMAIL PROTECTED] I get the mail. If I send it to [EMAIL PROTECTED] it bounces. The above 4 steps is all I saw to do in the man pages and the FAQ. Sorry if I am missing something really silly! Where did I go wrong? Thanks in advance, --tony
RE: POP issues
> BUT, when I try to have my workstation get the > mail using POP via Netscape, it's saying that: > > "The mail server responded: > This user has no $HOME/Maildir > Please enter a new password" > Hi , As far as i can see you need to run $HOME/Maildir ie /home/yourhomdir/Maildir needs to exist for the POP3 to work. Read the FAQ in /var/qmail/doc It explains the whole setup of Maildir. Tony Wade [EMAIL PROTECTED] #include Life would be so much easier if we could just look at the source code. -- Dave Olson
Mailer-daemon
Hi all, I would like to know if there is a way one could change the responce's from the Mailer Daemon. I had a user mail back to mailer daemon with the following. *grin* what do you mean you have given up. shall i change my service provider? Client. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, October 21, 1999 8:40 AM Subject: failure notice > Hi. This is the qmail-send program at Mailserver. > I'm afraid I wasn't able to deliver your message to the following addresses. > This is a permanent error; I've given up. Sorry it didn't work out. > > : > Sorry, no mailbox here by that name. (#5.1.1) Tony Wade (Postmaster) The Internet Solution Tel:(+27 11) 283 5483 Fax:(+27 11) 283 5401 E-mail: [EMAIL PROTECTED] Web:http://www.is.co.za #include Life would be so much easier if we could just look at the source code. -- Dave Olson
Re: Concurrencyremote for a specific host
There's always an exception. For example, legacy systems with strange (but conformant) IP stacks - some VMS systems for example. I would love to be able to do set per-host concurrency for such systems where I know *exactly* what the upper limit on concurrent connections it can handle is, cause it's defined in it's IP / MTA implementation. There's no point in going above this figure cause it just ties up my remote connections due to the way it handles connections above this number - i.e. it becomes a black hole. -tony On 20-Oct-99 Russell Nelson wrote: > And in neither of those cases is it an improvement to keep banging > on > the destination host. If it refuses messages, then by inference > it's > overloaded. Much better to wait until it isn't. > --- E-Mail: Tony Gale <[EMAIL PROTECTED]> All new: Parts not interchangeable with previous model. The views expressed above are entirely those of the writer and do not represent the views, policy or understanding of any other person or official body.
Relaying.
Hi all, I seem to have a relaying problem with 2 servers that i have worked on. I installed Qmail-1.03 ucspi-tcp-0.84 checkpassword-0.81 I put all the relevant domain details in /var/qmail/control/rcpthosts what happens is in both instances a Exchange server forwards the mail to the Qmail server. The Qmail server then rejects the mail saying, "Domain not in rcpthosts" tcpserver runs with the following command ( not sure if this is actually what controls the Relaying) tcpserver -c 1000 -u 71 -g 80 0 smtp /var/qmail/bin/qmail-smtpd x /etc/tcp.smtp.cdb & in the file /etc/tcp.smtp 123.123.123.:allow,RELAYCLIENT="" If i remove the rcpthosts file. Do i not make the server an Open Relay server again ? How do i set the relaying correctly ? Tony Wade
Question
Hi all, in an alias .qmail-ticket i have the following |/usr/lib/sendmail -f ticket-owner [EMAIL PROTECTED] Does Qmail know how to handle this. If not what would i use ? Thank You Tony Wade The Internet Solution Tel:(+27 11) 283 5483 Fax:(+27 11) 283 5401 E-mail: [EMAIL PROTECTED] Web:http://www.is.co.za #include Life would be so much easier if we could just look at the source code. -- Dave Olson
Autoresponder Written by Eric Huss
Hi all I have downloaded the Autoresponder and seem to be having a spot of trouble with it. my Qmail lives in /var/qmail/ I compiled the autoresponder on a RedHat 6 server and then copied it to a Jurix Server. My alias file looks like this |autorespond 1 5 /var/qmail/alias/AUTORESPOND/MAJORDOMO/majordomo /var/qmail/alias/AUTORESPOND/MAJORDOMO &[EMAIL PROTECTED] When i attempt to send a message to the alias, i get the following. Oct 1 12:56:30 thanatos qmail: 938775390.570015 status: local 2/10 remote 0/20 Oct 1 12:56:30 thanatos qmail: 938775390.588017 delivery 69: deferral: /bin/sh:_/bin/autorespond:_No_such_file_or_directory/ Oct 1 12:56:30 thanatos qmail: 938775390.588177 status: local 1/10 remote 0/20 Oct 1 12:56:30 thanatos qmail: 938775390.595656 delivery 68: deferral: /bin/sh:_/bin/autorespond:_No_such_file_or_directory/ Oct 1 12:56:30 thanatos qmail: 938775390.595750 status: local 0/10 remote 0/20 Any Idea where i have gone wrong ? the autorespond binary is in /bin/ and in /usr/local/bin/ Any help appreciated. Tony Wade The Internet Solution Tel:(+27 11) 283 5483 Fax:(+27 11) 283 5401 E-mail: [EMAIL PROTECTED] Web:http://www.is.co.za #include Life would be so much easier if we could just look at the source code. -- Dave Olson
.qmail alias files
Hi again, Sorry for the double post but after reading my mail, i noticed that i may not have been clear on what i was asking. in /var/qmail/alias .qmail-postmaster twade root - should it be &twade &root or is it fine to have it as is ? ta Tony Wade (Postmaster) The Internet Solution Tel:(+27 11) 283 5483 Fax:(+27 11) 283 5401 E-mail: [EMAIL PROTECTED] Web:http://www.is.co.za Life would be so much easier if we could just look at the source code. -- Dave Olson
.qmail-"alias" files
Hi all, I am about 2 hours away from killing our sendmail server and Replacing it with Qmail. In the .qmail-"alias" files does one have to have &[EMAIL PROTECTED] weather it is a single alias in the file or when there is more than one alias in the file ? ta Tony Wade (Postmaster) The Internet Solution Tel:(+27 11) 283 5483 Fax:(+27 11) 283 5401 E-mail: [EMAIL PROTECTED] Web:http://www.is.co.za Life would be so much easier if we could just look at the source code. -- Dave Olson
Sendmail ---> Qmail
Hi all, I am moving our Sendmail server to Qmail and am wondering how i would redo the following mail-exploders. This is what it looks like on sendmail owner-bugtraq-list: postmaster bugtraq-list-request: postmaster bugtraq-list: "|/usr/lib/sendmail -oi -fbugtraq-list-request bugtraq-list-outgoing" bugtraq-list-outgoing: "subscribers mail addresses." I need to know how to format the following line "|/usr/lib/sendmail -oi -fbugtraq-list-request bugtraq-list-outgoing" Thank You Tony Wade The Internet Solution Tel:(+27 11) 283 5483 Fax:(+27 11) 283 5401 E-mail: [EMAIL PROTECTED] Web:http://www.is.co.za #include Technology is dominated by those who manage what they do not understand.
Virtual Domain Problems
Hi. I am trying to get [EMAIL PROTECTED] to alias to [EMAIL PROTECTED] 'fred' is a real account on our system. In: /var/qmail/control/rcpthosts I have: mydomain.com In: /var/qmail/control/virtualdomains I have: mydomain.com:fred In ~fred I have: .qmail-info This contains: &[EMAIL PROTECTED] None of this works. When I take mydomain.com:fred out of virtualdomains then I can mail [EMAIL PROTECTED] and he receives mail. Can anyone tell me what I am missing ? thanks in advance !! -td
Erm
Looks like i may have a solution in .qmail-null | cat > /dev/null is this correct ? Tony Wade The Internet Solution Tel:(+27 11) 283 5483 Fax:(+27 11) 283 5401 E-mail: [EMAIL PROTECTED] Web:http://www.is.co.za #include
Null
Hi there, How does one dump mail to /dev/null , say i want the user [EMAIL PROTECTED] to dump the message. i have edited the .qmail-null and put /dev/null in it. this as i can see from the qmail mail logs tried to deliver to the user /dev/null. Anyone ? Tony Wade The Internet Solution Tel:(+27 11) 283 5483 Fax:(+27 11) 283 5401 E-mail: [EMAIL PROTECTED] Web:http://www.is.co.za #include
Benchmarking
Hi , Is there any tools that i can use to see how many emails Qmail is able to deliver locally per Min/Sec/Hour. Thanks Tony Wade The Internet Solution Tel:(+27 11) 283 5483 Fax:(+27 11) 283 5401 E-mail: [EMAIL PROTECTED] Web:http://www.is.co.za #include
Virtual users
Hi all, I was wondering how the following would work. I have a few domains which o am going to run as virtualdomain and others which are just going to have a smtproute to another server. I want to have some Virtual users deliver to another machine and the remainder of the users deliver to yet another server. ie. postmaster@domain deliver to server1 root@domain deliver to server1 owner@domain deliver to server1 anything else that is for that domain deliver to server2 can this be done ? Tony Wade The Internet Solution Tel:(+27 11) 283 5483 Fax:(+27 11) 283 5401 E-mail: [EMAIL PROTECTED] Web:http://www.is.co.za #include
RE: relaying setup
Looks like you have the SMTP port already running in /etc/inetd Tony Wade -Original Message- From: Denis Voitenko [mailto:[EMAIL PROTECTED]] Sent: 19 July 1999 09:46 To: [EMAIL PROTECTED] Subject: relaying setup I am in a process of setting up my linux box to relay mail for clients on a 192.168.0.X LAN. I am trying to follow the directions from http://www.palomine.net/qmail/selectiverelay.html and here is something that gives me trouble. linux:/etc# tcpserver -x/etc/tcp.smtp.cdb -u1003 -g103 0 smtp /var/qmail/bin/qma il-smtpd & [2] 1405 tcpserver: fatal: unable to bind: address already used What would that mean exactly? Also, do I have to add the line tcpserver -x/etc/tcp.smtp.cdb -u102 -g101 0 smtp /var/qmail/bin/qmail-smtpd & to my start up scripts or it is one-time procedure? Denis Voitenko O3M Cretative Director [EMAIL PROTECTED] 215 386-3923
Load Balancing Of 2 Qmail servers
Hi all , Has anyone ever attempted to have a single config file for Qmail ie. /var/qmail/control being shared by 2 servers. and then the servers will be identical. Both running Redhat 6.0 with kernel 2.2.10 and both be a DELL PowerEdge 2300 with Duel PII 400 chips and 256M Ram. and a 18G hdd. with the /var/qmail dir set to +- 9G could i get them to share the configs and load balance ? Tony Wade The Internet Solution Tel:(+27 11) 283 5483 Fax:(+27 11) 283 5401 E-mail: [EMAIL PROTECTED] Web:http://www.is.co.za BOFH excuse for the day: Due to the CDA, we no longer have a root account.
Quicky
hi all , i believe there is a way, that i can have a reply to: in a .qmail file . I have a few people mailing to an address [EMAIL PROTECTED], and i want the reply-to address to be [EMAIL PROTECTED] Anyone know what the command is to add to the .qmail file ? Tony Wade The Internet Solution Tel:(+27 11) 283 5483 Fax:(+27 11) 283 5401 E-mail: [EMAIL PROTECTED] Web:http://www.is.co.za BOFH excuse for the day: Due to the CDA, we no longer have a root account.
Question
Erm ... is this mail getting through ... if so, I have the following Questions. Hi all , I am currently attempting a Sendmail ---> Qmail moveover. We have 3 or 4 sendmail servers that i would like to replace with a single Qmail server. Questions 1. Would someone point me to the doccies on how to use a Database for all aliases and perhaps Mailing lists and Vhosts, i will be looking at using Ezmlm for the mailing lists, and Mysql for the Database. We currently use MajorDomo for the mailing lists, is there a way to easily move all the lists from that to Ezmlm. 2. Has anyone got a web interface that uses RCS to keep track of who did what with Vhosts and Aliases ? I know that Qmail-admin is available. I may need to make changes to allow for the RCS. Has anyone moved 2000 + Aliases and Vhosts and mailing lists from a Sendmail server to Qmail. If so how did you keep track of everything. Thank You. Tony Wade The Internet Solution Tel:(+27 11) 283 5483 Fax:(+27 11) 283 5401 E-mail: [EMAIL PROTECTED] Web:http://www.is.co.za
Re: cleaning out queue.
Hi I tried that. Now I get the following error when I try to mail someone. qmail-inject: fatal: qq trouble creating files in queue (#4.3.0) I erased: queue/mess/* queue/info/* queue/local/* queue/intd/* queue/todo/* queue/remote/* And restarted qmail. The last time I got this error. I re-installed qmail. Now Im going to re-install it again. However I think the mailq is filling up because I have cronjobs running and root is not getting the mail. I su to root and ran: maildirmake Maildir in root directory. But I still could not receive mail messages from root. No mail shows up in ~root/Maildir/new. All the messages are in queue. On the other hand when I create a regular user and his "Maildir", then mail him a message his message arrives no problem. how do i get root his mail ? any ideas ? > "Tony D'Andrade" <[EMAIL PROTECTED]> wrote: > > >How do i clean out the queue. I want all the messages erased from it. Do > >I just erase /var/qmail/queue/mess direcotry ? > > No. First, stop qmail. Next, delete all the files from the queue > directories: bounce, mess, info, local, intd, todo, and remote. Now > restart qmail. If you installed qmail using "Life with qmail", that > could be accomplished by doing: > > /usr/local/sbin/qmail stop > find /var/qmail/queue/mess -type f -exec rm {} \; > find /var/qmail/queue/info -type f -exec rm {} \; > find /var/qmail/queue/local -type f -exec rm {} \; > find /var/qmail/queue/intd -type f -exec rm {} \; > find /var/qmail/queue/todo -type f -exec rm {} \; > find /var/qmail/queue/remote -type f -exec rm {} \; > /usr/local/sbin/qmail start > > >Also what program do I > >used to read the mail from the prompt ? I normally use Pine with > >Sendmail but it does not work with qmail. > > qmail comes with "pinq" and "qail" wrappers for "pine" and > "mail". Even better is "mutt" (www.mutt.org). > > -Dave > Tony D'Andrade Systems Administrator VisiNet Systems 67 Yonge St Toronto, Ontario Phone:(416) 363-4788 http://www.visinet.net
cleaning out queue.
How do i clean out the queue. I want all the messages erased from it. Do I just erase /var/qmail/queue/mess direcotry ? Also what program do I used to read the mail from the prompt ? I normally use Pine with Sendmail but it does not work with qmail. thanks td
Mail Queue
How do i erase all messages in the mail queue ? thanks in advance td
anonymous@myserver.com
Hi. I was doing some maintenance on our server running qmail and noticed when i did "qmail-qread", there were over 4000 messages in the queue all looked like this except for the odd one: 26 Mar 1999 11:30:00 GMT #8947 425 <[EMAIL PROTECTED]> local [EMAIL PROTECTED] Since this server is only running moderated mailing lists, I was curious as to who/what is sending these messages. Any ideas ? Also if they are not important, how do i clean these messages out of the queue ? How can i view what is in those messages ? Thanks in advance. td