Re: help setting up virus scanner
If you installed qmail via LWQ your softlimit is likely set too low. There isn't enough memory to load the scanner into memory. Try upping it to 5-6M, i.e. change softlimit -m 20 to 600. This is actually mentioned in the qmail-scanner docs. I use qmail-scanner with uvscan (McAfee) without problems. Regards. At 11:45 AM 7/26/2001 -0400, you wrote: Ok, now I'm really frustrated and have wasted way too much time. I tried the badmailfrom option to stop these messages, that didn't work because of not checking headers, from, whatever. I tried to install AmAvis, that installed without errors, (what a pain to install), but I get can not allocate memory type errors in my smtpd/current file. I just now tried to install qmail-scanner and am getting similar errors in the ../smtpd/current file: 2001-07-26 11:30:28.819170500 /usr/bin/suidperl: error while loading shared libraries: libc.so.6: cannot load shared object file: Cannot allocate memory What is going on? I'm using sophos if that matters. Both amavis and qmail-scanner say they support it. It is a RedHat 7.1 box, brand new setup, and updated. - Gary PS. btw, I did set qmail-scanner to notify = admin ONLY!!! Hee hee! - Kourosh Ghassemieh MindWare Information Systems Technologies 9255 Sunset Blvd, Penthouse West Hollywood CA 90069 (310) 729-1784 [EMAIL PROTECTED] Networking Solutions for Your Business
Re: dns for qmail only??
You need to run a separate DNS server for internal queries, that's how I have my DNS set up. We use a separate DNS server for the internal addresses and we don't have any problems. qmail ignores /etc/hosts, it needs a DNS server. At 12:22 PM 7/26/2001 -0400, you wrote: bind-9.1.0-10 Ricardo SIGNES wrote: In a message dated Thu, Jul 26, 2001 at 08:53:57AM -0400, Gary MacKay wrote: I moved qmail off of a 'do it all' box to it's own box. It's running great. My problem is that the old machine is still the DNS for my domain. When it sends status messages to me, it, I'm guessing, checks DNS and gets the public IP of the new box, can't connect to it from behind the firewall (both boxes are 192. ), so it sends it to the secondary MX record, which is my old ISP. I then get it via getmail cron job, but I'd like for it to deliver internally. I've changed the /etc/hosts to point to the 192. address, but qmail must not look at that. How can I have DNS giving out the public IP for the world, yet tell qmail the 192. addr?? What DNS server are you running? -- rjbs Part 1.2Type: application/pgp-signature - Kourosh Ghassemieh MindWare Information Systems Technologies 9255 Sunset Blvd, Penthouse West Hollywood CA 90069 (310) 729-1784 [EMAIL PROTECTED] Networking Solutions for Your Business
RE: Problem with Qmail Queueing
If you installed via LWQ shouldn't the correct way to start/stop be qmail restart or qmail stop then qmail start rather than qmailctl? That's how I do mine. After you stop qmail do a ps aux (no quotes) and see if qmail is still running. If it is, then it didn't stop and it didn't reread the control files. At 03:45 PM 7/24/2001 -0500, you wrote: From the suggestions I have gotten so far this is where I am and what I have done already to alleviate this problem. Changed /var/qmail/rc to read as follows: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -l 0 -x /var/vpopmail/etc//tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 Changed /var/qmail/control/concurrencyincoming to read as follows: 90 Changed /var/qmail/control/concurrencyremote to read as follows: 90 Changed /var/qmail/control/queuelifetime to read as follows: 345600 After changing any of the files I run: qmailctl restart Or qmailctl stop then qmailctl start I set up the system originally based on the Life with QMail way to do it so if there any problems with doing this please let me know. Thanks, Ed McLain -Original Message- From: Jamin A. Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 4:40 PM To: Edward McLain Cc: [EMAIL PROTECTED] Subject: Re: Problem with Qmail Queueing It sounds to me like you didn't stop and restart the qmail-send daemon after making those changes. Read the man page on qmail-send. This little snippet is probably the most helpful: CONTROL FILES WARNING: qmail-send reads its control files only when it starts. If you change the control files, you must stop and restart qmail-send. Exception: If qmail-send receives a HUP signal, it will reread locals and virtualdomains. Jamin On Tue, 24 Jul 2001, Edward McLain wrote: I've got a quick problem and I hope that someone can help me with this. In the past month my company has switched from using Sendmail with linuxconf and virtualpop3 to using qmail with vpoppasswd. Everything converted great and I have a couple of bash scripts and php scripts that make this conversion easy and fast if anyone is interested. The problem I am having is in the queuing. I cannot seem to get qmail-send to run more than 20 qmail-remotes at any one time. I have changed /var/qmail/control/concurrencyremote to 90 and it still stops at 20. I've searched through the archives and done as much research as possible, but still can't find anyway around this. I also set /var/qmail/control/queuelifetime to 345600, which should reflect about 4 days, however mail is still sticking around in the queue for a week. Anyone have any suggestions or otherwise on this? Thanks, Ed McLain High Speed Solutions [EMAIL PROTECTED] - Jamin A. Brown Systems Operations Supervisor [EMAIL PROTECTED] * Great Works Internet * 207.286.8686 x142 RSA 1024 PGP Key:http://home.gwi.net/~jamin/pgp/jamin.asc - Kourosh Ghassemieh MindWare Information Systems Technologies 9255 Sunset Blvd, Penthouse West Hollywood CA 90069 (310) 729-1784 [EMAIL PROTECTED] Networking Solutions for Your Business
Re: No mailbox for root
Guus, For security reasons qmail does not send mail directly to the root account. This is in the docs and in Life With Qmail. You need to create alias' for Postmaster, Mailer-Daemon, and root. To do this you need to decide which user should receive mail for those accounts (most likely yourself, eg. guus, or the name of your system account): echo guus /var/qmail/alias/.qmail-root echo guus /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 After you've done that go back and reread Life With Qmail at www.lifewithqmail.org to find out _why_ you needed to do it. Regards. At 05:22 PM 6/8/2001 +0200, you wrote: Newly installed qmail on 2.2 debian/linux works fine, except... Whenever I send mail to root@localhost I get an error message root@mydomain Sorry, no mailbox here by that name. (#5.1.1) A trial installation of qmail does not have this problem. Similar, almost identical, setup. How can I create a mailbox for root? What I want is to forward mail for root to another user. Tia, Guus. - Kourosh Ghassemieh MindWare Information Systems Technologies 9255 Sunset Blvd, Penthouse West Hollywood CA 90069 (310) 729-1784 [EMAIL PROTECTED] Networking Solutions for Your Business
Re: I think I'm being relayed through, but I don't know how.
Actually, it looks like they tried to send to those users but you don't have them and they bounced. If they forged the sender then the bounce can't go through and you'll eventually get a double bounce to postmaster. That's happened to me a couple of times. Check the logs to see what they say. According to your tcp.smtp.cdb file you're not an open relay. Regards. At 01:44 PM 6/6/2001 -0500, you wrote: I've got this in my queue: 5 Jun 2001 14:44:17 GMT #48256 5651 [EMAIL PROTECTED] remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] remote [EMAIL PROTECTED] remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] remote [EMAIL PROTECTED] remote [EMAIL PROTECTED] Neither mail.com nor mindless.com are my domains snipped - Kourosh Ghassemieh MindWare Information Systems Technologies 9255 Sunset Blvd, Penthouse West Hollywood CA 90069 (310) 729-1784 [EMAIL PROTECTED] Networking Solutions for Your Business
Re: I think I'm being relayed through, but I don't know how.
Well, what do the logs say? It's possible that a spammer sent mail to random addresses in one of your hosted domains and had them listed in the BCC: field. The return address being forged as to be from mindless.com. Since the users in your domain are non-existent the messages are trying to bounce to the sender, which is refusing some of them as being non-existent as well. You'll see them double-bounce once they time out. I'm not that experienced at reading headers so I'm not 100% certain but sounds logical. Again, what do the logs say? They can help quite a bit in diagnosing problems. You should be able to find when they came in and from where and why they are being refused, if they are. What do the logs say? At 04:40 PM 6/6/2001 -0500, you wrote: From: Kourosh Ghassemieh [EMAIL PROTECTED] Date: Wed, 06 Jun 2001 14:36:59 -0700 Actually, it looks like they tried to send to those users but you don't have them and they bounced. If they forged the sender then the bounce can't go through and you'll eventually get a double bounce to postmaster. That's happened to me a couple of times. Check the logs to see what they say. According to your tcp.smtp.cdb file you're not an open relay. But my point is that mindless.com isn't even my domain. The ones that say 'done' were relayed and shouldn't have been. The attempt to send to mindless.com should have been rejected by tcpserver because it's not in my control/locals. Chris At 01:44 PM 6/6/2001 -0500, you wrote: I've got this in my queue: 5 Jun 2001 14:44:17 GMT #48256 5651 [EMAIL PROTECTED] remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] remote [EMAIL PROTECTED] remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] done remote [EMAIL PROTECTED] remote [EMAIL PROTECTED] remote [EMAIL PROTECTED] Neither mail.com nor mindless.com are my domains snipped -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ virCIO http://www.virCIO.Com 4314 Avenue C Austin, TX 78751-3709 +1 512 374 0500 My email address is an experiment in SPAM elimination. For an explanation of what we're doing, see http://www.DeepEddy.Com/tms.html Nobody ever got fired for buying Microsoft, but they could get fired for relying on Microsoft. - Kourosh Ghassemieh MindWare Information Systems Technologies 9255 Sunset Blvd, Penthouse West Hollywood CA 90069 (310) 729-1784 [EMAIL PROTECTED] Networking Solutions for Your Business
Re: smtp on a specific IP
At 12:36 PM 5/31/2001 -0700, you wrote: My server is running vpopmail. I also have Multiple IP address' aliased off of one network card. I can do traffic analysis through my router by IP address and this works fine for incoming mail. The problem that I have is the outgoing mail all is going out through one IP. I need to be able to charge my customers for traffic. Is there any way to make different domains send out on their own IP address? here is my smtpd run from the supervise directory /var/qmail/bin/qmail-smtpd 21 env - PATH=/var/qmail/bin:/usr/local/bin \ tcpserver -v -p -u vpopmail -g vchkpw 0 smtp /var/qmail/bin/qmail-smtpd 21 It may be easier to log all smtp activity and simply parse the logs to determine the number of mails sent out. I believe there are patches out there to allow more detailed logging, possibly also logging the mail size. I've followed this thread for a bit and if I understand correctly stock qmail doesn't have the ability to send mail out through a particular IP and making it do so is not trivial. Regards. - Kourosh Ghassemieh MindWare Information Systems Technologies 9255 Sunset Blvd, Penthouse West Hollywood CA 90069 (310) 729-1784 [EMAIL PROTECTED] Networking Solutions for Your Business
Re: How can I change the remote delivery program ?
Hi. I'm not sure if this helps but if you have another qmail server on the other end of the link you could set up an alias on the other server that is simply a distribution list. That way only one copy of the mail goes across the link and the qmail server on the other side can then deliver multiple copies of the mail locally. Just be sure to check the alias with a small mail so you don't accidentally get back multiple bounces =) At 06:29 PM 2/21/2001 -0400, you wrote: Yes. I asked, but in different ways, in different situations in my problem solving path. I don't remember any reply from you... The fact is that I don't have bandwidth to support 30MB transfers. It's huge. All I want is to use qmail to receive local and internet messages, but deliver only local ones and pass remote messages to other agents, that one supporting multiple-RCPTs. It's what I want. The question should be: How can I configure qmail to deliver remote message through sendmail(MTA) ? Sorry, but read the subject line and the message body together... I don't want to hack qmail-remote or change the qmail style of delivering remote messages and eatting my bandwidth. But I'm too much attached to qmail to simply make a change. I will ask the same quastion in the list how many times I want, and until I got someone to aswer my question. I do this and I got different answers that helped me to figure what I did wrong. Thanks to all in the list. If you can't help don't say I can't ask. Due to "my multiple post of the same question in list" I figure out how to do what I want. I will use serialmail package add-on to pass all remote messages to sendmail, like sendmail were in another host, or ISP. Thank you for nothing. Nilo Menezes - -------- Kourosh Ghassemieh MindWare Information Systems Technologies 9255 Sunset Blvd, Penthouse West Hollywood CA 90069 (310) 729-1784 [EMAIL PROTECTED] Networking the Small Business
RE: Backing up IMAP Maildir's ?
It doesn't matter if IMAP is running. When backing up the dir's the backup software simply reads the files and makes a copy to tape. The only problem you will run into is that the backup is a snapshot and will not reflect any changes made after. Any mails added or deleted after the backup will not be reflected. Since Maildir format is a directory with all the e-mails as files within that directory you won't have problems. If you were using mbox format you'd have a problem because it is a single file. You would then have to shut down the MTA/MUA so the file doesn't get locked while trying to back it up. I've used BRU and it works great. Since you are using Maildir's you don't need to shut down IMAP. The only mails that won't get backed up are the ones being accessed at that time. qmail works on a per file basis and doesn't lock the entire directory. VXA drives can handle that kind of volume. I use them and they are great. They even have an autoloader so you can do several weeks worth of backups without changing a tape. At 09:00 AM 11/22/2000 +1100, you wrote: Oliver Sure, but will a running qmail complain if the dir's are being accessed while the backup is taking place ? Also, I'd like the backup to be automated for tape aka BRU, company policy. And i'm talking about 20 to 50 gigs of email. Suggestions ? Cheers Dennis -Original Message- From: Olivier M. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 November 2000 8:58 PM To: Dennis Cc: [EMAIL PROTECTED] Subject: Re: Backing up IMAP Maildir's ? On Wed, Nov 22, 2000 at 08:38:34AM +1100, Dennis wrote: Yes, I'm asking the question again... Is there a formal way of backing up IMAP Maildir's ? What application or method is used ? tar cvIF ? :) (what do you exactely want to do ? imap maildirs are normal directories... can be backed up as any other file) Olivier -- _ Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland qmail projects: http://omail.omnis.ch - http://webmail.omnis.ch - ___ Kourosh Ghassemieh MindWare Information Systems Technologies 9255 Sunset Blvd, Penthouse West Hollywood CA 90069 (310) 729-1784, (310) 271-9807 fax [EMAIL PROTECTED] ++Networking the Small Business++
RE: Backing up IMAP Maildir's ?
ArcServe is good but _really_overpriced. Go with BRU or Amanda. I' use BRU and like it a lot. I've heard great things about Amanda. At 10:20 AM 11/22/2000 +1100, you wrote: mmm still not convinced. Just noticed that ArcServe for Linux exists http://www.cai.com/arcserve/arcserve_linux.htm This might do the trick. -Original Message- From: Olivier M. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 November 2000 9:25 PM To: Dennis Cc: [EMAIL PROTECTED] Subject: Re: Backing up IMAP Maildir's ? On Wed, Nov 22, 2000 at 09:00:54AM +1100, Dennis wrote: Sure, but will a running qmail complain if the dir's are being accessed while the backup is taking place ? if you just read the maildirs, I don't think there will be a problem. Maybe you can stop delivery during the backup, but I guess it takes quite a lot of time. And i'm talking about 20 to 50 gigs of email. wow... that must be a very big company :) Olivier -- _ Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland qmail projects: http://omail.omnis.ch - http://webmail.omnis.ch - ___ Kourosh Ghassemieh MindWare Information Systems Technologies 9255 Sunset Blvd, Penthouse West Hollywood CA 90069 (310) 729-1784, (310) 271-9807 fax [EMAIL PROTECTED] ++Networking the Small Business++
Re: Book: 'Running qmail'
I've bought the book and as for quality I have to say it is mediocre. It starts out with descriptions of e-mail in general, qmail service, DNS and SMTP. Then it runs through installation and configuration and advanced qmail topics. The advanced topics cover mailing lists, daemontools (inetd is covered in the text), POP and IMAP servers, PPP server and supporting dial-in-clients. I found Part I lacking and the book would have lost little if it had been left out or trimmed down. Parts II and III were not bad but LWQ covered just as much. It actually looks as if Blum took LWQ and just modified it just a little. The PPP section is not that useful, I feel, to the beginning user as it would be something an ISP would use but what ISP would want to run qmail with inetd, which is what is used in the installation section. I referred to the book for some of the control file descriptions. The descriptions in the book are a bit more verbose than the man pages so better for newbies. Overall, I think that the book may benefit newbies who have had no exposure to e-mail before and want to or have to set up a mail server (some of the people on this list would fit the bill from what I've seen). But for anybody who's had any experience with e-mail or is comfortable with unix admin I would recommend Life With Qmail and the man pages. I set up my server using LWQ and the man pages and haven't looked at the book since. 2 1/2 stars. Beginners only. At 12:32 PM 9/6/00 +1100, you wrote: I just saw my first qmail text in a local bookstore, entitled "Running qmail". It's published by sams or someone, can anyone vouch for the quality (or lack thereof) of this book? r. -- Russell Davies UNIX Systems Administrator Deutsche Bank - _______ Kourosh Ghassemieh MindWare Information Systems Technologies 9255 Sunset Blvd, Penthouse West Hollywood CA 90069 (310) 729-1784, (310) 271-9807 fax [EMAIL PROTECTED] ++Networking the Small Business++