Re: POP-before-SMTP implementations
On Thu, Mar 16, 2000 at 09:48:21AM +, Erik Byström wrote: Has anyone implemented a POP-before-SMTP (selective relaying) system that doesn't rely on the assumption that qmail and the POP daemon are on the same host? Those I found on the qmail page unfortunately did. I have, and I've used the system with both qmail and exim. Search the archives; I posted my scripts fairly recently. -- See complete headers for more info
Re: IMAP Server
On Tue, Mar 14, 2000 at 12:02:26AM +1100, Gary Barnden wrote: Hello All I've noticed that a few IMAP servers exist, in anyones opinion, which one is the best? courier-imap is small, fast, has flexible auth mechanisms, and more importantly, is designed for Maildirs. I like it. -- See complete headers for more info
Re: imap
On Fri, Mar 10, 2000 at 09:22:18AM +1100, Kevin waterson wrote: I have installed David Summers imap-4.5-3mdir4.i386.rpm but do not seem to be able to access IMAP in my /etc/inetd.conf I have imapstream tcp nowait root/usr/sbin/tcpd imapd What might I be missing After putting that line in /etc/inetd.conf, did you HUP inetd? If you did, then what happens when you try to "telnet localhost imap"? Do you get a prompt of any sort? You really must supply more information, if anyone is to help you. -- See complete headers for more info
Re: Unknown recipients
On Fri, Mar 10, 2000 at 09:06:48AM +0100, Petr Novotny wrote: I believe it's better not to accept that mail in the first place. Correction: It would be better if it was for free. Unfortunately, checking whether a username exists (against large database) can be arbitrarily slow; unless you're planning to overload your busy box, forget it; qmail-smtpd just carries on the conversation, qmail-queue writes down the message, fsync()es it and you're done. Are you saying that spending a few more resources checking up valid usernames is better than accepting possibly large emails, and then attempting to bounce them, and spending bandwidth, time and qmail-remote slots, which would be better used for genuine outgoing emails? I think the problem of slow lookups in large databases has gone away with CDB. -- See complete headers for more info
Re: tcpserver unable to fork
On Thu, Mar 09, 2000 at 02:43:59PM +0530, S Ashok Kumar wrote: Is there any limit on tcpserver forking processes? I have configured tcpserver to fork qmail-smtpd with concurrent sessions of 2000. I have made a simulator that makes upto 2000 connections to qmail-smtpd. But when the simulator reaches 1247 connections, tcpserver reports error which is: tcpserver: warning: dropping connection, unable to fork: temporary failure I am testing this on a P-III, 500MHz RedHat Linux 6.1 machine with 512MB RAM and 1GB SWAP. The machine is off-line and there is no queue. I am only using it to stress test the machine so I can arrive at a value on number of simultaneous connections this machine can take. The simulator connects to port 25 and simply says "HELO localhost\r\n". /proc/sys/fs/file-max is defined as 65536. Is there any additional fine-tuning I need to do with the kernel or file-system? Raising the file-max is no good. tcpserver wants to fork and create a new process. Increase your max-proc (or equivalent) limit. -- See complete headers for more info
Re: Unknown recipients
On Wed, Mar 08, 2000 at 01:40:32PM +0100, Bernat Ginard wrote: Hi all, The behaiviour of qmail is accept al messages for local domains and if the recipient is unknown it returns the mail. Under normal operation that's not a big problem, but last night somebody was doing spam outside here and put as sender address one ours, so today there was 64 double bounces of that address. What I want to know is if there is a way to change this to make qmail don't accept a mail for a non existent recipient in the local domains. No there isn't. qmail's design is such that it does no recipient verification when accepting an email. I wish there were some way to do this though. Perhaps qmail-smtpd can look up a file list users/assign. -- See complete headers for more info
Re: dnscache reports zero ttl - is that a problem?
On Tue, Mar 07, 2000 at 02:21:09PM +0100, torben fjerdingstad wrote: I apologize if you think I should have asked somewhere else. (where would that be?). I don't have an answer for the DNS problem, but you should join up the [EMAIL PROTECTED] list and discuss this issue there. -- See complete headers for more info
Re: qmail-send error
On Tue, Mar 07, 2000 at 09:38:28PM +0800, Benjamin de los Angeles Jr. wrote: what's the meaning of this error message? alert: cannot start: hath the daemon spawn no fire? Either there is a serious configuration error, or there is a temporary lack of resources like memory or file descriptors. man qmail-log -- See complete headers for more info
Re: MX go boom!
On Mon, Mar 06, 2000 at 01:06:23PM -0500, Mark E. Drummond wrote: I was working from home last Friday when my boss sent me an email telling me that the MX had run out of swap (256MB physical swap) and needed to be rebooted. So I have gone searching my logs for telltale information but I have found next to nothing. I noticed that "status" messages in my smtpd log were up around 17/40 around the time of the reboot, but that is nothing phenominal I don't think. It has been stable ever since (and was stable for the 87 days before that, but I only added Scan4Virus and RSS checking in the past week or two). When qmail-smtpd runs, it allocates as much memory as required to store the SMTP commands. If you connect to qmail-smtpd, and send lots and lots of RCPTs for example, it will go on allocating memory until the memory usage on your machine goes really high. The solution to this problem is to limit the memory usage of qmail-smtpd, by using the shell's ulimit feature. If you limit each qmail-smtpd to say, 2 MB, and you allow up 40 connections, then at worst, the lot of them would use up 80 MB of RAM. Since you have 256 MB RAM, you would probably be fine with this setting. If you don't limit the memory use, even a single qmail-smtpd can use up lots of memory and cause the machine to swap. I don't know if this is your problem, but its worth investigating. -- See complete headers for more info
Re: Strange problems with tcpserver
On Mon, Mar 06, 2000 at 09:00:26AM +0100, Häffelin Holger wrote: Hi there! I have a setup with qmail and tcpserver. I defined some ip-numbers allowed to relay in tcp.smtp, and the rest should be denied. In most cases, this filter works, but from customers I got the note that sometimes (not always reproducable) they can relay over this server. Is this a bug in tcpserver??? The problem is, that the relayclient variable is also set, so that the rcpthosts doesn't work. You should provide more information. Show us the contents of your tcp.smtp file. What does your control/rcpthosts file contain? Give us an example of a relayed message. Only then can someone give you an answer. -- See complete headers for more info
Re: Slightly OT: Bcc - who is repsonsible
On Mon, Mar 06, 2000 at 03:29:06PM +0100, Markus Stumpf wrote: Hoi folx, just had a discussion with a support person. Their MUA is not deleting Bcc: Lines from the header. Then it's the villain. They claim it's within the repsonsibility of the MTA to look at the headers and "do the right thing". Only if the MTA is being used as an MUA. This is the case with sendmail and exim, for example, where the same binary serves as the daemon as well as the command line MUA. If the MTA is invoked on the command line with the -t option, it should strip the Bcc: header. Otherwise, if it receives the message via SMTP, it should not. IMHO this is wrong. However all I could find about it was RFC1123 section 5.2.1, which says the MUA should construct envelope fields for the SMTP protocol. You can use the logic in this to deduce who is responsible for what. 1. An SMTP server is supposed to use the MAIL FROM: as the sender address and the RCPT TO:'s as the recipients. It's _not_ supposed to look in the headers for any sender/recipient info. 2. In that case then, if the SMTP server is not going to look at the headers, it should not be bothered about stripping any Bcc: fields. 3. Therefore, it is up to the MUA to strip the Bcc: field, and use its contents in its SMTP dialogue with the mail server to supply the RCPT fields. There is some description of how the Bcc: field is to be handled in RFC 822, but it's very ambigious. Here's the relevant section: 4.5.3. BCC / RESENT-BCC This field contains the identity of additional recipients of the message. The contents of this field are not included in copies of the message sent to the primary and secondary reci- pients. Some systems may choose to include the text of the "Bcc" field only in the author(s)'s copy, while others may also include it in the text sent to all those indicated in the "Bcc" list. At the end of the day, Bcc: is a feature of the mail client, and the MTA does not need to bother with it. Take for example, the case where an MUA sends a message to other users on a system by directly writing messages in the other users' mailboxes (eg. Pegasus running in Netware). No MTA is involved there, and if the MUA doesn't strip the Bcc:, it has only itself to blame. -- See complete headers for more info
Re: Message 252 when VRFYing
On Wed, Mar 01, 2000 at 12:45:19PM -0400, Shera wrote: Since the mail works fine except for this Message 252 there is no big problem execpt that I have a program to verify users and it checks the mail server with vrfy user and right now my program wont work. So how do I fix it so qmail sees my users as local? qmail-smtpd does not verify local users. This is how it is designed. It always return 252 to clients who attempt to use VRFY, whether the user exists or not. -- See complete headers for more info
Re: Sender domain invalid
On Tue, Feb 29, 2000 at 03:22:03PM +0800, Stein Ma wrote: Dear all, I am new to qmail and have a problem here. I have added the follwoing in the .bash_profile MAILUSER=my_isp_username MAILHOST=my_isp_domain QMAILINJECT=f You must also set QMAILSUSER=my_isp_username and QMAILSHOST=my_isp_domain to set your envelope sender correctly. export MAILUSER MAILHOST QMAILINJECT Thank you, Stein Ma = qmail bounced the following messages Hi. This is the qmail-send program at durian.fidamy.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. [1][EMAIL PROTECTED]: Connected to 208.230.135.220 but sender was rejected. Remote host said: 501 [2][EMAIL PROTECTED]... Sender domain must exist ; ; ; References 1. mailto:[EMAIL PROTECTED] 2. mailto:[EMAIL PROTECTED] -- See complete headers for more info
Re: forwarding mail
On Thu, Feb 24, 2000 at 03:25:40PM +0200, TAG wrote: How do I forward mail from a maildir to another mailbox - the mail is already there I just need to forwrd it to another mailbox on another system?? Use pine/elm/mutt to 'bounce' the mail to another address. -- See complete headers for more info
Re: Mailserver quotas
On Thu, Feb 24, 2000 at 02:34:25PM +0200, TAG wrote: Hi ALL, I don't know if this is the right place to ask this question - but is there a add-on program for qmail that allows you to limit the mailbox sizes?? Look at http://www.qmail.org. There are some scripts there. -- See complete headers for more info
Re: strangeness with qmail-smtpd
On Tue, Feb 22, 2000 at 05:06:00PM -0800, Ben Houston wrote: I think there's a problem with the software he's using... could it be the Bare LF problem? I know I haven't been able to supply much information here, but that's because I can't seem to find log entries (apparently qmail-smtpd doesn't have any), and I'm not sure how to continue. Any similar experiences or suggestions for a course of action? Thanks for your help... You can use recordio from the ucspi-tcp package to record the entire conversation from that database application. Then you'll know if it's a bare LF problem or something else. -- See complete headers for more info
Re: TZ for qmail
On Wed, Feb 23, 2000 at 10:02:09AM -0500, Aled Treharne wrote: Where can I set the TZ for qmail? It's currently using GMT (although both my h/w clock and my TZ is set to EST). This kinda gets annoying. :) You can't. qmail does all its timestamping in UTC (GMT). If you're interested to know why, search the recent archives - there was a long discussion about this issue. -- See complete headers for more info
Recent hotmail problems
I know this is off-topic, but I'd like to know if anyone else is seeing this: Over the last couple of weeks, I've been seeing a lot of '554 transaction failed' errors in my qmail logs for deliveries to hotmail.com addresses. In some cases, my customers have reported that even though they received a bounce, the recipient received the message anyway. Anyone have any idea what M$'s latest experiment at Hotmail is? -- See complete headers for more info
Re: Distribution List
On Wed, Feb 16, 2000 at 02:07:33PM +0500, Muhammad Ali wrote: I want to make distribution lists in Qmail. How? man dot-qmail. -- See complete headers for more info
Re: tcpserver problem
On Tue, Feb 15, 2000 at 07:45:59PM -0800, Francis Francis wrote: Hi I am new to qmail. I got following problem when I try to telnet to port 25 or using mail client to send mail. I got log message : tcpserver:warning: dropping connection,unable to read /etc/tcp.smtp.cdb: file does not exist. but when I do ls -l /etc/tcp.smtp.cdb, the file is there. What does your _exact_ tcpserver startup line look like? And what's the output of 'ls -l /etc/tcp.smtp.cdb' ? Don't tell us the file is there, paste the output in your replies. -- See complete headers for more info
Re: Custom mail directories
On Tue, Feb 15, 2000 at 12:31:38PM +, John P. Looney wrote: man qmail-users I was hoping there was an alternate way; that I could find the home directory required in a similar way as to how pop3d can authenticate via a plugin. All the users info is in an SQL database, which is updated between a hundred and a thousand times a day, so regenerating the assign file is not an option. Then you need to modify qmail-getpw to look-up the SQL database, and return relevant information, ie. uid, gid, home directory, etc. For more info: man qmail-getpw -- See complete headers for more info
Re: removing a msg from the queue
On Tue, Feb 15, 2000 at 03:21:35AM -0500, Jim Breton wrote: IIRC I stopped qmail-send but qmail-remote was still running (maybe it existing qmail-remotes are allowed to finish deliveries, _after_ which qmail-send exits. wasn't, I can't recall, but it's not an issue) and I killed it with a -9. Then I removed the message from /var/qmail/queue/mess/0/ but either Very bad practice. In general, on a unix system, try to kill a process with kill -TERM first, and if that doesn't work, _then_ try kill -KILL (or kill -9). qmail-qread would give me this error: warning: trouble with #1955: file does not exist I looked around a bit more and found /var/qmail/queue/remote/0/1955 and info/0/1955 and removed them as well. Everything seems to be OK now, but are there any other files I missed and did I do the right thing, or is there a better way? Well, you were on the right track, and you did eventually end up doing the right thing, but you must be careful when trying to mess around with qmail's queue directly. Generally, you want to remove /var/qmail/queue/{info,mess,remote,local}/hash/#number to completely remove a message, where #number is the message id number. -- See complete headers for more info
Re: removing a msg from the queue
On Tue, Feb 15, 2000 at 03:48:31AM -0500, Jim Breton wrote: Very bad practice. In general, on a unix system, try to kill a process with kill -TERM first, and if that doesn't work, _then_ try kill -KILL (or kill -9). I did. It didn't stop, so then I used -9. Hang on... If I read this right, you killed qmail-send with a -9 ? Bad. This is what you're supposed to do: kill qmail-send (standard kill, not kill -9) ... it waits for it's qmail-remote children to finish kill qmail-remotes (standard kill, not kill -9) ... now qmail-send will die on its own ... -- See complete headers for more info
Re: Custom mail directories
On Tue, Feb 15, 2000 at 11:57:32AM +, John P. Looney wrote: I have all must users account details stored in an SQL database, not in /etc/password. I found the checkpassword program, and modified it so it fills out the requesite information, and it seems to be working, for POP mail. However, what do I do to allow qmail to *deliver* into the custom Mail directories ? man qmail-users -- See complete headers for more info
Re: qmail on FFS with softupdates
On Fri, Feb 11, 2000 at 08:54:52PM +0100, Andre Oppermann wrote: FFS with sync metadata (the default) does. I'm not sure on FFS/softupdates. It does also for softupdates. The only case FFS does not guarantee this is when you mount FFS async. This is what I read in the qmail FAQ: "What types of filesystems are safe for mail? Answer: qmail's queue (except for bounce message contents) is crashproof if the filesystem guarantees that single-byte writes are atomic and that directory operations are synchronous. These guarantees are provided by the BSD FFS and its derivatives, and by typical journaling filesystems. Do not use async (or softupdates) filesystems; if you do, and if your system crashes at the wrong moment, you will lose mail. Under Linux, make sure that all mail-handling filesystems are mounted sync. The same comments apply to sendmail and other mailers. It is safe to put qmail's queue on a noatime filesystem." Dan does not recommend the use of a softupdates file system for the queue. If FFS+softupdates = standard FFS+faster, then there should be no harm in using it. Dan, any comments? -- See complete headers for more info
Re: maildir - MIME web-viewer ?
On Fri, Feb 11, 2000 at 07:33:12AM +0100, Olivier M. wrote: Hello, The last week, I tried a few webmail solutions, based on imap and pop. Some are pretty, but actually, I think it is silly to use pop, when we could simply use a CGI to read the mails _directely_ from user Maildir (with password check naturally). http://www.inter7.com/sqwebmail -- See complete headers for more info
Re: dos attacks
On Thu, Feb 10, 2000 at 04:32:59AM +, Robert Sanderson wrote: Try adding: /usr/local/bin/setlock -nx Maildir/.poplock I extended this idea a little for my site, to allow per-ip limits. Suppose I only want to allow up to 3 connections from 1.2.3.4, I make a wrapper around qmail-smtpd, which sequentially attempts to lock: 1.2.3.4.1 1.2.3.4.2 1.2.3.4.3 If any of them succeeds, the qmail-smtpd is allowed. Otherwise, it means that there are already 3 sessions from 1.2.3.4, and the wrapper prints: 421 too many sessions And exits. I had posted my shell scripts to the list a couple on months ago. If anyone's interested, they can search the archives. -- See complete headers for more info
Re: concurrencyremote
On Wed, Feb 09, 2000 at 02:22:40PM +0800, Benjamin de los Angeles Jr . wrote: 120 is a compile-time upper limit imposed on concurrency for qmail-lspawn and qmail-rspawn. You can raise it to 255 on some systems. See the file conf-spawn in the qmail source. Why is it that the maximum number for concurrent remote connections is 120? /var/qmail/control/concurrencyremote cannot override this maximum value. -- See complete headers for more info
hung qmail-smtpd's on solaris 7
I'm running qmail under Solaris 7 (aka solaris 2.7). I have a problem: I have many qmail-smtpd processes on the system which appear to have hung. Some of them are many days old, as old as Jan 17, 2000. I noticed them today when I saw that tcpserver's concurrency was quite high, yet there wasn't that much mail coming in. If I attach a truss to those processes, I see them "sleeping" on a read call: # truss -p 12270 read(0, 0x0002A420, 1024) (sleeping...) ^C # I would have thought that they would timeout after 1200 seconds. I searched the archives and Mark Delany mentioned in http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/02/msg00752.html that he had seen a similar thing on Solaris 2.6, but there was no further discussion on a solution. At the moment, the only thing I can do is to kill off the processes by hand, or worse, reboot. Has anyone else seen this, and if so, is there a known solution? Is there any Solaris guru out there, who might know of a kernel parameter that I can tune to reduce this problem? -- See complete headers for more info
Re: qmail + UUCP address
On Tue, Feb 01, 2000 at 04:12:49PM +0700, Okky wrote: Could anyone suggest me how to make qmail understand addresses such as [EMAIL PROTECTED], and then deliver it accordingly? Look at FAQ 2.3 and also at the example on www.qmail.org -- See complete headers for more info
Re: A newbie's question: qfilelog and multilog
On Wed, Feb 02, 2000 at 10:54:07AM +0900, Wang-hua Li, Mack wrote: Hi there, I am having qmail-1.03 with daemontools-0.61 running and would like to have my logs rotated on a daily base. I learned from the Qmail Mailing List Archive that qfilelog could do just what I am expecting but all the messages there seem to be about older version of daemontools (cyclog). I wonder if anyone out there had got it running with daemontool-0.61 (multilog). How do I set my 'run script' to have them work together ? This is the tricky bit. daemontools-0.61 introduced the concept of an svscan pipe between a process and its logger. The reason was because shell pipes are unreliable. In order to use qfilelog, you would have to do something like: qmail-start ./Maildir/ tai64n | qfilelog somefile In you want to run this under daemontools-0.61, your run script would be: qmail-start ./Maildir/ And your log/run script would be: tai64n | qfilelog somefile This is where the problem is: You're back to using shell pipes and there's a possibility of loss of logs if one of the components of the pipeline dies unexpectedly. While there are convoluted ways of achieving time-based rotation with multilog, I really wish it was a built-in feature. -- See complete headers for more info
Re: Sending to an IP address
On Wed, Feb 02, 2000 at 04:42:55PM +1100, Wilson Fletcher wrote: OK added [203.26.11.154] to both control/locals control/rcpthosts still not luck (yes I restarted qmail) That's because it's the wrong way of doing things. Read the qmail-smtpd man page, and see the section about the control file "localiphost". -- See complete headers for more info
Re: SMTProutes - how to use them?
On Mon, Jan 31, 2000 at 02:40:51PM +0800, Michael Boman wrote: man qmail-remote How do I use SMTPRoutes? Please advice Michael Boman -- See complete headers for more info
Re: Something strange in my logs.
On Mon, Jan 24, 2000 at 03:16:59PM -0500, Chris Readle wrote: I just noticed something strange in my qmail logit seems that all the messages have the same message number. Basically, it seems that starting this morning all message deliveries that I can see in /var/log/qmail are getting the message number 230522. They get different *delivery* numbers, but the message # is the samehere's any example: qmail uses the disk inode number for the message number. Since messages come and go, inode numbers get re-used. Nothing to worry about. -- See complete headers for more info
Re: Mbox format with qmail-local possible?
On Sat, Jan 22, 2000 at 05:37:29PM +0900, Kristina wrote: Is there a way I can get qmail-local to deliver to /var/spool/mail/username file?? I know you can get the mbox format by using /bin/mail but I want mbox format delivery with qmail-local! qmail-local runs with the permissions of the user it is delivering to, and in general, ordinary users of a system do not have permission to write into /var/spool/mail, unless their mbox format file already exists, and is writable by the user. Normally, it would be present, but some programs remove it; if you can guarantee that all your users' mbox files will exist in /var/spool/mail, you could try: qmail-start '/var/spool/mail/$USER' -- See complete headers for more info
Re: ORBS + MAPS + DUL
On Thu, Jan 20, 2000 at 01:45:01PM -0800, Todd A. Jacobs wrote: Is it possible to use rblsmtpd to check more than one source at a Yes: chain the rblsmtpd's together, eg: rblsmtpd rblsmtpd -rrelays.orbs.org rblsmtpd -rsome.other.site ... /var/qmail/bin/qmail-smtpd Alternatively, go to www.qmail.org, and get the patch from there which allows rblsmtpd to check multiple sites in parallel. -- See complete headers for more info
Re: SMTP From MSN.COM ?
On Thu, Jan 20, 2000 at 07:11:43PM +0800, Michael Boman wrote: So what I am wondering is without having to recompile and re-install the entire qmail package with various patches, is there a relatively simple solution ? What are msn.com users doing with Eudora Pro that allows them to use yahoo.com and hotmail.com as second email boxes ? There is a way and that is to use "roaming users" (exist in vpopmail and you im quite sure you will find a independent patch on the qmail's homepage). This allow people that has successfully auth. themself for POP3 download to use your SMTP server for X minutes, where X is something you decide when you compile. I think this is what you are looking for. No need to recompile anything. I have a standard qmail installation, and using some simple perl and shell scripts, I'm doing POP-before-SMTP relaying for my roaming users. If you want some more help, let me know, and I'll send you details. -- See complete headers for more info
[arb@anand.org: Re: SMTP From MSN.COM ?]
Some other people asked for my scripts, so I'm posting them to the list. -- See complete headers for more info On Thu, Jan 20, 2000 at 06:42:03AM -0500, [EMAIL PROTECTED] wrote: Yes. I'd like more details please. OK. The basic idea is to allow relaying from a certain IP, after the users POP their email. The way I do it on my system is this: 1. The POP server is wrapped in a shell script that captures the user's IP address, and sends it to a special perl script on the same machine; this perl script adds the IP address to a file used by tcpserver and then rebuilds the CDB database. The perl script is launched out of a tcpserver listening on port 5 on IP 127.0.0.1, so I don't really have to worry about arbitrary users adding IP addresses to the file. run the POP server like this: tcpserver [options] 0 110 /var/qmail/bin/qmail-popup hostname checkpassword /var/qmail/scripts/popb4smtp.sh run the other daemon like this: tcpserver [options] 127.0.0.1 5 /var/qmail/scripts/allow-relay.sh 2. A second script running out of cron every 15 minutes, looks up the file being written above, and removes old entries, where "old" is configurable. The scripts are attached below: Look through them: If you still have questions, let me know. Some assumptions: 1. you have perl installed on your system. You'll have to look through the scripts to make sure the path to perl is correct. 2. You have setlock installed on your system. You can get this from the serialmail package. Alternatively, if you use FreeBSD, you can use the lockf utility, which does a similar job. Read the man page of lockf for more info (it might be easier to just compile and install setlock). 3. make a directory called scripts inside /var/qmail and put all the scripts there. Also create a /var/qmail/etc directory, and put your tcpserver.smtp file in there (this one has your normal IP's which allow relaying - if you don't use this, you might want to just touch it anyway, or edit the scripts not to use it - they're very simple). -- See complete headers for more info allow-relay.sh cleanup-dynamic-relays.sh popb4smtp.sh
Re: bounces
On Thu, Jan 20, 2000 at 11:07:18AM +, Abel Lucano wrote: Maybe you have a ~alias/.qmail-default. That traps mail for all unknown users. Hi all Why could be the cause of the bounces "doesn't bounce"?; I mean: all the bounces goes directly to ~alias/Mailbox without notify to sender. (TEST.deliver #4 give me a "success", not a "__#5.1.1_/" error message. All the bounces goes with a "success" to ~alias/Mailbox .qmail-mailer-daemon is defined, etc -- See complete headers for more info
Re: passwd and user quota
On Wed, Jan 19, 2000 at 08:59:02AM +, Simon Rae wrote: Could anyone give me a rough indication of how many user accounts my qmail server can handle (using passwd) before I'd need to start looking at implementing a cdb or MySQL for POP verification? It really depends on how your OS handles the /etc/passwd database. Systems like Solaris and linux use a plain text /etc/passwd, scanned linearly. This will slow down as the numbers of users goes up. However, if the file is cached in RAM, then it doesn't matter too much, but the search is still linear. The BSDs on the other hand make a DB database out of the /etc/passwd, and so it's much faster to lookup. I run qmail on RH6 Linux on a PII 350 with 128 meg RAM with oodles of disk space. There isn't a particular figure, but as a rule of thumb, I would go up to 10,000 accounts in /etc/passwd. After that, you'd probably have to consider alternatives or switch to a BSD ;-) -- See complete headers for more info
Re: pop3 retrieval
On Wed, Jan 19, 2000 at 10:31:16AM +0100, Häffelin Holger wrote: See INSTALL. You'll have to make a link from /var/spool/mail to the users home. Alternatively, recompile your POP server (if you have source code) to read from $HOME/Mailbox instead of /var/spool/mail. Then you don't need the links. -- See complete headers for more info
Re: How to implement different outgoing queues according to size
On Wed, Jan 19, 2000 at 12:19:22PM -, Petr Novotny wrote: Now how do I implement this policy? (The users inject the mail by SMTP, never by qmail-inject.) What I could think of has to do with three qmail installations: One accepting SMTP connections, and having a catch-all virtual domain. The .qmail-catchall-default would then check the size of the message, and invoke qmail2/forward or qmail3/forward accordingly. (What should the forward line look like BTW?) I can think of another way: Have 2 qmail installations, one for small mails and the other for large mails. However, make the decision to inject the message into one of the 2 queues at the SMTP level, by making qmail-smtpd invoke one of the 2 qmail-queues. There's a patch somewhere where you can make qmail-smtpd invoke a program other than qmail-queue, which can do some checks, and _then_ invoke a qmail-queue of your choice. Or you could patch your existing qmail-smtpd.c to invoke different qmail-queues based on size. -- See complete headers for more info
Re: bouncing Unknown users
On Wed, Jan 19, 2000 at 09:50:59AM -0200, Marcelo Costa wrote: hi folks, how can i bounce back the unknown users? qmail already bounces mail for users that it cannot find on a system. i dont want the postmaster to receive messages for unknown users You are probably referring to double bounces. Try: assuming you don't have an account called 'blackhole' on your system: echo blackhole /var/qmail/control/doublebounceto echo '#' /var/qmail/alias/.qmail-blackhole Then stop and restart qmail-send. -- See complete headers for more info
Re: Help! Qmail not listening on all IP addresses
On Thu, Jan 20, 2000 at 08:34:20AM +0800, Brian Baquiran wrote: Which of the follow options are you using with tcpserver? -h, -H, -r, -R and -t and why? I'm currently using -H (Do not look up the remote host name). I put it there the last time we had this problem because we were having DNS problems at the same Having -R also helps if you don't need ident lookups, because they also add to the delay. -- See complete headers for more info
Re: Reply Address
On Tue, Jan 18, 2000 at 08:52:24PM +1300, David Anso wrote: Why don't the reply's for this list go back to the list? Wouldn't that make it a little bit easier? See http://cr.yp.to/proto/replyto.html -- See complete headers for more info
Re: Large ISPs/services running qmail?
On Tue, Jan 18, 2000 at 12:08:08PM +, Fred Backman wrote: Hello all, What large ISPs or services are running qmail, and roughly how much traffic do they have (e.g. number of messages per day)? Yahoo! is running entirely on qmail (with some modifications to suit their size), Hotmail's outgoing mail server is qmail, egoups (now incorporating egroups and onelist) run close to 26 mailing lists on qmail, Resaux IP Europeene (RIPE) and Network Solutions (incoming mail) are both on qmail. I don't know about numbers of messages, but these sites are certainly extremely big. -- See complete headers for more info
Re: qmail errors
On Tue, Jan 18, 2000 at 07:56:10AM -0600, Rich Stock wrote: ok i keep getting this error message on my machine, i had qmail installed fine, but then i edited the /etc/passwd and /etc/group and changed some uid/gids, I then reinstalled qmail (including directories and permmisions as described in life with qmail.) and i keep getting this error message, i am starting qmail-start with ./Maildir and have remade directories, for ^^^ That should be ./Maildir/ with a trailing slash. Without the slash, qmail-local is trying to deliver the message to a _file_ called Maildir, but in fact finds a directory instead and defers delivery. myself starting delivery 335: msg 112777 to local [EMAIL PROTECTED] status: local 7/10 remote 0/20 starting delivery 336: msg 112789 to local [EMAIL PROTECTED] status: local 8/10 remote 0/20 delivery 330: deferral: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/ status: local 7/10 remote 0/20 -- See complete headers for more info
Re: Large ISPs/services running qmail?
On Tue, Jan 18, 2000 at 02:13:57PM +, Fred Backman wrote: their size), Hotmail's outgoing mail server is qmail, egoups (now incorporating egroups and onelist) run close to 26 mailing lists on egroups are running 26 lists??? or did you mean X lists with 26 subscribers? Last I heard, it was 26 _lists_. The number of subscribers could be much higher. -- See complete headers for more info
Re: recipientmap?
On Tue, Jan 18, 2000 at 04:11:18PM -0600, [EMAIL PROTECTED] wrote: Now, mail stays local. Since I no longer have recipientmap, I wonder what the solution is. One solution is to put qmail.org into mail.chicago.qmail.org's virtualdomains file. Then I can create aliases for all of the local users. The problem is that I must also create aliases for EVERY qmail.org user, so that anyone not on the local machine has their mail sent to the main server. This would be a pain to administer, especially when there are dozens of local offices. recipientmap was a feature of qmail 1.01, and was withdrawn in qmail 1.02 and above. The functionality of recipientmap is now incorporated into virtualdomains. Read the qmail-send man page more carefully, and you'll find your solution. Basically you're on the right track, but you've missed something. -- See complete headers for more info
Re: Qmail forwarding question
On Wed, Jan 19, 2000 at 02:48:27PM +0800, Ronneil Camara wrote: Hi. I'm new to qmail. I would like to know on how I would redirect incoming mails to a an smtp server that is internal to our network. I would want my qmail acts as an email gateway. With sendmail, I do it this way, The /etc/mailertable contains mydomain.com smtp:[192.168.1.1] echo 'mydomain.com:[192.168.1.1]' /var/qmail/control/smtproutes -- See complete headers for more info
Re: Serveral recipients in a alias?
On Wed, Jan 19, 2000 at 02:57:08PM +0800, Michael Boman wrote: can I do a alias like this: # cat .qmail-stuff ./0/user1/Maildir/ ./1/user2/Maildir/ Only if 0/user1/Maildir and 1/user2/Maildir are both owned by the same user under which the alias runs to deliver that mail. -- See complete headers for more info
Re: Maildir setup
On Fri, Jan 14, 2000 at 05:54:51PM +1100, Kevin Waterson wrote: In the qmail/doc/INSTALL.maildir it says to edit /var/qmail/rc and replace ./Mailbox with ./Maildir/ and "by creating a maildir in the new-user template directory" Where is this directory? It's usually /usr/share/skel or /etc/skel. See your system's useradd/adduser or equivalent command for more info on how it gets used. -- See complete headers for more info
Re: Maildir setup
On Fri, Jan 14, 2000 at 05:54:51PM +1100, Kevin Waterson wrote: I noticed something weird in your headers: Received: (qmail 7501 invoked by uid 1002); 14 Jan 2000 07:47:54 - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk Delivered-To: mailing list [EMAIL PROTECTED] Received: (qmail 23641 invoked from network); 14 Jan 2000 07:47:53 - Received: from ns1.oceania.net (203.41.132.65) by muncher.math.uic.edu with SMTP; 14 Jan 2000 07:47:53 - Received: (qmail 30297 invoked from network); 14 Jan 2000 07:47:07 - Received: from unknown (HELO oceania.net) (@203.41.132.67) Normally, qmail-smtpd records the IP address of the client in that field. Why does yours have an '@' in it? I'm supposing that it's either a modified qmail, or there's some sort of bug somewhere in your system. Might be worth a look at. -- See complete headers for more info
Re: Maildir setup
On Fri, Jan 14, 2000 at 08:27:12AM -0500, Russell Nelson wrote: Received: from unknown (HELO oceania.net) (@203.41.132.67) Normally, qmail-smtpd records the IP address of the client in that field. Why does yours have an '@' in it? They probably have an ident server which returns a null string. Hmm... I learn something new everyday. -- See complete headers for more info
Netscape and Sender: headers
I was looking at mailman yesterday, and I found a note in their install notes about how some Netscapes are known to send messages with Sender: headers containing unqualified addresses. This is the exact problem that one of the list members was facing, but at that time I didn't know for sure. Now I can't remember who it was, hence this post to the list. Perhaps this new info will help them dump Netscape ;-) -- See complete headers for more info
Re: New SMTP setup
On Fri, Jan 14, 2000 at 05:50:29PM +1100, Kevin Waterson wrote: ps aux shows qmaill 368 0.0 0.6 1084 340 ?S18:32 0:00 cyclog -s 100 qmails 371 0.0 0.6 1120 380 ?S18:32 0:00 qmail-send qmaill 391 0.0 0.5 1068 300 ?S18:32 0:00 accustamp qmaill 392 0.0 0.6 1084 340 ?S18:32 0:00 cyclog -s 100 qmaild 394 0.0 0.8 1196 488 ?S18:32 0:00 tcpserver -v -c40 qmaill 405 0.0 0.5 1068 304 ?S18:32 0:00 accustamp qmail root 406 0.0 0.5 1088 324 ?S18:32 0:00 qmail-lspawn ./Ma qmailr 407 0.0 0.5 1088 324 ?S18:32 0:00 qmail-rspawn qmailq 408 0.0 0.6 1080 340 ?S18:32 0:00 qmail-clean Why does qmail-smtpd not show? qmail-smtpd is launched by tcpserver for each incoming connection. From another window, do "telnet localhost 25", then come back to this window and do your ps aux again. -- See complete headers for more info
Re: SMTP status: 256?
On Thu, Jan 13, 2000 at 01:32:29AM +0800, Benjamin de los Angeles Jr. wrote: I've got a perl script which attempts to use a Qmail smtp server here to relay e-mail but I got this error status. I tried the script with Sendmail and there are no errors and the Perl-generated e-mail gets delivered. What could be the problem? Does anyone has a Perl script that managed to relay thru a Qmail server? Use recordio to record the SMTP conversation between your perl script and qmail-smtpd. Then you'll be able to find out what the problem really is. On Wed, 12 Jan 2000, Dave Sill wrote: "Benjamin de los Angeles Jr." [EMAIL PROTECTED] wrote: Does anyone knows the meaning of this line in /var/log/qmail/smtpd/current 2000-01-12 23:34:54.119415500 tcpserver: end 20275 status 256 The command that tcpserver ran returned an error status. -- See complete headers for more info
Re: bounce handeling
On Tue, Jan 11, 2000 at 08:51:35PM -0500, Paul Farber wrote: A bit of advice on how other sytems handle bounces I get anywhere from 500 to 1K bounces a day on a qmail 1.03 RH 5.2 mailserver. What's the best way to handle them? I would rather cut them off at the initial connection if at all possible. qmail-smtpd does NOT reject any mail during the SMTP dialogue because it deosn't check the validity of the local address. This is by design. If you like, you could look at the qmail-uce patches, but these are not going to be maintained by the author. If rejecting bounces at SMTP time is important to you, you may have to consider switching away from qmail. -- See complete headers for more info
Re: Sending Host's IP Address
On Fri, Jan 07, 2000 at 07:52:43AM +, Peter Gradwell wrote: qmail-command defines a whole bunch of really useful environment variables which are set, like HOST, SENDER, USER, LOCAL, etc. We want to capture the sending host's IP address in a perl script, invoked from a .qmail file, as we want to look it up in the MAPS lists and do some stats and stuff. The sending host talks to qmail-smtpd, which accepts the messages, dumps it into the queue, and exits. After the message in the queue has been processed by qmail-send, qmail-local is invoked to deliver the email. Therefore there's no way for qmail-smtpd's environment to be available to qmail-local. It appears that we will have to parse the headers of the message to get the ip address of the host it came from. Is this the only way? Yes, to my knowledge. -- See complete headers for more info
Re: Troubleshooting: Probably a FAQ...
On Thu, Jan 06, 2000 at 12:13:29AM -0800, Mike Payson wrote: listserv seems not to like your "Sender" field, which contains an unqualified address, ie. "mpayson", instead of "[EMAIL PROTECTED]". However, this has NOTHING to do with qmail; that field is inserted by your Netscape mail client. Fix that or dump Netscape. I've just set up my qmail server, but I'm having some last minute problems... I just tried to sign up for a mailing list but the mailing list choked on my headers. Below are the fiull headers as forwarded from the mailing list administrator, the error message generated by the list server. Also attached are the full headers from a second message I sent to myself at my current address. Any idea what I'm missing? Thanks! Mike -Original Message- From: L-Soft list server at Bibliofind (1.8c) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 05, 2000 11:18 PM To: [EMAIL PROTECTED]; Aaron W. West; [EMAIL PROTECTED]; [EMAIL PROTECTED]; from the Bibliofind offices Subject: Problem processing mail file from [EMAIL PROTECTED] Anerroroccurredwhile processingfile11873from [EMAIL PROTECTED]: "Mail message sent to the LISTSERV address contains invalid RFC822 fields and could not be parsed successfully". RFC822 parser messages follow: W Incorrect or incomplete address field found and ignored. W Incorrect or incomplete address field found and ignored. E Mail origin cannot be determined. E Original tag data was - mpayson --- Message causing the problem (17 lines) Return-Path: [EMAIL PROTECTED] Received: from ubdnet.net (sense-sea-MegaSub-1-492.oz.net) by biblio.bibliofind.com (LSMTP for Windows NT v1.1b) with SMTP id [EMAIL PROTECTED]; Thu, 6 Jan 2000 2:17:32 -0500 Received: (qmail 7689 invoked from network); 6 Jan 2000 07:16:40 - Received: from unknown (HELO ubdnet.net) ([EMAIL PROTECTED]) by sense-sea-megasub-1-492.oz.net with SMTP; 6 Jan 2000 07:16:40 - Sender: mpayson Message-ID: [EMAIL PROTECTED] Date: Wed, 05 Jan 2000 23:09:02 -0800 From: Mike Payson [EMAIL PROTECTED] X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i586) X-Accept-Language: en MIME-Version: 1.0 To: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit join news Received: from ubdnet.net (sense-sea-MegaSub-1-492.oz.net [216.39.145.238]) by mx1.eskimo.com (8.9.1a/8.8.8) with SMTP id XAA05279 for [EMAIL PROTECTED]; Wed, 5 Jan 2000 23:17:47 -0800 Received: (qmail 7696 invoked from network); 6 Jan 2000 07:17:02 - Received: from unknown (HELO ubdnet.net) ([EMAIL PROTECTED]) by sense-sea-megasub-1-492.oz.net with SMTP; 6 Jan 2000 07:17:02 - Sender: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Date: Wed, 05 Jan 2000 23:09:24 -0800 From: Mike Payson [EMAIL PROTECTED] X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i586) X-Accept-Language: en MIME-Version: 1.0 To: [EMAIL PROTECTED] Subject: test Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mozilla-Status: 8001 X-Mozilla-Status2: X-UIDL: 9d29cd0b32e3d580a517270da2667bec -- See complete headers for more info
Re: Mail to all users
On Thu, Jan 06, 2000 at 11:44:15AM +0600, [EMAIL PROTECTED] wrote: Hi all, I have several accounts on my server, and would like to have an easy way of sending news to all users. A note on how to do that would be appreciated Depending on the POP server you use, you could use the bulletin feature. qpopper supports bulletins. If you use qmail-pop3d, I think there's a patch on www.qmail.org to give that functionality. -- See complete headers for more info
Re: Troubleshooting: Probably a FAQ...
On Thu, Jan 06, 2000 at 05:47:10AM -0800, Mike Payson wrote: If you send mail via qmail-smtpd, it does NOT INSERT ANY HEADERS, except for Received: headers. With Netscape, you can only submit messages via SMTP, and therefore I can only conclude that the incomplete Sender: header was inserted by Netscape. Some other MTA's, like sendmail, are known to insert headers into messages submitted via SMTP, and so it's possible that your ISP's mail server "fixed" your message for you. I'm pretty sure it's not Netscape... I tried setting my outgoing mail server to that of my ISP-- nothing else changed-- the sender showed up as [EMAIL PROTECTED] It appears that this is a setting supplied by the mail server, but it's possible that I'm wrong. Thanks! Mike Anand Buddhdev wrote: On Thu, Jan 06, 2000 at 12:13:29AM -0800, Mike Payson wrote: listserv seems not to like your "Sender" field, which contains an unqualified address, ie. "mpayson", instead of "[EMAIL PROTECTED]". However, this has NOTHING to do with qmail; that field is inserted by your Netscape mail client. Fix that or dump Netscape. I've just set up my qmail server, but I'm having some last minute problems... I just tried to sign up for a mailing list but the mailing list choked on my headers. Below are the fiull headers as forwarded from the mailing list administrator, the error message generated by the list server. Also attached are the full headers from a second message I sent to myself at my current address. Any idea what I'm missing? Thanks! Mike -Original Message- From: L-Soft list server at Bibliofind (1.8c) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 05, 2000 11:18 PM To: [EMAIL PROTECTED]; Aaron W. West; [EMAIL PROTECTED]; [EMAIL PROTECTED]; from the Bibliofind offices Subject: Problem processing mail file from [EMAIL PROTECTED] Anerroroccurredwhile processingfile11873from [EMAIL PROTECTED]: "Mail message sent to the LISTSERV address contains invalid RFC822 fields and could not be parsed successfully". RFC822 parser messages follow: W Incorrect or incomplete address field found and ignored. W Incorrect or incomplete address field found and ignored. E Mail origin cannot be determined. E Original tag data was - mpayson --- Message causing the problem (17 lines) Return-Path: [EMAIL PROTECTED] Received: from ubdnet.net (sense-sea-MegaSub-1-492.oz.net) by biblio.bibliofind.com (LSMTP for Windows NT v1.1b) with SMTP id [EMAIL PROTECTED]; Thu, 6 Jan 2000 2:17:32 -0500 Received: (qmail 7689 invoked from network); 6 Jan 2000 07:16:40 - Received: from unknown (HELO ubdnet.net) ([EMAIL PROTECTED]) by sense-sea-megasub-1-492.oz.net with SMTP; 6 Jan 2000 07:16:40 - Sender: mpayson Message-ID: [EMAIL PROTECTED] Date: Wed, 05 Jan 2000 23:09:02 -0800 From: Mike Payson [EMAIL PROTECTED] X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i586) X-Accept-Language: en MIME-Version: 1.0 To: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit join news Received: from ubdnet.net (sense-sea-MegaSub-1-492.oz.net [216.39.145.238]) by mx1.eskimo.com (8.9.1a/8.8.8) with SMTP id XAA05279 for [EMAIL PROTECTED]; Wed, 5 Jan 2000 23:17:47 -0800 Received: (qmail 7696 invoked from network); 6 Jan 2000 07:17:02 - Received: from unknown (HELO ubdnet.net) ([EMAIL PROTECTED]) by sense-sea-megasub-1-492.oz.net with SMTP; 6 Jan 2000 07:17:02 - Sender: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Date: Wed, 05 Jan 2000 23:09:24 -0800 From: Mike Payson [EMAIL PROTECTED] X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i586) X-Accept-Language: en MIME-Version: 1.0 To: [EMAIL PROTECTED] Subject: test Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mozilla-Status: 8001 X-Mozilla-Status2:
Re: daemontools and qmailanalog
On Fri, Dec 31, 1999 at 10:37:43AM +0100, Van Liedekerke Franky wrote: No. You have to pass the logs through some type of filter which converts the hex timestamps into decimal. Strip out the leading "@4" from the timestamp, then convert the next 15 digits into decimal, and it'll give you the seconds since 1st Jan 1970, and then the next 8 digits, converted to decimal, will give you the nanoseconds. You can strip out the last 3 digits of that figure to give you only the microseconds. The resulting set of strings is the format daemontools-0.53's accustamp uses. Hi, just a quickie: does qmailanalog handle the timestamps from the new daemontools package? -- See complete headers for more info
Re: virtual domains in qmail/ezmlm?
On Thu, Dec 30, 1999 at 12:46:18PM +0100, Robert Varga wrote: local part which ezmlm expects to see. It will contain "domain1" in your case. You have to change that to "forwarder-domain1-domain1". The alternative is to patch ezmlm with ezmlm-idx, which doesn't need you to fiddle with any files like this. It does need. I have ezmlm-idx from the potato package. It still needs modifying the file inlocal. Oops. I should have mentioned that ezmlm-idx doesn't need you to make these changes ONLY if you use qmail = 1.02. If you have qmail 1.01, then you still need these changes. -- See complete headers for more info
Re: virtual domains in qmail/ezmlm?
On Wed, Dec 29, 1999 at 12:55:13AM -0500, Peter Cavender wrote: You're missing something. See below: My /var/qmail/control/virtualdomains file looks like this: domain1.com:forwarder-domain1 domain2.com:forwarder-domain2 ... I obviously have a special user, "forwarder", set up with lots of .qmail files, and all is fine working for normal qmail traffic. I try making a list, [EMAIL PROTECTED]: ezmlm-make /virtual/domain1/ezmlm /home/forwarder/.qmail-domain1 domain1 domain1.com That line should be: ezmlm-make /virtual/domain1/ezmlm /home/forwarder/.qmail-domain1-domain1 domain1 domain1.com (all on one line - notice the extra "-domain1" in the .qmail file) Also note that if you use the standard ezmlm-0.53, then you'll have to manually make one other change before the list will work. That change is as follows: cd /virtual/domain1/ezmlm Find in there a file called "inlocal". This contains the name of the local part which ezmlm expects to see. It will contain "domain1" in your case. You have to change that to "forwarder-domain1-domain1". The alternative is to patch ezmlm with ezmlm-idx, which doesn't need you to fiddle with any files like this. [snip] -- See complete headers for more info
Re: rcpthosts failure
On Sat, Dec 04, 1999 at 01:53:02AM -0800, James wrote: I am using Linux version 2.2.9-27mdk of Mandrake, and I am getting an error when trying to use my server as a relay. Here is my current setup: In tcp.smtp I have: 209.333.55.:allow, RELAYCLIENT="" ^^^ 127.0.0.:allow, RELAYCLIENT="" ^ 209.333.222.111:allow, RELAYCLIENT="" ^^^ Try removing those spaces. They are being interpreted as part of the variable name. :allow And I have run: /usr/local/bin/tcprules tcp.smtp.cdb tcp.smtp.temp tcp.smtp And that seemed to have worked. In my rcpthosts I have the domain name of my domain. When I try to send a message FROM 209.333.222.111 TO any other email address than my domain name using netscape 4.7, I get this error: An error occurred while sending mail. The mail server responded: sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) Please check the message recipients and try again. -- See complete headers for more info
Re: relay problem
On Sat, Dec 04, 1999 at 06:02:11AM -0600, Ben Beuchler wrote: 205.218.58.194:allow,RELAYCLIENT="" 127.0.0.1:allow,RELAYCLIENT="" 208.134.228.:allow,RELAYCLIENT="" 208.178.56.:allow,RELAYCLIENT="" snip I won't bother hiding the IPs as this is readily available information... The box I am attempting to send mail from is the first on the list. The qmail box is on the 208.134.228. subdomain. I compiled the cdb file thusly: tcprules qmail-smtpd.cdb qmail-smtpd.tmp qmail-smtpd And the standard init scripts from the memphis RPM initialized tcpserver like this: tcpserver -v -c40 -x /etc/tcprules.d/qmail-smtpd.cdb -u102 -g546 0 smtp qmail-smtpd Try taking out that space between the '-x' and the rules file name. I know it sounds odd, but it might solve your problem. The man page for tcpserver seems to indicate that spaces arenot allowed. -- Anand
Re: tai64nlocal
On Fri, Dec 03, 1999 at 09:28:46AM +0100, Häffelin Holger wrote: try: cat qmaillog | tai64nlocal qmaillog.tmp This one should get a prize for useless invocation of cat. The following would save a process and a pipe: tai64nlocal qmaillog qmaillog.tmp -- See complete headers for more info
Re: Weird thing with ETRN patch
On Mon, Nov 29, 1999 at 03:24:16PM +0100, Paulo Jan wrote: You seem to have a typo: I've pointed it out in the diff listing below: 74,77d73 void smtp_etrn() { out("250 ok\r\n"); } 236,237c232 smtp_greet("250-"); out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n250 ETRN\r\n"); The above line is wrong. There should be a dash '-' between 250 and 8BITMIME. With a multiline response, all but the last numeric code must be followed by a dash, to indicate continuation of the response. I don't know whether it was my mistake when posting the patch, but if it was, I apologise. Change that, and you'll be fine. --- smtp_greet("250-"); out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n"); 413d407 , { "etrn", smtp_etrn, flush }
Re: Serialmail not removing lock files...
On Fri, Nov 26, 1999 at 04:20:37PM +0100, Paulo Jan wrote: You've misunderstood the setlock manpage. After setlock's child exits, the lock on the seriallock file does indeed disappear, but the file is not removed. This makes sense, because it will have to be created again soon, so why waste resources removing it? If you want to test this, find a seriallock file for which the maildirserial process has completed, then try to lock it yourself: setlock -n /var/qmail/autoturn/1.2.3.4/seriallock echo ok If you get back an "ok", it means the file was not locked, implying that no maildirserial was running at that time. Otherwise, you'll get an error message from setlock saying it was unable to lock the file. Hi all: Well, I've got at last serialmail and AutoTURN installed and working, following the instruciones in the serialmail package. The only problem that I have now is that, after triggering an AutoTURN delivery, maildirsmtp locks the proper directory, sends the messages in it correctly... but never unlocks the directory (that is, it doesn't delete the "seriallock" file that it creates). The line that I use to start serialmail in my startup scripts is: [snip] -- Anand
Re: Force mailqueue to send?
On Wed, Nov 24, 1999 at 11:47:50AM +0100, [EMAIL PROTECTED] wrote: On Wed, Nov 24, 1999 at 06:44:48PM +0800, Michael Boman wrote: Is it possible to force qmail to try send all the messages in the queue? /var/qmail/bin/qmail-tcpok killall -ALRM qmail-send BEWARE: "killall" has different meanings on different OS's. On linux and FreeBSD, it sends the desired signal to the process named on the command line. On Solaris, it sends a TERM signal to ALL processes, effectively performing a shutdown. It's better to suggest a more generic solution, like: kill -1 pid of qmail-send and let the user determine the pid of qmail-send themselves. -- Anand
Re: Solaris-Qmail
On Wed, Nov 24, 1999 at 11:59:53AM +0100, Ali Parlar wrote: That's easy: cd to your home directory, unzip and untar the qmail distribution, cd into qmail-1.03 directory and type "make". This will compile qmail, but you can't really run it, unless you install it according to the instructions. does anybody know how i compile qmail in my home directory without installing (it is a SunOs 5.6 system)? -- Anand
Re: ETRN command support
On Wed, Nov 17, 1999 at 09:50:50AM +0100, Antonio Navarro Navarro wrote: Download and install the serialmail package. In the source tarball, find a file called AUTOTURN. It has all the instructions you need. Serialmail is available here: ftp://koobera.math.uic.edu/www/serialmail.html Hi All ! It seems that the ETRN command is not implemented in Qmail. How can I force the dequeing of messages for a domain ? -- See complete headers for more info
Re: more mailq questions
On Thu, Nov 11, 1999 at 07:18:08AM -0500, scott f. lanes wrote: when I run 'mailq' i get a list of adresses preceded by done and remote. Exactly what does 'done' mean? Is this sent or is this processed waiting to be sent? "done" means it has been delivered. Unprocessed mail does not appear in a "mailq" output. -- See complete headers for more info
Re: qmail-1.03-maxrcpt.patch
On Thu, Nov 11, 1999 at 07:33:19AM -0500, Russell Nelson wrote: Andres Mendez writes: Where is the new qmail-1.03-maxrcpt.patch? Not needed. qmail-smtpd respects the number in control/databytes . I think he means the patch which limits the number of RCPT's a client can issue to qmail-smtpd, not the size of a message. -- See complete headers for more info
Re: pop lock problem
On Fri, Oct 29, 1999 at 10:06:53AM -0200, Luis Bezerra wrote: Anyone has one good solution for the poplock problem. What problem? We're not mind readers. If you mean allowing each IP address only one POP session at a time, see the recent archives. I had posted a suggestion. -- See complete headers for more info
Re: QMAIL help tcprules
On Wed, Oct 27, 1999 at 10:58:44AM +0200, Pannitteri Fabrizio wrote: man tcprules what's tcprules in the script for start/restart qmail -- See complete headers for more info
Re: Urgent Please
On Wed, Oct 27, 1999 at 09:04:29AM +, Alexander Jernejcic wrote: List your domains in control/rcpthosts in lowercase. During an SMTP conversation, the case of the domain will be ignored. has one to care about cases in rcpthosts? users tend to beautify domainnames. e.g. [EMAIL PROTECTED] -- See complete headers for more info
Re: defaulthost and Eudora
On Wed, Oct 27, 1999 at 10:09:40AM +0100, Carrott wrote: SMTP is a mail tranfer protocol. It does not allow for rewriting of a message, and qmail-smtpd therefore does NOT rewrite a message in any way. Rewriting is implemented in OFMIP, the Old Fashioned Mail Injection Protocol. Get the mess822-0.58.tar.gz package from DJB's site, read the instructions, and use the ofmipd server in there to do what you want. I stand corrected. I have tried sending to "[EMAIL PROTECTED]" and the address is not rewritten. BUT here is a cut from the QMAIL FAQ regarding host masquerading. Am I not doing what the FAQ suggests? I (think I) know what I am doing but may be using incorrect terminology. Sendmail does what I am asking with the same kind of setup I want with Qmail. ie send from Eudora as [EMAIL PROTECTED] which is "re-written" to "[EMAIL PROTECTED]" when sent. -- See complete headers for more info
Re: methods for ETRN
On Wed, Oct 27, 1999 at 09:38:58AM +, Alexander Jernejcic wrote: I know. pullmail isn't really the most featureful program. To use it with qmail, you have to insert another header, like X-Envelope-To: and then it will work better. See my earlier mail today. IMHO pullmail doesnt strip the virtual-domain addon at the beginning of the Delivered-To line. therefor i was not able to use it with multidrop virtual domains - maybe my fault. -- See complete headers for more info
Re: I seem to have forgotten...
On Wed, Oct 27, 1999 at 06:43:31PM -0700, Lyndon Griffin wrote: where I read a description of the deferral strategy (or, as I like to call it, the curve thingy). I do not seem to find it in the dist, or on a few sites. Would somebody please give me a pointer? Try Dave Sill's Life with qmail: http://web.infoave.net/~dsill/lwq.html -- See complete headers for more info
Limiting simultaneous SMTP sessions with tcpserver
I recently had a case where one neighbour host, also running qmail, suddenly opened over 100 connections to my machine, and used up all the slots, with the result that my customers could not send mail. While I know there are various different solutions to this problem (like a different IP for internal customers, asking this neighbour to use serialmail for backlogged mail), I still wanted to setup session limits, so I did this: tcpserver -vRHlusers.africaonline.co.ke -c500 -x/qmail/etc/tcpserver.smtp.cdb \ -u102 -g101 0 25 /qmail/scripts/session-limit.sh 21 The session-limit.sh script checks to see how many connections are active from a particular IP, and if this new would exceed a certain number, then to send a 421 code to the client and disconnect. Otherwise it runs the normal qmail-smtpd session-limit looks like this: --- start script --- #!/bin/sh PATH="$PATH:/usr/local/bin" if [ -z "$SESSIONLIMIT" ] then exec /qmail/scripts/qmail-smtpd-wrapper.sh elif [ $SESSIONLIMIT -eq 0 ] then exec /qmail/scripts/qmail-smtpd-wrapper.sh fi cd /qmail/etc/locks start=1 while [ $start -le $SESSIONLIMIT ] do setlock -n $TCPREMOTEIP.$start /qmail/scripts/qmail-smtpd-wrapper.sh 2 /dev/null if [ $? -eq 0 ] then rm -f $TCPREMOTEIP.$start exit fi start=`expr $start + 1` done # if the above fails, then we tell the client to go away echo 421 Limit of $SESSIONLIMIT simultaneous connections from $TCPREMOTEIP reached. Come back later. echo "smtpd: Dropped excess session from $TCPREMOTEIP (max $SESSIONLIMIT)" 2 --- end script --- The session limit can be set by tcpserver, in the form of an environment variable SESSIONLIMIT. Thus each host can have its own session limits. I have tested this, and it seems to work OK. If anyone has any constructive comments about my approach to the problem, I'd welcome them. I'm using the file system as a database to keep track of how many sessions there are from each host. I realise that over time, there is a possibility of collecting "stale" files in the locks directory. It would be nice if tcpserver had such an ability built-in, where it kept track of connectiong IPs in memory, and this would be faster, and less kludgy. -- See complete headers for more info
Re: methods for ETRN
On Wed, Oct 27, 1999 at 12:48:05AM +0200, Thomas Neumann wrote: At the very least, there is a port of Perl to Win32, and it would be rather trivial to write a POP3 client in Perl. In fact, I'd bet that if I look I'll find both a Perl POP3 module and a Perl SMTP module, so it would be a rather trivial excersize to use both to download mail via POP3, and dump into into MSexchange via SMTP. There's also a free utility called pullmail, available from http://www.swsoft.co.uk, that does exactly this. -- See complete headers for more info
Re: qmail serving pop3 for m$ exchange
On Tue, Oct 26, 1999 at 06:14:05PM +0200, Alexander Jernejcic wrote: we just started an isp bussines and are running qmail with virtual domains and multidrop pop3 (one Maildir for the whole domain). mails are received and localy delivered as expected - so far everything is running fine. now i am getting into troubles with a customer running two M$'s exchange server synchronizing via internet. they send their sync-mails to each other and we tried to receive the mails on the exchange boxes via pop3 with pullmail and popweasel - with no success. IMHO we lost the original SMTP-To information somewhere. we tried "pullmail ... /r:To" and we tried popweasel's feature to get the rcpt out from "Delivered-To" and extracting the virtual-domain addon. most of the user-mail goes ok but the snyc-msg's are bounced with "rcpt unknown". You are doing the correct thing. qmail stores the envelope recipient in the Delievered-To: line, along with a prefix showing the controlling user. Stripping that prefix yields the SMTP envelope. Any errors beyond that would in all likelihood come from popweasel or Exchange. A lot of our customers use MDaemon (another windows MTA), and they rely on extracting info out of Delivered-To, and they have no problems. meanwhile i am rather confused. i am not able to figure out, how to get the original SMTP-To information out of a virtual-domain mail. should i try to insert a "Recieved For:" (read that somewhere) line into the envelope or is there anything else i can do? It might be easier to get qmail to add an X-Envelope-To: header to all mails for that customer. Then get pullmail to use that header to extract the address. It's worked very well for us in the past. Something like the following should do the trick: If you have in control/virtualdomains: customer.com:user Then, touch ~user/.qmail-finaldelivery Then put the following in ~user/.qmail-default |(echo X-Envelope-To: "$DEFAULT@$HOST"; cat) | qmail-inject -f "$SENDER" -- |user-finaldelivery Then ask pullmail/popweasel to use the X-Envelope-To header. -- See complete headers for more info
Re: fastforward puzzling behaviour
On Fri, Oct 22, 1999 at 01:27:21PM -0400, Russell P. Sutherland wrote: I've looked through the qmail archives and saw similar problems but no real definitive answer: I am using fastforward-0.50 with ~alias-default as: % cat ~alias/.qmail-default | fastforward /etc/aliases.cdb That's wrong. You need to invoke fastforward with a -d option: |fastforward -d /etc/aliases.cdb See the man page for more info. -- See complete headers for more info
Re: Where does my letter go?
On Fri, Oct 22, 1999 at 03:32:54PM +0800, Hotdog wrote: In the server's users/assign,I added the following line: =hotdog:nobody:65534:65534:/usr/mail/ho/hotdog::: so mailbox [EMAIL PROTECTED] is work fine . :) then I did another test,I sent some letters to [EMAIL PROTECTED], for the reason I want to know if qmail think this is letter to mailbox 'hotdog' or to another un-existent box 'hotdog-test'. (in users/assign, it begin with '=' and not '+') qmail's log show me : 576977.293613 starting delivery 464: msg 23707 to local [EMAIL PROTECTED] 576977.295332 status: local 1/10 remote 2/50 576977.310426 delivery 464: success: did_0+0+0/ The last line says "did_0+0+0", ie. it didn't do any deliveries, or pipes or forwards, and the message went down a black hole. Perhaps you have a user "hotdog" in your /etc/passwd, and they have in their home directory a file .qmail-test or .qmail-default which doesn't have explicit delivery instructions (perhaps a single '#' character), so the mail is getting thrown away. -- See complete headers for more info
Re: possibly the most morronic question asked in this list...
On Fri, Oct 22, 1999 at 11:27:21AM +0300, dd wrote: errm hi i'm a newbie administrator and i have installed qmail a few days ago. not much probs actually. hmm, i went through all the documents but there's a small point i didn't understand. errm what does "sos" mean? i mean [EMAIL PROTECTED] etc, what does that "sos" stand for? It's just an example extension used in the documentation to illustrate qmail's ability to deal with address extensions. -- See complete headers for more info
Re: Sendmail to Qmail
On Thu, Oct 21, 1999 at 04:12:46PM +0200, Manuel de Ferran wrote: Hye qmail users, we're about to migrate to a qmail server. We have an old sendmail machine with IP1 and a nicely qmail machine with IP2. We have an MX entry something like : domain.com. IN MX IP1 We cant switch IPs of the machine. The problem is that : we modify the MX entry to redirects mail to IP2, but we still receive mail on IP1 (because of the delay for updating DNS entries). How to solve that ? 1. using fetchmail ? Don't even think about it. 2. using a feature of Sendmail (didnt see anything that would fit) ? Use sendmail's smarthost feature to forward all mail it receives for your domain to the qmail host. Make sure your domain is not listed on sendmail's /etc/sendmail.cw file (like qmail's locals file), and then set the DS (I think) option in /etc/sendmail.cf to point to the qmail host. -- See complete headers for more info
Re: Mailer-daemon
On Thu, Oct 21, 1999 at 04:28:54PM +0200, Tony Wade wrote: You'd have to edit source code, in particular, qmail-send.c. However, note that qmail's bounce is in a specific format, QSBMF, and so it must begin with the text "Hi. This is the ". Other than that, you can modify it, and even add another language perhaps. I get these type of responses too, because customers think a human is writing them. DJB once suggested that mailer-daemon be aliased to a bounce which tells people that they're writing to a machine, and should instead contact postmaster, but it's a matter of choice. 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: user 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. Unknownuser: 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 std/disclaimer.h Life would be so much easier if we could just look at the source code. -- Dave Olson -- See complete headers for more info
Re: On-Demand Mail Relay (ODMR)
On Thu, Oct 21, 1999 at 10:14:41PM +0100, Peter Gradwell wrote: See http://www.qmail.org/turnmail Hi, has anyone got an implementation of ftp://ftp.isi.edu/in-notes/rfc2645.txt It's On-Demand Mail Relay (ODMR) - SMTP with Dynamic IP Addresses by Randall Gellens of Qualcomm. for qmail maildirs? - guess it would be kinda like serialmail, but not, IYSWIM. -- See complete headers for more info
Re: mail appliance
On Tue, Oct 19, 1999 at 02:47:55PM -0400, Russell Nelson wrote: James Smallacombe writes: Didn't I hear that someone put together a webmin module for qmail? Anybody know anything about it? liVyacheslav Ignatyuk wrote an alpha version of a a href="ftp://ftp.ant.ru/pub/qmail/qmail-manager.tar.gz"qmail manager module/a for a href="http://www.webmin.com"webmin/a. It's a first alpha version, so may be unstable. I tried this, and it has a bug in it, which causes incorrect updates of the virtualdomains file. It's easily fixed though. Since I had no contact for the author, I didn't pursue the matter any further. There may be other bugs which I'm not aware of. -- See complete headers for more info
Re: Concurrencyremote for a specific host
On Tue, Oct 19, 1999 at 04:57:08PM -0400, John R. Levine wrote: Or use serialmail. This limits the concurrency to one and you'll have to trigger serialmail from time to time, but it is easier I think to install serialmail for a few band-aided sites than to have qmail installations multiplying. Actually, you can run multiple instances of serialmail out of the same maildir, so if you want up to four deliveries, do something like this in your trigger script If I remember right, only one instance of maildirsmtp was supposed to run on one Maildir at any one time, otherwise there could be duplications. However, when I checked out the manpages of the current serialmail (0.75), there is no such limitation mentioned. Let me do a test... I attempted delivery of 3 messages out of a maildir to a host, using 3 simultaneous instances of maildirsmtp running in the background, and each message was delivered thrice. Additionally, the second and third instances of maildirserial complained that they could not unlink messages so and so, and that it would be delivered twice (this is misleading, because the message file has indeed been unlinked, by another maildirserial). In the past, I have solved such a problem of a slow host, by first collecting their email in 'n' maildirs (where n is the concurrency I want), and then running one copy of maildirsmtp on each maildir. DJB: Why did you remove that warning about simultaneous use of maildirserial on a Maildir? The problem still exists. -- See complete headers for more info
Re: tcprules error
On Tue, Oct 19, 1999 at 07:39:07PM +0800, Edward Castillo-Jakosalem wrote: Hi to all! I just changed my tcp.smtp file from ip-based to domain-based. However tcpserver only allows IP-based control, not domain based. upon compiling, an error occurs. I think it has something to do with a hyphen (-) in one of the domains. Is this allowed or is there an option for this? I would also like to know if my command is right: # tcprules tcp.smtp.cdb tcp.smtp.tmp tcp.smtp.new That command is right. Lastly, I don't have to restart qmail after compiling the cdb file , right? tcp.smtp.cdb is read by tcpserver, so, no, you don't need to restart qmail. -- See complete headers for more info
Re: Relaying.
On Mon, Oct 18, 1999 at 09:34:01AM +0200, Tony Wade wrote: 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 That line is wrong. All the tcpserver options must come first, before the qmail-smtpd invocation. Try instead: tcpserver -c1000 -u71 -g80 -x/etc/tcp.smtp.cdb 0 smtp /var/qmail/bin/qmail-smtpd 123.123.123.:allow,RELAYCLIENT="" If i remove the rcpthosts file. Do i not make the server an Open Relay server again ? _Don't_ do that. A server with no rcpthosts file is an open relay!! -- See complete headers for more info
Re: target dependent smart host?
On Sat, Oct 16, 1999 at 12:28:38PM +0200, [EMAIL PROTECTED] wrote: Hi, my linux box is using a dial up line to connect to the internet. The system is configured to store outgoing mail in /var/qmail/alias/pppdir. These mails are send automatically, after a connect to the ISP. Local mail is delivered immediately. So far, so good. Now I set up an wireless data connection to a friend, he's staying not far form me. All mails to his host (or to his LAN) should be deliverd immediately through this wireless link. How can I tell my system 1.) Mail to cassiopeia.qad.org is local, deliver now, because it is my local linux box 2.) Mail to every host in the domain deepthinker.de should be deliverd to the smart host dick.deepthinker.de immediately (the IP-Route is set in proper style). 3.) All other Mail should be colleted in /var/qmail/alias/pppdir and send out by starting 'maildirsmtp'. You probably have an entry in your control/virtualdomains file like this: :alias-ppp which traps _all_ non-local mail and puts it into pppdir. You need to make an exception to this entry, to tell qmail that "deepthinker.de" is really remote. Add the following line to control/virtualdomains deepthinker.de: and HUP qmail-send. Mails for your friend will go over your wireless link. See "man qmail-send" for details of this "exception" feature. -- See complete headers for more info
Re: unwanted emails
On Fri, Oct 15, 1999 at 04:05:36PM +0800, Marlon Anthony Abao wrote: qmail-smtpd doesn't do header checks at all. Your best solution would be to write procmail/maildrop filter files for these users, and either bounce the message, or throw it away, after it is accepted into your system. If you're feeling brave, you might want to investigate Sam Varshavchik's qmail-UCE patches, where he has added filtering abilities to qmail-smtpd. However, this is not a trivial patch, so use it at your own risk. Find the patch on www.qmail.org hello, i have been using qmail for sometime and basically just forgot about it since it already works. now some of our users are requesting if we can ban certain ppl from sending them email based on header information. i don't want to do this on the global level since this is already being provided for by 'badmailfrom' but configurable on the user level. each user has his own ban list. has anyone done this and want to share his code? or do i have to write something from scratch? would it be a good idea just to throw the mail to the bit bucket or have it returned to sender? any comment is welcome :) -marlon -- See complete headers for more info
Re: control/{locals,rcpthosts,virtualdomains}
On Thu, Oct 14, 1999 at 06:42:04AM +, Franck PORCHER wrote: I understand your question like this: You want qmail to handle all local deliveries for mycompany.pf, with [EMAIL PROTECTED] being an exception. Solution: Make sure you don't have a user account called "jean" on your qmail server. Then put the address [EMAIL PROTECTED] in "~alias/.qmail-jean", so qmail will forward mail for [EMAIL PROTECTED] to [EMAIL PROTECTED]. I'm assuming that your ISP will also accept mail for [EMAIL PROTECTED] and be able to put it into jean's POP mailbox. Jean can use his/her existing address, and everyone's happy. This should work, but if it doesn't, we'll try and look for another solution. Remember to address further queries not only to me, but to the list too, because other cleverer people may have a better solution. I'm back with my (unsolved) problem. It's clear from the answers I got that I have failed in making myself understood. Mea culpa. I will (re)state the context : - My (very little) company has its own domain name, say "mycompany.pf" (polynésie française) - My company receives its inbound mail (from the Internet) thru 2 ISP-based POP mailboxes : One is set-up to receive mail ONLY to "[EMAIL PROTECTED]" (single drop POP mailbox), while the other one (the company's mailbox) is set up to receive all the other mail to "mycompany.pf", such as "[EMAIL PROTECTED], [EMAIL PROTECTED]" and the like (multi drop POP mailbox). - When jean wants to read his mail, he simply dials the ISP, connects to the ISP pop server and retrieves whatever message is in his mailbox. - When I want to retrieve my company's mail, I do exactly the same, but with the second POP mailbox. - When jean or I want to send mail, we simply use our MUA (such as Netscape messenger) which is set up to deliver outbound mail to our ISP mail relay, so jean and I can exchange mail thru those ISP-based mailboxes by using one anothers email address (Jean and I belong to the same company, but work from different locations) - So far, so good ... - Now, things have evolved on my side. I have setup a qmail server on my LAN, and the different computers on the LAN are now set up to have their MUA talk to the qmail server (no longer the ISP mail server), both to lookup their imap mailbox and to deliver outbound messages. The current qmail configuration ( relay-agent + "mycompany.pf" in locals) allows my local co-workers to exchange mail and to send mail to the Internet. But we can NO LONGER send mail to jean' ISP-based Pop mailbox using the address "[EMAIL PROTECTED]". Indeed, since "mycompany.pf" is in "locals", qmail wants to deliver it locally. THAT IS MY PROBLEM. You would say "well, open another account with your ISP and get an address for jean that would be outside the domain "mycompany.pf". THATS MY SECOND PROBLEM : Jean wants to keep "[EMAIL PROTECTED]". Indeed, he has lots of customers and friends who are already using this address, so he does not want to change nor to use a second one!!! (you can see : Jean is being very difficult and does not care much that I have tried to set up something new for the sake of my company's health. He says "it used to work, so make it work with your new setup..." well thats easy to say!). So, how do I do it ? (so the coworkers on my LAN and I will still use the address "[EMAIL PROTECTED]" to drop messages in jean remote ISP-based pop mailbox) I hope I have been more clear this time. Franck Content-Description: Card for Franck PORCHER -- See complete headers for more info
Re: MAIL FROM: somedamnuser@notvalid.dom
On Wed, Oct 13, 1999 at 10:02:35AM +0200, Einar Bordewich wrote: There are a couple of such patches on www.qmail.org Has anyone made som MX/A/PTR checking on MAIL FROM: in qmail-smtpd? -- See complete headers for more info
Re: option -v on /bin/mail
On Thu, Oct 07, 1999 at 06:02:56AM -0500, [EMAIL PROTECTED] wrote: /bin/mail submits the message to sendmail with the -v switch, and because sendmail is a single program, it can display its conversation. With qmail, you submit the message to qmail-inject, which simply deposits the message into the queue, and lets qmail-send do the delivery. So you can't see the SMTP conversation. With sendmail, the -v option on /bin/mail gave me a copy of the SMTP conversation if the message wasn't queued. Is there any way to get this under qmail? It isn't essential, but it's a nice logging touch for soe of my mail generating scripts. -- Phil Howard [EMAIL PROTECTED] -- See complete headers for more info
Re: users/assign question
On Thu, Oct 07, 1999 at 06:28:18AM -0500, [EMAIL PROTECTED] wrote: When qmail-lspawn begins an attempt at delivery, it _first_ consults users/assign, and failing to find an address in there, falls back to consulting /etc/passwd. If you have no special needs, you can do without a users/assign file. Why do I need /var/qmail/users/assign? Things work fine without it. It seems like it implements another way to do aliases. Which way is the right way to make an alias with qmail ... in /var/qmail/alias/.qmail-whatever or in users/assign with a line beginning with "whatever"? You can do aliases both ways; there's nothing particular for or against either method, but the purists might argue that using users/assign is faster because CDB lookups are faster, and also since qmail-lspawn always tries to open users/assign first, it will save a few system calls if it can find an entry in there. -- Phil Howard [EMAIL PROTECTED] -- See complete headers for more info