qmail Digest 1 May 2000 10:00:00 -0000 Issue 988
qmail Digest 1 May 2000 10:00:00 - Issue 988 Topics (messages 40743 through 40763): Re: need help with POP3... 40743 by: Tomek Lipski 40759 by: Colin Humphreys Re: AntiVirus packages. 40744 by: Roy-Magne Mo 40745 by: Rainer Link Re: Can't send via Mail.app on NeXT 40746 by: Claus Färber Special character mappings for .qmail file names 40747 by: David Dyer-Bennet 40749 by: Tomek Lipski 40754 by: Bryan Curnutt 40757 by: David Dyer-Bennet Got local mail working.. not remote. 40748 by: qmail.stgo.cl 40751 by: Tomek Lipski 40753 by: Bryan Curnutt fastforward and vpopmail conflict ? 40750 by: PPPindia qmail-queue trouble 40752 by: Eric Jennings Re: Default forwarding address for virtual domain in users/assign 40755 by: Bryan Curnutt send mail to remote hosts... 40756 by: qmail.stgo.cl 40758 by: Bob Rogers 40760 by: Mrs. Brisby Limit file size--HELP HELP HELP 40761 by: Shakaib Sayyid 40763 by: Uwe Ohse Openbsd qmail port 40762 by: Dale Miracle Administrivia: To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To subscribe to the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- On Sun, 30 Apr 2000 [EMAIL PROTECTED] wrote: [cut] > I am trying to use Maildir for mail delivery. > I created one test user with the /Maildir/ architecture and he receives > mail allright. if I do a "ls -FR" I see the following: [cut] > so the mails do arrive... But I can't seem to pick them up!! > Both pine and "mail" work with a single file.. as does POP3 > So when ever i check the mailbox remotely via port 110 it tells me that > the mailbox is empty. pine and propably your pop3 deamon are not supporting Maildir mbox formats - for pine there is a patch at http://www.qmail.org/ [or use another fine MUA like mutt ] and qmail distribution comes with an Maildir-based pop3 deamon [check qmail-popup, qmail-pop3d and checkpassword man pages] anyway you can always setup qmail to deliver messages to plaintext mbox - do to this copy /var/qmail/boot/home to /var/qmail/rc > I thought I had it configured at one point.. before I killed sendmail for > good, that Maildir was actually a file, not a directory. > Also.. Since I have to execute makemaildir for each new user.. is there a > way that I can "tie" that command with uesradd? i am using redhat 6.1. afaik leenoox systems also have skel system - try making maildir in /usr/share/skel directory [works under *BSD] -- Tomek Lipski email: [ [EMAIL PROTECTED] ] gsm: [ +48 606 787 423 ] Eclipse ISP http://www.ecl.pl/ Czestochowa Al. NMP 31 tel. 034 3665011 under redhat the skel dir is in /etc/skel/ Tomek Lipski wrote: > On Sun, 30 Apr 2000 [EMAIL PROTECTED] wrote: > > [cut] > > I am trying to use Maildir for mail delivery. > > I created one test user with the /Maildir/ architecture and he receives > > mail allright. if I do a "ls -FR" I see the following: > [cut] > > so the mails do arrive... But I can't seem to pick them up!! > > Both pine and "mail" work with a single file.. as does POP3 > > So when ever i check the mailbox remotely via port 110 it tells me that > > the mailbox is empty. > pine and propably your pop3 deamon are not supporting Maildir mbox formats > - for pine there is a patch at http://www.qmail.org/ [or use another > fine MUA like mutt ] and qmail distribution comes with an Maildir-based > pop3 deamon [check qmail-popup, qmail-pop3d and checkpassword man pages] > anyway you can always setup qmail to deliver messages to plaintext mbox - > do to this copy /var/qmail/boot/home to /var/qmail/rc > > I thought I had it configured at one point.. before I killed sendmail for > > good, that Maildir was actually a file, not a directory. > > Also.. Since I have to execute makemaildir for each new user.. is there a > > way that I can "tie" that command with uesradd? i am using redhat 6.1. > afaik leenoox systems also have skel system - try making maildir in > /usr/share/skel directory [works under *BSD] > > -- > Tomek Lipski > email: [ [EMAIL PROTECTED] ] gsm: [ +48 606 787 423 ] > Eclipse ISP http://www.ecl.pl/ > Czestochowa Al. NMP 31 tel. 034 3665011 -- c o l i n h u m p h r e y s OVENDIGITAL Sydney - System Administrator - [EMAIL PROTECTED] ph: +61285845428 - fax: +61295524700 - mob: +61414585203 On Thu, Apr 27, 2000 at 01:24:14PM -0400, Steve Peace wrote: > Does anybody know of a good antivirus package I can put on my RedHat 6.1, > Qmail 1.03 server that may possibly be able to scan incoming messages for > viruses? If not I guess I will have to trust my users to not download and > execute any questionable attachments and actually trust them to scan there > own PCs for viruses every so oft
smtproutes
Hi, Is it possible to create user-based smtproutes like: [EMAIL PROTECTED]:foo I need to route every mailaddr in the domain to another mailserver except one. It would be nice to do this with smtproutes. Thnx in advance, -- Roest, M <[EMAIL PROTECTED]> ibuildings.nl -- information architects tel: 0118 415054, fax: 0118 413314
Re: Limit file size--HELP HELP HELP
Shakaib Sayyid <[EMAIL PROTECTED]> wrote: > > ...there is one user who wants to send a file thats ~20M. Is there a > way to do this? Instruct the user to send it in five pieces. Such a huge email is likely to jam the recipients' POP accounts; they will have to ask their ISPs to delete the message so that they can fetch the rest of their mail. Multiple pieces are less likely to mess things up. Plus, while the recipient is waiting for that hour, at least he will see the message count increase every twelve minutes. If the recipients use windows, and don't have any split/unsplit utilities (available from tucows), then have the user stick it in his web space, and make him pay the over-quota charge for that month. Len. -- Anyone can create an encryption algorithm that he himself cannot break. -- Bruce Schneier
Re: send mail to remote hosts...
At 10:35 PM -0400 4/30/00, Mrs. Brisby wrote: > 2) pop3 command XTND XMIT. > obvious PRO: no second connection necessary! > obvious CON: needs a custom client. I am looking for >one of these (preferably for windows and/or macos) >-- anyone want to let me know of one? You mean server or client? Eudora implements XTND XMIT (definitely on MacOS, probably on Windoze). That's why Qualcomm's qpopper also implements XTND XMIT. Of course, using qpopper means using mbox rather than Maildir. -- -- Paul J. Schinder NASA Goddard Space Flight Center Code 693 [EMAIL PROTECTED]
Problems exiting and sending and receiving.. well, that's about everything I guess..
Having all sorts of problems all of a sudden, ever since my queue choked due to running out of disk space, I flushed it out, and ran queue-fix. After fixing the directory problems, it now returns: Found files in /var/qmail/queue/pid that shouldn't be there. I will not remove them. You should consider checking it out. queue-fix finished... There are a few 0 byte files there.. I don't know what to do with them though. Is it safe to delete them? Whenever I try to stop qmail now, I get: Stopping qmail: svscan qmailsvc: warning: unable to chdir to /var/qmail/supervise/nohup.out: not a directory logging. I thought that was supposed to be a file? Either way, it IS a file, and I haven't touched it, so I'm unsure of what's broken there, or how it became so. Appears to shutdown though.. When sending mail, I get "mailer returned error status 111". Nothing really odd turning up in my logs.. May 1 08:04:32 zoq qmail: 957186272.158884 status: local 0/10 remote 0/20 May 1 08:10:32 zoq qmail: 957186632.826453 status: exiting So I'm not sure where to begin troubleshooting that.. I can connect to the mail server fine with my pop3 account, but am unable to receive any mail that should be coming in. Can someone tell me where to start? Thanks, Chad
RE: Limit file size--HELP HELP HELP
I don't know what MUA your users are using, but I believe M$ Outlook has an option that allows users to split up large outgoing attachments into chunks of a specifiable size. Andy Huhn DataSwitch Information Services, Inc. http://www.stormwarn.com Get Customized Weather Bulletins Sent to Email, Fax, or Pager for as low as $2.00/month! > -Original Message- > From: Len Budney [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 01, 2000 5:46 AM > To: [EMAIL PROTECTED] > Subject: Re: Limit file size--HELP HELP HELP > > > Shakaib Sayyid <[EMAIL PROTECTED]> wrote: > > > > ...there is one user who wants to send a file thats ~20M. Is there a > > way to do this? > > Instruct the user to send it in five pieces. > > Such a huge email is likely to jam the recipients' POP accounts; they > will have to ask their ISPs to delete the message so that they can > fetch the rest of their mail. > > Multiple pieces are less likely to mess things up. Plus, while the > recipient is waiting for that hour, at least he will see the message > count increase every twelve minutes. > > If the recipients use windows, and don't have any split/unsplit > utilities (available from tucows), then have the user stick it in his > web space, and make him pay the over-quota charge for that month. > > Len. > > -- > Anyone can create an encryption algorithm that he himself cannot break. > -- Bruce Schneier >
RE: Problems exiting and sending and receiving.. well, that's about e verything I guess..
Nevermind on this one, can be ignored. Forgot to chmod qmail-queue back to 4711 as indicated in the qmail-queue-fix instructions. Would certainly cause a problem I suppose. :) -Original Message- From: Chad Day [mailto:[EMAIL PROTECTED]] Sent: Monday, May 01, 2000 9:24 AM To: '[EMAIL PROTECTED]' Subject: Problems exiting and sending and receiving.. well, that's about e verything I guess.. Having all sorts of problems all of a sudden, ever since my queue choked due to running out of disk space, I flushed it out, and ran queue-fix. After fixing the directory problems, it now returns: Found files in /var/qmail/queue/pid that shouldn't be there. I will not remove them. You should consider checking it out. queue-fix finished... There are a few 0 byte files there.. I don't know what to do with them though. Is it safe to delete them? Whenever I try to stop qmail now, I get: Stopping qmail: svscan qmailsvc: warning: unable to chdir to /var/qmail/supervise/nohup.out: not a directory logging. I thought that was supposed to be a file? Either way, it IS a file, and I haven't touched it, so I'm unsure of what's broken there, or how it became so. Appears to shutdown though.. When sending mail, I get "mailer returned error status 111". Nothing really odd turning up in my logs.. May 1 08:04:32 zoq qmail: 957186272.158884 status: local 0/10 remote 0/20 May 1 08:10:32 zoq qmail: 957186632.826453 status: exiting So I'm not sure where to begin troubleshooting that.. I can connect to the mail server fine with my pop3 account, but am unable to receive any mail that should be coming in. Can someone tell me where to start? Thanks, Chad
LF Patch
My mailserver needs to interact with several other servers that send line feeds instead of LF-CR. After spending much time in the archives, it seems that the best solution to the "LF in the body of a message" problem is to patch qmail (as opposed to the fixcr solution). Where can I find this patch for a Linux (RH 6.1) system running qmail 1.03? And, in a nutshell, how is the patch applied? Thanks for any help! Mike _ Mike Lichtenwalner Senior Technology Systems Technician Penn Manor School District Millersville, PA
Re: "Multi-RCPT vs. Single RCPT delivery" - logic error?
On Fri, 28 Apr 2000 15:02:06 -0500 (EST), Chris Hardie <[EMAIL PROTECTED]> said: Chris> we do web development for an organization that has a PR firm Chris> develop brochures and then send them to us for posting on their Chris> website. The files are often 7-10 MB in size, large enough to Chris> be cumbersome for e-mail, small enough to make overnighting a Chris> ZIP disk seem a little excessive. [...] Chris> I'd be interested to hear if anyone's found a good general Chris> solution to this in a production/business environment. There are a number of sites out there which allow WAN-based file sharing. At the risk of getting flamed... I worked on one which is targetted at exactly this problem. The "sender" uploads the file via WWW, selects who he wants to "send" it to, they get an email notification and download the file via the URL provided in the mail. It ain't rocket-science and folks have found it easy to use. It's totally free, there's currently no advertising, and only the sender has to get an account to upload. Currently user space is 50MB and files expire after 7 days. See: http://www.WhaleMail.com/
Re: LF Patch
Mike Lichtenwalner <[EMAIL PROTECTED]> wrote: > ...patch qmail (as opposed to the fixcr solution)... I'm staying out of this; it's sure to provoke a holy war. However, do please be aware that the patched qmail _will_ corrupt some messages, in the name of compatibility with software which flagrantly violates the standards. Even if you do adopt the solution you mention, please do consider informing the other postmasters that their software is violating the standards, and at least suggest that they fix their servers. Len. > Millersville, PA Hey, we're practically neighbors! -- Frugal Tip #36: Take the stairs instead of the elevator. No, wait -- that belongs on the "How to Develop Steely, Rock-Hard Buns" list. Sorry.
Re: excepting subdomain from wildcard?
<[EMAIL PROTECTED]> wrote: >Is there an easy way to make exceptions to the ".neurohub.net" wildcard, >without listing every host in the ".neurohub.net" zone in rcpthosts (or >morercpthosts) and virtualdomains? You can list exceptions in the virtualdomains file but leave rcpthosts as-is, which means it'll just relay to the excepted hosts. E.g., in control/virtualdomains: dev.neurohub.net: .dev.neurohub.net: .neurohub.net:virtual -Dave
Re: "Multi-RCPT vs. Single RCPT delivery" - logic error?
Dave Kitabjian <[EMAIL PROTECTED]> wrote: >Regarding: http://web.infoave.net/~dsill/lwq.html#multi-rcpt > >Dave S, > >I'm having trouble accepting this logic. You mention 3 options: > >"Say you're an MTA, and one of your users sends a message to three >people on hostx.example.com. There are several ways you could do this. > > 1. You could open an SMTP connection to hostx, send a copy of >the message to the first user, send a copy to the second user, send a >copy to the third user, then close the connection. > 2. You could start three processes, each of which opens an SMTP >connection to hostx, sends a copy of the message to one of the users, >then closes the connection. > 3. You could open an SMTP connection to host, send a copy of the >message addressed to all three users, then close the connection. " > >and that qmail uses option #2. Clearly, the rank of efficiency is, from >best to worst,: 3, 1, 2 That's the rank of bandwidth efficiency, yes. Bandwidth isn't the only consideration, though, and I think this section covers the others pretty well (speed, VERP's, simplicity of design). >We had a situation with a customer who was consulting for a college. So >every few days, she had to send a 10MB PowerPoint file to about 50 >recipients at that college. Under qmail, a separate thread was opened up >for each qmail-remote. 1) qmail was designed for well-connected hosts, 2) SMTP was not designed for this type of use. FTP or HTTP would be better because they're "pull" protocols, not "push" protocols, so they allow those with the desire and the bandwidth to retrieve the files, and, 3) this is one of those pathological cases I referred to where single RCPT is slower than multi-RCPT. >We love qmail, and it's working very well for us in general. But I'm >having a hard time reconciling your logic in this paragraph. Perhaps you >could clarify for me. I don't see where my login needs reconciling. I said "Single RCPT delivery does use more bandwidth than multiple RCPT delivery..." and "there are pathological cases where it can be slower than multiple RCPT", but that's not inconsistent with single RCPT being faster in most cases and better overall. -Dave
Re: Newbie setting up aliases
Bob Waskosky <[EMAIL PROTECTED]> wrote: >Hi. I'm having a very difficult time setting up my aliases. I just have >a linux box and want to use qmail/mutt for my email. My ISP POP3 email >address is [EMAIL PROTECTED] and I also have email on my virtualave >website server [EMAIL PROTECTED] which is just forwarded to >[EMAIL PROTECTED] . You can use getmail or fetchmail to grab the messages from your ISP and deliver them locally. >How do I set up my aliases so this mail is sent to >my ~/Maildir? That's either a getmail or a fetchmail question. Install one of them and read the documentation. Here's a pointer to getmail. Fetchmail is widely available. http://www.qcc.sk.ca/~charlesc/software/getmail/ -Dave
Re: archive to the web
Vincent Danen <[EMAIL PROTECTED]> wrote: >Is there a utility or program to place the archive for my mailing list on >a web site? I use MHonArc for the ORNL qmail archives. See: http://www.mhonarc.org/ There are several other similar tools. -Dave
RE: "Multi-RCPT vs. Single RCPT delivery" - logic error?
Thank you all for your feedback. > I don't see where my login needs reconciling. Yes, I realized after I sent the email that your logic was not flawed. (Your login is probably okay, too ;) Thanks again. Dave (K)
Re: CAN SEND - BUT CANNOT RECEIVE
"Kyle Gannon" <[EMAIL PROTECTED]> wrote: >Did a telnet localhost 25 >failed > >tcp.smtp (in /etc) is such: > >ech "127.0.0.:allow,RELAYCLIENT=\"\"" > /etc/tcp.smtp >echo "another IP" " " "" " >echo "domainname"" " " " Ugh. Are your host/domain names Top Secret? Why not just show us the actual contents since the problem is often a typo? >sendmail hashed out in /etc/services (port 25) No need. /etc/services just says SMTP is port 25. >What am I overlooking or doing wrong? Well, you didn't show us how you're running qmail-smtpd, for one thing. For another, did you build tcp.smtp.cdb from the current tcp.smtp? -Dave
Re: unique configuration
<[EMAIL PROTECTED]> wrote: >Here is what I want to do: > >-Accept mail destined for any user at any domain (obviously those domains >will be MX'd to my server) >-Reply to that user with a message that I define (the same message for all >users) Remove control/rcphosts and control/locals. In control/virtualdomains, put: :alias-catchall In ~alias/.qmail-catchall, invoke your autoresponder. -Dave
Re: Default forwarding address for virtual domain in users/assign
"Peter Janett" <[EMAIL PROTECTED]> wrote: >I'm trying to set up a default forwarding address for virtual domains. In >other words, if mail is sent to an address that doesn't specifically exist, >forward it to specified address. If you have a virtualdomains entry like: example.com:joe-example Then to catch mail to [EMAIL PROTECTED], you create ~joe/.qmail-example-info. If you want a catch-all for example.com, create ~joe/.qmail-example-default. -Dave
Re: smtproutes
Martin Roest <[EMAIL PROTECTED]> wrote: >Is it possible to create user-based smtproutes like: >[EMAIL PROTECTED]:foo > >I need to route every mailaddr in the domain to another mailserver >except one. No, but you can get the same effect using virtualdomains. In control/virtualdomains, put: [EMAIL PROTECTED]:alias-someaddr In control/smtproutes, put: somedomain.com:foo In ~alias/.qmail-someaddr, put: |forward someaddr@[IP of somedomain.com] -Dave
Urgent Help Needed! Qmail startup/shutdown script!
Hello, i couldnt make this qmail startup/shutdown script work which is provided at Life With Qmail Doc i know that this is out of topic but i need help from any guru. here is my details i provide you to find out my prob: --- i use FreeBSD 4.0-RELEASE. this is my startup dir: -2.03# pwd ; ls -Fal /usr/local/etc/rc.d total 6 drwxr-xr-x 2 root wheel 512 May 1 19:57 ./ drwxr-xr-x 5 root wheel 512 Apr 19 17:41 ../ -rwxr-xr-x 1 root wheel 2407 May 1 18:54 qmail* --- (qmail* = http://web.infoave.net/~dsill/qmail-script-dt61.txt (unmodified)) i followed all the steps in LWQ doc. when i do a: "/usr/local/sbin/qmail start" i get a loop like this: --- Starting qmail: svscan. d: not found d: not found --- until i stop it with same command... "/usr/local/sbin/qmail stop" Please tell me check where/fix what ? i did all the steps carefuly but seems that i misconfigured some... Thank you very much, Best Regards, Murat Guven Mural [EMAIL PROTECTED]
Re: Book
on 4/29/00 12:53 AM, suresh had the thought: > Does anybody know of a good book on qmail > Suresh Your best bet for the time being is to grab a postscript version of Life with Qmail from : http://web.infoave.net/~dsill/qmail.html and print it out. There is an O'Reilley book in the works, but it will be out When It's Ready(tm). Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
Re: Urgent Help Needed! Qmail startup/shutdown script!
"Murat Guven Mural" <[EMAIL PROTECTED]> wrote: >when i do a: "/usr/local/sbin/qmail start" i get a loop like this: >--- >Starting qmail: svscan. >d: not found >d: not found > >--- > until i stop it with same command... "/usr/local/sbin/qmail stop" Try doing "sh -x /usr/local/sbin/qmail start". If that doesn't provide any insight, do: ls -lR /var/qmail/supervise Also, double check /var/qmail/supervise/*/run. -Dave
2nd HD in working system
Hi All, I have an interesting question here...I have a system which has 2HD's in it, a 1.8GB and a 4GB both in drive caddies for quick removal. drive 1 /dev/hda1 has a fully bootable OpenLinux 2.3 system with kernal mods to allow me to mess with software RAID stuff... drive 2 is completely bare at the moment, except for partitioning with fdisk. Can OpenLinux 2.3 be installed to this 2nd HD w/o bothering the first HD at all, using the normal LISA or LIZARD install process? The reason I ask all of this stuff is as follows: I have a single critical system in my office, the email server running qmail+vpopmail, also does mrtg, and a few other do-dads... I back this system up every night, incremental backup mon-sat morning at 1:05am local time, full backup on sunday morning at 1:05 which gets rid of previous incrementals. I store the tarballs which are made on my NT workstation's drive D: (in D:\BACKUP)...(No tape drive available, and smbmount works very well, btw). Now for rapid restore of email system, if I have a fully loaded OpenLinux 2.3 system (full install) already done and waiting, can I simply unpack the tarballs on to the new drive and keep everything running as is, or am I missing something here...I can provide the script I use for backing stuff up, if needed. What I want to know is if I am approaching this in the wrong way or not... -Bill
Re: E-Mail Address Harvesting
"Dennis Duval" <[EMAIL PROTECTED]> wrote: > > ...I believe they then compare the bounces ( [EMAIL PROTECTED] > in this case), against the database of addresses that were sent to... The method here is perfectly correct. Indeed, using VERP there is no need for bounce parsing, so the attack can be trivially adapted to attack ALL mailers. > ...resulting in a list of valid email addresses of my users. What on earth do these lists cost these days?!? This method is so astonishingly inefficient that I can't believe there's a positive payoff. (Especially since spam listers can sell invalid addresses if they want--who would ever know?) I wonder if it isn't something else--like harvesting login names for a stupid password crack? I'd be a _little_ less flabbergasted if that were the case. Len. -- Frugal Tip #49: Try owning lots of jewelry, negotiable securities, and tax-free municipal bonds. Many rich people are known to have them.
What is the limit of size of an attachmen (in a default install)
how many mb's can be attached maximum ? i didnt edit anything about it. did a default install.. mgm
E-Mail Address Harvesting
Sorry for the length of this post and its slightly off-topic nature. But it does concern all qmail users in that it demonstrates an easy and effective attack against a qmail server. I have been hit for the second time in several months by an email address harvester. The attacker sends multiple emails to my mail server. Each email has 25 recipients with every name you can imagine, mostly in alphabetically order (see bounce below). I believe they then compare the bounces ( [EMAIL PROTECTED] in this case), against the database of addresses that were sent to, resulting in a list of valid email addresses of my users. Because the incoming volume is low, maybe only 75 items per minute, it raises no flags, and because there are only 25 recipients per message, that doesn't raise a flag either. However this results in about 15,000 deliveries for qmail-smtpd if this pace is maintained for about 40 minutes as it was last night. I chart qmail deliveries on MRTG and was tipped off by seeing about 1900 deliveries each 5 minutes continuing for 40 minutes. (normal for me is about 50 deliveries/5 mins). Of course this type of volume does not cause a bit of trouble with my reliable and highly capable qmail server, but horrible damage is being done to my customers. By the time I can analyze the problem and notify the company where the attacker is set up, the damage is already done and my users will suffer the consequences for years to come. Below is sample letter, that actually gets through, as well as a clip from qmail-qread that shows one of the items still queued up (stuck in the queue because I had chmod 0 .qmail-bin after this happened before as I had started getting spam mail to [EMAIL PROTECTED] ) Also below is a snip of logs from qmail-smtpd. It appears that the sending IP (207.190.23.59) is bogus. I get no information on a reverse lookup. I don't see any way to stop this type of attack other than to be able to deny a connection from any IP address that does not have a valid MX record, or at least a valid reverse lookup. But I have not figured out how to do that. Thanks for any comments or suggestions on how to overcome this problem. Dennis Duval This is what a letter looks like if it actually gets delivered to one of my users Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: (qmail 6006 invoked from network); 1 May 2000 08:20:35 - Received: from unknown (HELO viola) (207.190.23.59) by mail.seacove.net with SMTP; 1 May 2000 08:20:35 - Message-ID: < 447410@ 423984> From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Bcc: Date: Mon, 01 May 2000 01:41:19 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit * Snip below is from qmail-qread showing a bounce message that actually hung because I had changed the permissions on the file .qmail-bin. This shows plainly that the bounce message is returning to [EMAIL PROTECTED] If it was an invalid address, these items would have double-bounced into a specified maildir, and there are no doublebounces to [EMAIL PROTECTED] in that maildir. This message shows how one message is set up to mail to multiple recipients so that any address which is not legitimate is bounced to a harverster. * 1 May 2000 08:26:07 GMT #212330 415 <[EMAIL PROTECTED]> bouncing done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] done local [EMAIL PROTECTED] ** snip below from qmail-smtpd log. This is the first entry that shows up in the logs during the event ** 2000-05-01 03:19:53.350211 tcpserver: pid 5424 from 207.190.23.59 2000-05-01 03:19:53.948779 tcpserver: status: 3/40 2000-05-01 03:19:53.950027 tcpserver: pid 5425 from 207.190.23.59 2000-05-01 03:19:54.735180 tcpserver: ok 5425 mail.seacove.net:206.162.105.15:25 :207.190.23.59::4698 2000-05-01 03:19:59.242080 tcpserver: ok 5424 mail.seacove.net:206.162.105.15:25 :207.190.23.59::4695
Re: What is the limit of size of an attachmen (in a default install)
On Mon, 1 May 2000, Murat Guven Mural wrote: > how many mb's can be attached maximum ? i didnt edit anything about it. did > a default install.. By default, there is no maximum (other than your physical disk space). Use /var/qmail/control/databytes or the DATABYTES environment variable to change this behaviour. See the man page for qmail-smtpd. - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior Systems Administrator localconnect(sm) http://www.localconnect.net/ The National Business Network Inc. http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax
Re: what file descriptors are used by QMAIL programs?
I wrote: > In general a program that provides an fd interface will discuss the > interface fds in the man page. Other programs that are not intended > to present a program interface (such as qmail-clean) will not have > specific fd discussions. As it happens, qmail-clean *does* discuss fds as well, even though it's not really intended as a programmable interface. That'll teach me to generalize without checking the specific example. Regards.
what file descriptors are used by QMAIL programs?
I once saw a reference document that talked about which UN*X file descriptors were used by various QMAIL programs. Can anyone recall seeing this info? I have looked in all the normal places/archives with no success. Thanks --curtis
Re: what file descriptors are used by QMAIL programs?
On Mon, May 01, 2000 at 02:08:14PM -0400, Curtis Generous wrote: > I once saw a reference document that talked about which UN*X file > descriptors were used by various QMAIL programs. Can anyone recall > seeing this info? I have looked in all the normal places/archives with > no success. It depends on which program you are referring to. Some are very specific about the fds they use and need, such as qmail-popup and qmail-queue. In general a program that provides an fd interface will discuss the interface fds in the man page. Other programs that are not intended to present a program interface (such as qmail-clean) will not have specific fd discussions. What specifically did you want to discover? Regards.
qmail-pop3d stralloc problem
Hi all, i have a big program with stralloc variable. So, in qmail-pop3d i declared a variable: stralloc *arrayname; arrayname = (stralloc *) alloc(numm * sizeof(stralloc)) with numm as number of message. When i try to do a stralloc_copys(&arrayname[i], "hello"), qmail-pop3d exit with a "segmentation fault". The strange thing is that i get this error only when numm is great than 25.I thought ...may be a memory problemor most probably i'm not a really good c programmer. Thanks for all your suggest Federico.
Re: qmail-pop3d stralloc problem
On Mon, May 01, 2000 at 10:19:57PM +0200, Federico Barbazza wrote: > Hi all, > i have a big program with stralloc variable. > So, in qmail-pop3d i declared a variable: > stralloc *arrayname; > arrayname = (stralloc *) alloc(numm * sizeof(stralloc)) Is that the exact code? If so, should be it sizeof(stralloc) be the sizeof the structure you are playing with? > with numm as number of message. > When i try to do a stralloc_copys(&arrayname[i], "hello"), qmail-pop3d > exit with a "segmentation fault". > The strange thing is that i get this error only when numm is great than > 25.I thought ...may be a memory problemor most probably i'm not a > really good c programmer. > > Thanks for all your suggest > > Federico.
Re: qmail-pop3d stralloc problem
On Mon, May 01, 2000 at 01:22:32PM -0700, [EMAIL PROTECTED] wrote: > On Mon, May 01, 2000 at 10:19:57PM +0200, Federico Barbazza wrote: > > Hi all, > > i have a big program with stralloc variable. > > So, in qmail-pop3d i declared a variable: > > stralloc *arrayname; > > arrayname = (stralloc *) alloc(numm * sizeof(stralloc)) > > Is that the exact code? > > If so, should be it sizeof(stralloc) be the sizeof the structure you > are playing with? Hoy! - where did that typo come from? I meant to say, should the sizeof(stralloc) be sizeof(yourstructure). I hope that was clear.
Re: qmail-pop3d stralloc problem
[EMAIL PROTECTED] wrote: > > On Mon, May 01, 2000 at 01:22:32PM -0700, [EMAIL PROTECTED] wrote: > > On Mon, May 01, 2000 at 10:19:57PM +0200, Federico Barbazza wrote: > > > Hi all, > > > i have a big program with stralloc variable. > > > So, in qmail-pop3d i declared a variable: > > > stralloc *arrayname; > > > arrayname = (stralloc *) alloc(numm * sizeof(stralloc)) > > > > Is that the exact code? > > > > If so, should be it sizeof(stralloc) be the sizeof the structure you > > are playing with? > > Hoy! - where did that typo come from? I meant to say, > should the sizeof(stralloc) be sizeof(yourstructure). I hope that > was clear. stralloc is a structure with a int and a char* now i tried to do this declaration: struct stralloc *arrayname; struct arrayname = (struct stralloc *) alloc(numm *sizeof(struct stralloc)) but it doesn't work. Thanks anyway.
Re: Newbie setting up aliases
Dave Sill wrote: > Bob Waskosky <[EMAIL PROTECTED]> wrote: > > >Hi. I'm having a very difficult time setting up my aliases. I just have > >a linux box and want to use qmail/mutt for my email. My ISP POP3 email > >address is [EMAIL PROTECTED] and I also have email on my virtualave > >website server [EMAIL PROTECTED] which is just forwarded to > >[EMAIL PROTECTED] . > > You can use getmail or fetchmail to grab the messages from your ISP > and deliver them locally. > > >How do I set up my aliases so this mail is sent to > >my ~/Maildir? > > That's either a getmail or a fetchmail question. Install one of them > and read the documentation. > > Here's a pointer to getmail. Fetchmail is widely available. > > http://www.qcc.sk.ca/~charlesc/software/getmail/ > > -Dave Hi I have no problems fetching my mail with fetchmail but the only way I seem to be able to get my mail is if I put a .qmail-default file in ~alias/. Any other filename I use eg .qmail-netnet or .qmail-nobhead or .qmail-bobski ... don't work whether I put them in my home directory or in ~alias/. The .qmail-default file seems to be the only one that allows me to get my mail to ~/Maildir. I also cannot send out any mail using qmailsmtpd. Your Life with qmail article has been a great help but I must be misunderstanding something. I also tried setting this up using an article called "Mail queue with qmail" using maildir instead of mbox so my setup is almost exactly whats in that article. If I don't use the ~alias/.qmail-default file everything gets delivered to ~alias/pppdir instead of ~/Maildir even though my other files point to maildir. Thanks Bob
Re: E-Mail Address Harvesting
On Mon, 1 May 2000 13:28:53 -0500 , "Dennis Duval" writes: > It appears that the sending IP (207.190.23.59) is bogus. I > get no information on a reverse lookup. ... which really doesn't mean it's bogus, just not properly configured. > I don't see any way to stop this type of attack other than to be able to > deny a connection from any IP address that does not have a valid MX record, > or at least a valid reverse lookup. But I have not figured out how to do > that. This won't stop "this kind of attack" because there is nothing in the nature of this attack that requires a non-reversed IP. If you're worried about stopping "this attacker," then use tcprules[1] to block connections from the attacker's IP (or IP block). I would only do this after trying their abuse contacts. Anyway, denying connections from non-reversed IPs would require putting a shell-script wrapper around the daemon which checks if TCPREMOTEHOST is set[1]. However, you may have reservations about doing this on a high-volume server. -- Chris Mikkelson | "I have yet to see any problem, however complicated, [EMAIL PROTECTED] | which, when you looked at it the right way, did not | become still more complicated." -- Poul Anderson [1] Assuming, of course, you use tcpserver.
qmail pop3 problem
I have qmail installed on my server. The smtpd is working (using telnet mail.domain.com 25). But when I telnet mail.domain.com 110, it doesn't work. The messages: "-ERR this user has no $HOME/Maildir". What is the problem? the command "maildirmake $HOME/Maildir" if I implement that like this: "maildirmake /home/user01/Maildir" .. for user01...is this correct? I put qmail-pop3d in inetd.conf like qmail-smtpd.. pop3 stream .../var/qmail...tcp-env.../qmail-pop3d is this correct? Daniel __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
Re: qmail pop3 problem
every user *must* have a $HOME/Maildir directory (if you use ./Maildir/ delivery system under qmail.) if user is john do a su john /var/qmail/bin/maildirmake $HOME/Maildir thats all needed Best Regards, mgm
How to setup ezmlm-cgi to publish list archieves @ web ?
Help! i read cgi man page 3 times. i cant setup ezmlm-cgi to publish archieve at web. anyone does this ? can you please send me example config file and tell the way? Best Regards, mgm
Re: E-Mail Address Harvesting
> > This won't stop "this kind of attack" because there > is nothing in the nature of this attack that requires > a non-reversed IP. If you're worried about stopping > "this attacker," then use tcprules[1] to block connections > from the attacker's IP (or IP block). I would only do > this after trying their abuse contacts. > Well, unfortunately, you can't anticipate in advance which IP address they may use tonight. You can only anticipate that it will probably have no reverse and no MX record. I plan to implement better notification, so that when the next attack starts at 3 a.m. I will get a page, roll out of bed, go thru logs to find the IP address being used, and put my blocks in place, to try to minimize the damage to my customers. Hmmm, maybe I could automate this, if I could find a good way to identify the IP address making frequent multiple connections. Contacting the administrator at crosswinds.net (which I did) will hopefully cause the account to be closed but likely they will just open annother one at free-redhot-email.com and hit someone else tonight. > > Anyway, denying connections from non-reversed IPs > would require putting a shell-script wrapper around > the daemon which checks if TCPREMOTEHOST is set[1]. > However, you may have reservations about doing this > on a high-volume server. > I thought I was already doing a check against non-reversed IP by running tcpserver in the paranoid mode with the -p option, but I guess I am doing it incorrectly or else not understanding it correctly. Dennis
Understanding How To Use qmail In My Product
Hello, I am the team leader of a commercial product that does a lot of "outbound" mailing in any given week. My product currently uses the sendmail daemon to do this and I need a much more industrial strength solution. That's why I am looking at qmail. We are a subscription service and we mail users messages based on their subscription. Almost all of our users subscriber via our web pages. I currently get anywhere from 10,000 to 15,000 messages mailed an hour but I have mailing campaigns that have more than 300K addresses on them. I am under the impression that I can get an enormous boost using qmail. My product constructs each subscriber's mailing from a database of documents based on their subscription, forks a sendmail process and pipes the mailing to the sendmail process. The sendmail daemon takes it from there. I have been reading the information on the qmail web pages and related pages and I see a lot of information but it seems to relate to many aspects of mailing that I'm not interested in at the moment. I'll admit up front that I am not a UNIX guru so that may be an extremely naive statement. I just want to get the mail out much faster. My product runs on a UNIX variant that is supported by qmail. So I'd like to ask a few questions and see if someone can point me in the right direction. Q01. Is it true that I can get an enormous increase in the number of messages I could mail per hour using qmail? Q02. Is qmail free? (I will be using it in a "commercial" product). Q03. Does my environment sound like a "simple" use of qmail or is there hidden aspects I'm not aware of? I do process returned mail today and separate it into different directories which I eventually use to clean up the email addresses in our database. Q04. Can I keep the portion of the product that processes returned mail the same (i.e. using sendmail) and still use qmail to do the mailing? I hope I'm using this mailing list correctly. If I'm not please let me know and also, if possible, let me know where I can go to get the information I need. Thanks... Mike
Re: Understanding How To Use qmail In My Product
On Mon, May 01, 2000 at 05:17:11PM -0400, Mike Flynn wrote: > Hello, > > I am the team leader of a commercial product that does a lot of > "outbound" mailing in any given week. My product currently > uses the sendmail daemon to do this and I need a much more industrial > strength solution. That's why I am looking at qmail. We are a > subscription service and we mail users messages based on their > subscription. Almost all of our users subscriber via our web > pages. > > I currently get anywhere from 10,000 to 15,000 messages mailed > an hour but I have mailing campaigns that have more than 300K > addresses on them. I am under the impression that I can get an > enormous boost using qmail. My product constructs each > subscriber's mailing from a database of documents based on > their subscription, forks a sendmail process and pipes the mailing > to the sendmail process. The sendmail daemon takes it from there. Right, so each document sent to each subscriber is different? While qmail is a *lot* quicker when it comes to sending the same document to a lot of recipients, it doesn't gain as significantly as the case of seperate documents for each recipient. Largely because queue insertion is an expensive operation. Nonetheless, it is still likely to be much faster than sendmail and much more amenable to handling the bounces. There are also techiques that can be used to minimize queue insertion costs, but it requires an analysis of the variability of your content to determine if there is any real advantage. > So I'd like to ask a few questions and see if someone can point me > in the right direction. > > Q01. Is it true that I can get an enormous increase in the number > of messages I could mail per hour using qmail? You will get a significant improvement, but it's very hard to say exactly without specifics of your system, mail sizes, etc. You know that qmail can co-exist with sendmail, so you could fairly readily do a run with qmail instead of sendmail to compare the differences? > Q02. Is qmail free? (I will be using it in a "commercial" product). Yes. You wont have to pay anyone to use it. > Q03. Does my environment sound like a "simple" use of qmail or > is there hidden aspects I'm not aware of? Sounds pretty simple to me, it largely depends on how you do the injection and what you want done with the bounces and messages that fail to delivery at all. > I do process returned mail today and separate it into different > directories > which I eventually use to clean up the email addresses in our database. You could use the VERP feature of qmail to make this automatic. > Q04. Can I keep the portion of the product that processes returned mail > the same (i.e. using sendmail) and still use qmail to do the > mailing? Potentially, though that may take a little work for mail that sits on the queue and expires. Regards.
Re: send mail to remote hosts...
On Mon, 1 May 2000 08:31:30 -0400, Paul Schinder wrote: >At 10:35 PM -0400 4/30/00, Mrs. Brisby wrote: >> 2) pop3 command XTND XMIT. >> obvious PRO: no second connection necessary! >> obvious CON: needs a custom client. I am looking for >>one of these (preferably for windows and/or macos) >>-- anyone want to let me know of one? > >You mean server or client? Eudora implements XTND XMIT (definitely >on MacOS, probably on Windoze). That's why Qualcomm's qpopper also >implements XTND XMIT. Of course, using qpopper means using mbox >rather than Maildir. It seems like I've heard that... oh well, there are XTND XMIT patches for qmail-pop3d someplace... I don't use windows here (OS/2) so I don't get a chance to play with those new-fangled cooky emailers :)
Re: Understanding How To Use qmail In My Product
On Mon, 01 May 2000 17:17:11 -0400, Mike Flynn wrote: [ blah blah blah ] >Q01. Is it true that I can get an enormous increase in the number > of messages I could mail per hour using qmail? I don't know, can you? Can is a question of ability, and it has been my experience that automailers (which I unfortunatly have to drop you into) have various optimization issues of their own right. If your program is broken, qmail MIGHT NOT be (much) faster... For example: Mailing list injection can truly be done one of three (major) ways: 1. a manual injector; /usr/lib/sendmail -t or /var/qmail/bin/qmail-inject -- it's all the same 2. smtp connection with a LOT of RCPT TO:'s 3. autoinjecting (ezmlm or majordomo) Now number '1' is certainly attractive; it allows you to easily switch mailers and depending on the rest of the project, maybe even platforms. '2' also would seem that way, however, mailers often make quite a difference between the two. 300K fork+exec's is a LOT of process wasting. add to that the fact that qmail then needs to chill those in it's queue for a while, and blast them out at a later time. SMTP relaying just passes the buck; but the mailer /MAY/ be more adaquitely developed for this task; it may not even fork at all! (yeah, think about that one :P) The fact that we have ezmlm is what makes me love qmail. I let ezmlm manage the lists. That way, I don't have to make any special codes to allow the user to subscribe and unsubscribe. And it allows me to pass the buck so that as qmail and ezmlm mature, so does the versitility of my service. I just write a couple perl cgi's that subscribe in a SAFE manner, and be done with it. So in general, is qmail going to be faster? hey, we're all fans here. And I doubt you'll find anyone on this list to tell you that qmail is "slower" than anything else out there. And there's numerous success stories floating all over the place to commend the awe that is qmail. So yes, it is /faster/. But we also use qmail for another (IMHO, an even better) reason: simplicity. I feel confident that when I create an alias, or a list, it'll work as I expect it to. Because qmail is simple, I can actually understand how it works (just by looking at the source-- something you can't really get from sendmail). And that makes me feel that it's safe for what I want to do with it. Since I switched to qmail in 97, I haven't lost a single email. When I took over a Sr position at another company, we were losing 5-10 emails a month because of sendmails incompetence -- I switched them over to qmail, and my success rating continues to soar. >Q02. Is qmail free? (I will be using it in a "commercial" product). That depends on your definition of free. Is it free for me to use? Yes. Is it free for me to change? Yes. Is it free for me to redistribute? As near as I can tell -- yes, as long as I don't distribute a modified qmail. >Q03. Does my environment sound like a "simple" use of qmail or >is there hidden aspects I'm not aware of? > >I do process returned mail today and separate it into different >directories >which I eventually use to clean up the email addresses in our database. > Welp. Your "environment" sounds a lot simpler than you make it out to be. I always thought a good rule of thumb is that if you sell houses, what business do you have making cars? And if you sell newsletters, why would you build a mailer? There's already fantastic (free) software that does exactly what you're trying to make (so it sounds). ezmlm (for example), automatically deals with bounces in a rather intellegent way. You might be able to speed your project around by continuing your searches. >Q04. Can I keep the portion of the product that processes returned mail >the same (i.e. using sendmail) and still use qmail to do the >mailing? Again, that depends. See my answer to Q1. Qmail provides a "sendmail emulation" system. Take it, and the fastforward package, and qmail can work as almost a drop-in replacement for sendmail. And with some tweaks? A lot better than sendmail. However, if you're dead-set on splitting up the job of delivery, you CAN do it with qmail. Qmail doesn't have anything about it that *REQUIRES* that SMTP be running (or pop, or qmqp/qmtp for that matter). By installing qmail, you can use it's fast queuing and remote delivery system along side sendmail's broken local delivery. But I wouldn't recommend it. Sendmail has many issues that should one day be dealt with (read: dropped off a cliff), and I hope everyone will realize that. But I also hope that people will realize that you can have your cake and eat it too; qmail does mail. it isn't sendmail (that's true), but sendmail has (unfortunatly) defined the way a lot of programs think of mail. There are SO MANY shell/perl scripts that have lines like: open(P, "|/usr/lib/sendmail -t") or die ("$!");
Re: virtual domain hosting
it contains ./Maildir/ At 06:06 PM 04/29/2000 -0400, Bob Rogers wrote: > From: Vishwanath Paranjape <[EMAIL PROTECTED]> > > hi all > i am trying to setup virtual domains using qmail > i installed qmail on redhat 6.0 and its working ok > but i tried to setup virtual domains > i read the complete documentation along with the distribution > my virtualdomains files is as follows > > domain1.com:jim > > but the mail addressed to > [EMAIL PROTECTED] > bounces back > saying "no such mailbox" > > but the mail addressed to > [EMAIL PROTECTED] > gets delivered to [EMAIL PROTECTED] > > > please help > vish > >So what does ~jim/.qmail-carol contain? > > -- Bob Rogers >
qmail-inject
Hello, How do I tell qmail-inject to send email thru a particular virtual domain name? Currently it just gives the address [EMAIL PROTECTED] which is my defauldomain The reason why I am asking is I have a cgi script that sends mail thru an interface and currently it just pushes everything thru my defaultdomain and I get the bounced messages in my postmaster box when the mail isnt deliverable... Would rather the virt domain get its own return addressed mail Can I also put a particular user's name in the this comand line so if a message doesbounce then they'll get the MAILER-Daemon message Thanks in advance, Mike Perks
Further to qmail-inject
Here is a header from a mail message sent thru my cgi interface Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: (qmail 16443 invoked by uid 99); 2 May 2000 04:32:58 - Date: 2 May 2000 04:32:58 - Message-ID: <[EMAIL PROTECTED]> Cc: recipient list not shown: ; From: Mail List <[EMAIL PROTECTED]> Subject: Test How can I make the Return-Path an different domain name from the command line to invoke qmail-inject ??? I dont want to see vanislenet.net ??? Hope you can help?? Mike Perks
dot-qmail: write to mbox named after current year & month
What is the easiest way to have qmail deliver an incoming message to an mbox named after the current year and month without having to manually adjust the .qmail each month? For example, "mbox.2000-05". I've tried the following: % cat .qmail ./mbox.`date +%Y-%m` This results in a mailbox file literally named "mbox.`date +%Y-%m`", which is obviously not what I want. __ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
Re: Further to qmail-inject
Mike Perks <[EMAIL PROTECTED]> writes on 1 May 2000 at 21:39:10 -0700 > How can I make the Return-Path an different domain name from the command > line to invoke qmail-inject ??? I dont want to see vanislenet.net ??? Everything you need is described in man qmail-inject. I think you need to set QMAILSHOST to set the envelope sender, which is what then becomes that "from " header in the received message. -- Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]
Re: Further to qmail-inject
Thanks David, You gave me an idea.. Why not just find the spot in the code to add the Return-Path in the header. The original code did not have the return-path parts... Snip of CGI Code = sub seml1 { open (MAIL, "|$mailprog") || die "Can't open $mailprog!\n"; print MAIL "Return-Path: joshua\@bitachon.com\n"; print MAIL "To: $mailadr\n"; print MAIL "From: $mailreply\n"; print MAIL "Subject: $mailsubj\n\n"; print MAIL " $mailinfo\n"; close (MAIL); } sub seml2 { open (MAIL, "|$mailprog $mailadr") || die "Can't open $mailprog!\n"; print MAIL "Return-Path: joshua\@bitachon.com\n"; print MAIL "From: $mailreply\n"; print MAIL "Subject: $mailsubj\n\n"; print MAIL " $mailinfo\n"; close (MAIL); } === Un-snip of CGI Code This solved the return-path problem and did not show my defaultdomain anymore as [EMAIL PROTECTED] Sorry for the postings but sometimes a thrid party can make the brain think... Mike Perks - Original Message - From: "David Dyer-Bennet" <[EMAIL PROTECTED]> To: "Qmail Mail List" <[EMAIL PROTECTED]> Sent: Monday, May 01, 2000 9:51 PM Subject: Re: Further to qmail-inject > Mike Perks <[EMAIL PROTECTED]> writes on 1 May 2000 at 21:39:10 -0700 > > > How can I make the Return-Path an different domain name from the command > > line to invoke qmail-inject ??? I dont want to see vanislenet.net ??? > > Everything you need is described in man qmail-inject. I think you > need to set QMAILSHOST to set the envelope sender, which is what then > becomes that "from " header in the received message. > -- > Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon > Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b > David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED] >
Out of memory error??
Hi ALL, I have a curious problem - I keep getting the following error in logs: May 2 05:17:49 xsimail qmail: 957251869.565023 alert: out of memory, sleeping... I have 512MB of memory and 1GB SWAP on a solaris 7 system running on a quad 333MZ SPARC system?? How can it be out of memory!!! Please can anyone explain??? ALSO - running qmail 1.03 and the mysql patch from Iain Patterson?? Thanks Tonino
ofmipd-like sending from command line?
Does anybody have a command-line program already built that can send mail using cdb rewriting like mess822's ofmipd does? new-inject has everything for rewriting that ofmipd has, except the one feature that I want... Purpose: I need to modify qmail-vacation to make the autoresponses appear to come from "[EMAIL PROTECTED]" instead of the current "[EMAIL PROTECTED]". -- Bryan Curnutt <[EMAIL PROTECTED]>
Re: ofmipd-like sending from command line?
On Mon, 1 May 2000, Bryan Curnutt wrote: > Does anybody have a command-line program already built that can send mail > using cdb rewriting like mess822's ofmipd does? new-inject has everything > for rewriting that ofmipd has, except the one feature that I want... > > Purpose: I need to modify qmail-vacation to make the autoresponses appear > to come from "[EMAIL PROTECTED]" instead of the current > "[EMAIL PROTECTED]". Given that qmail-vacation just sends replies back through qmail-inject, why not set environment variables in side your .qmail file | QMAILHOST=virtudomain.dev.salu.com QMAILUSER=newuser qmail-vaction -j username I haven't tested that, you might need to export the variables. If so then just use a shell script wrapper to set the variables and call qmail-vacation appropriately. PS I promised a new version of qmail-vacation, it is coming but I've been swamped with work lately (sad I know :). Soon, honest. Regards Peter -- Peter Samuel[EMAIL PROTECTED] Technical Consultantor at present: eServ. Pty Ltd [EMAIL PROTECTED] Phone: +61 2 9206 3410 Fax: +61 2 9281 1301 "If you kill all your unhappy customers, you'll only have happy ones left"
This doesn't make sense -- qmail can't connect.
qmail for some reason is refusing to connect to another host which is located on the same hub: 2000-05-02 02:28:33.493593500 starting delivery 390: msg 99178 to remote [EMAIL PROTECTED] 2000-05-02 02:28:33.493603500 status: local 0/10 remote 7/20 2000-05-02 02:28:33.517261500 delivery 390: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/ But, as you can see: adam@spotted:~$ telnet pan-fried.flounder.net 25 Trying 207.99.110.102... Connected to pan-fried.flounder.net. Escape character is '^]'. 220 athlon.flounder.net ESMTP SMTP is up and running fine on pan-fried and I can connect to it from this box. And there is no sort of timeout or anything -- it connects immediately. So, why can't qmail connect? tcpserver is totally idle on the other box: 2000-05-02 02:30:43.196639500 tcpserver: status: 0/40 There are no dns problems: adam@spotted:~$ dig pan-fried.flounder.net a ; <<>> DiG 8.2 <<>> pan-fried.flounder.net a ;; res options: init recurs defnam dnsrch ;; got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUERY SECTION: ;; pan-fried.flounder.net, type = A, class = IN ;; ANSWER SECTION: pan-fried.flounder.net. 0S IN A 207.99.110.102 adam@spotted:~$ dig pan-fried.flounder.net mx ; <<>> DiG 8.2 <<>> pan-fried.flounder.net mx ;; res options: init recurs defnam dnsrch ;; got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUERY SECTION: ;; pan-fried.flounder.net, type = MX, class = IN ;; ANSWER SECTION: pan-fried.flounder.net. 0S IN MX 0 a.mx.pan-fried.flounder.net. a.mx.pan-fried.flounder.net. 0S IN A 207.99.110.102 --Adam
Re: This doesn't make sense -- qmail can't connect.
heh.. never mind. I should stop staying up this late. (bad entry in smtproutes) --Adam