queue - freezing??
Hi, Is there a way of freezing the queue and deferring messages for lkater delivery??? Many thank Tonino -- TAG (Tonino [EMAIL PROTECTED] | ICQ # 38609461 )
TNEF File Help
Dear All qmail Gurus, I got this error in my qmail outgoing log. (I'm using qmail 1.03 on Redhat 6.2) delivery : failure: Seems_not_to_be_a_TNEF_file / .. / and sometime delivery : success: Seems_not_to_be_a_TNEF_file / .. / What is the TNEF file ? Is it some format from ms outlook ? (sorry for my stupid) What should I do ? THX. Joomy.
using /control/relayclients and /control/relaydomains instead of setting RELAYCLIENT
i`d like to use the qmail control files relaydomains, relayclients and rcpthosts instead of setting RELAYCLIENT with tcpserver how do i set up these files, what syntax is used in them ??? i tried to insert one subnet 192.168.3. in both files and hosts in relayclients but id didn't work out as i hoped
IMAP Servers
I've successfully gotten qmail working on a test bed, (RedHat 6.2 for Intel), and I've also installed, an IMAP server (Courier).and gotten it to work. But it's occurred to me to ask, what IMAP servers are the members of this group using? A requirement is that the IMAP allow for hierarchical folders (i.e. folders within folders). That leaves out the UW IMAP server. In fact, since I only got it working today and have yet to complete testing, I haven't established that Courier meets that requirement. Comments? === Al __ Do You Yahoo!? Yahoo! Mail Free email you can access from anywhere! http://mail.yahoo.com/
Re: Why not permanent failure code for bare LF?
On Mon, Aug 21, 2000 at 11:36:45PM -0400, Patrick J. LoPresti wrote: > I understand why qmail rejects messages containing a bare LF. > > My question is, why does it give SMTP result code 451 (indicating > temporary failure) instead of a code to indicate permanent failure? > Sending that same message will fail every time, will it not? I've often wondered about this myself. The message in question, containing as it does a bare linefeed, can *never* be accepted. So why suggest to the sending host with a 451 code that it might have better luck if it tried to send the exact same message again later? Chris
Re: IDS signatures and Qmail DoS attacks
Subba Rao writes: > I did not know that Qmail had some DoS attacks listed under it's > security belt. I saw some IDS signatures that indicated that > DoS attacks were being made against the Qmail server using long strings > of Qmail commands. Currently, Qmail does a good job at buffer overflow type > attacks. Are there any plans to protect Qmail server from DoS attacks too? It's not possible to offer services to all comers without also allowing some of them to deny services to others. That said, it's a lot easier with the new daemontools to portably restrict how much services one user can hog. -- -russ nelson <[EMAIL PROTECTED]> http://russnelson.com | If you think Crynwr sells support for free software | PGPok | health care is expensive now 521 Pleasant Valley Rd. | +1 315 268 1925 voice | now, wait until you see Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | what it costs when it's free.
Why not permanent failure code for bare LF?
I understand why qmail rejects messages containing a bare LF. My question is, why does it give SMTP result code 451 (indicating temporary failure) instead of a code to indicate permanent failure? Sending that same message will fail every time, will it not? I am just curious about the rationale. Thanks! - Pat
IDS signatures and Qmail DoS attacks
I did not know that Qmail had some DoS attacks listed under it's security belt. I saw some IDS signatures that indicated that DoS attacks were being made against the Qmail server using long strings of Qmail commands. Currently, Qmail does a good job at buffer overflow type attacks. Are there any plans to protect Qmail server from DoS attacks too? -- Subba Rao [EMAIL PROTECTED] http://pws.prserv.net/truemax/ => Time is relative. Here is a new way to look at time. <= http://www.smcinnovations.com
Re: SPAM From <> (was Re: Re: from: <> ???)
Quoting Brian Baquiran ([EMAIL PROTECTED]): > Hmm. Not too long a go, we were getting a lot of spam > with "From: <>" and "Are you ready to GRADUATE" in the subject. > We ended up denying all incoming SMTP from 4.48.43.* . Yes, well, in my experience the cons of blocking null senders far outweigh the pros. The vast majority of spam is sent with forged addresses, or take-your-pick blasted free email provider addresses. I've been trying to convice once particular NT ISP here in Oregon of this fact for nearly three years. How they can allow their users to send lots of mail--to such places as AOL, any network for that matter that has external mail gateways that forward to internal hosts--and when it bounces NOT know about it is beyond me. I think it must just be ignorance of how SMTP works. Aaron
SPAM From <> (was Re: Re: from: <> ???)
James Raftery wrote: >On Mon, Aug 21, 2000 at 03:34:13PM +0200, mailing wrote: >>In the log I've seen a few messages refused from the destination host(on the >internet) because the from line is invalid. in fact the from line contains FROM: <> >. Does anyone know what this, what it means and why..? > >An empty envelope sender is used for bounce messages. Hosts that refuse >them are broken. Hmm. Not too long a go, we were getting a lot of spam with "From: <>" and "Are you ready to GRADUATE" in the subject. We ended up denying all incoming SMTP from 4.48.43.* . FYI, Brian
Re: patching qmail with multiple patches
Also double-check with the appropriate patch author (especially if its a larger patch, like LDAP) to see which configurations he/she has tested it with. - Original Message - From: "Dave Sill" <[EMAIL PROTECTED]> > I would: > > 1) Select only patches that I have a proven or mandated need for. For >example, I haven't seen DNS problems, so I'd skip that one. > 2) For the remaining patches, I'd construct a matrix showing which >patches modified which files. > 3) If any files are modified by more than one patch, I'd read the >patch files to see where the modifications are being made. > 4) If more than one patch modifies the same original qmail code, I'd >strongly consider dropping one of the patches or finding a >competent programmer to merge them. This could be tricky and/or a >lot of work. > 5) Use "patch" to install non-conflicting patches. > 6) Manually install conflicting and failed patches. > 7) Build qmail per INSTALL and patch-specific instructions. > 8) Test, test, test. > 9) Test some more, but still expect the unexpected.
Routing qmail through a gateway
I'm tring to make a internal qmail server route through a gateway running sendmail. I've added :[192.168.1.1] to /var/qmail/control/smtproutes which is the inside ip address of the gateway running sendmail. When I send mail to the qmail server, I get the following error, deferral: Connected_to_192.168.1.1_but_connection_died._(#4.4.2)/ Mail from the Internet is routed to the qmail server correctly and I can send mail from smtp client on the network through the gateway. I'm not sure what to look for. I don't see any info in the logs of the gateway. thanks,
RE: tcpserver return codes
Hey John, is your mail client and What's Up Gold on the same machine? If not, your tcpserver might not be open to relaying from the What's Up Gold machine. If they are both on the same machine and the email client works, then I'm going to guess that What's Up Gold tries to send email with lines or blank lines that are not terminated with which qmail dumps off for whatever reason. I had some cgi scripts that just did a carriage return after each line while building the header of the email message and they resulted in a status=256 from tcpserver when trying to send. Fortunately they were perl so I just edited them and fixed the problem, you might not have such luck with What's Up Gold. You might be able to request a fix for that from IPSwitch though if that is the problem because the is a reasonable request. Any chance you have some type of packet sniffer to watch what it's sending? Good luck, Dave -Original Message- From: John Steniger [mailto:[EMAIL PROTECTED]] Sent: Monday, August 21, 2000 4:40 PM To: '[EMAIL PROTECTED]' Subject: tcpserver return codes I'm having an issue which I believe is tcpserver; I've searched the archives and haven't found anything. I have qmail up and running under tcpserver, and using a client like Outlook I am able to both send mail and recieve mail (using pop3 protocol). However, I have a network monitoring tool (What's Up Gold) which can be configured to send email messages. When I specify my qmail server as the SMTP server, and attempt to test, I get immediate failure. The fact that it fails immediately without logging any information into my mail log at all pointed me to tcpserver and not qmail as the culprit. I did a tail -f on the /var/qmail/log/qmail-smtp/current log during a couple tests: I sent a normal email message through outlook and then tested the monitoring tool's email configuration. The first email went through successfully, while the second test of the configuration failed (as expected). The only difference in the current log was the return code that tcpserver output: for the first generic email test, I got a return code of 0, whereas for the second test of the monitoring tool, I got a return of 256. Both the email and the monitoring tool email originated from the same machine. Has anyone had this issue, with qmail interacting differently with an application other than a mail client? I'd appreciate any help. Thanks
Re: i can't get started?
I had this same problem a couple weeks ago and ended up redoing the box, running through qmail exactly. A few things to make sure you did: 1. The text editor you were using to create the scripts may be creating dos-compatible text files. I hate to recommend this to a self-proclaimed newbie, but try using vi/vim to create the files. Also, make sure that the files are EXACTLY the same as they show in LWQ. 2. There are certain permissions that need to be set on some of the files and directories for it to work properly. Most of these relate to the supervise functions. Try recreating these files/directories and detailed in LWQ. 3. It may just save you time to simply telnet into the box and copy and paste from LWQ to the telnet session, in order to keep human error. Try cutting and pasting all commands into the telnet window to run them. For scripts, run `vi scriptname`, press 'i', paste the scripts contents, press 'Esc : w q Enter'. This will paste in the script exactly as worded in LWQ but still keep the proper Unix End-of-Line characters. - Original Message - From: Len Scotney <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 15, 2000 12:18 AM Subject: i can't get started? > i hope i am doing this right? > please excuse a newcomer to the linux/qmail scene > after 20 years with PCs/DOS/Win, i am now trying to help with something > completely new > > system is a PC with RedHat ver 6.2 > trying to install qmail, with LWQ in left hand and mouse in right hand > files are qmail-1.03,ucspi-tcp-0.88,daemontools-0.70 > > generally found the LWQ very hand-holding, but having got to the end (page 23) > cannot get qmail to run > > on reboot, the start-up screens show: > > starting qmail execvp - no such file or directory ??? > > what worries me is that the history page for daemontools show that some time > back execvp was replaced with pathexec, .is this the problem? > > also i am concerned that even though the 'qmail' startup script just starts, the > check of the PATH does not show /var/qmail/bin ?? > > if i try and start qmail manually, with /var/qmail/rc, i get some messages that > say thattalk abour CNAME not working ?? > > sooo many questions! > > (i would have never got this far without LWQ, i found the HOWTO was too brief > for a newcomer) > > if anyone can unravel the above it would be greatly appreciated > > len (the old guy) > >
Re: qmail and IP addresses.....
On Sat, 19 Aug 2000, Russell Nelson wrote: > It could be done for outgoing, but nobody has written such a patch. Chuck Foster DID write such a patch 2.5 years ago. (If you want a version that works with 1.03 and you cannot find any, ask me.) > For what it's worth, Dan Bernstein says that it's frivolous. Yes. He also put this comment into his own code: /* XXX: could bind s */ --Pavel Kankovsky aka Peak [ Boycott Microsoft--http://www.vcnet.com/bms ] "Resistance is futile. Open your source code and prepare for assimilation."
Re: Logs - rotate, archive... ?
On the box that we have here, every six hours a cron script goes into the send log directory and grabs all the non-current logs. It then concatenates them into on and sends them through a couple of components of qmailanalog. We have a couple specific accounts that need to be kept track of so the translated log messages relating to them get a "To:" line added to the top with an address and are sent through inject to the people who need them. The rest are sent to me so I can track problems. Then the concatanated logs are gzipped and dumped into a directory that, every so often, gets put onto a colorado tape and stashed away for records. MHP - Original Message - From: Brett Randall <[EMAIL PROTECTED]> To: qmail <[EMAIL PROTECTED]> Sent: Saturday, August 12, 2000 8:31 PM Subject: Logs - rotate, archive... ? > Hi there > > I am curious what most people do with their qmail logs (generated by > multilog, running under the supervise and tcpserver daemons). Do most people > rotate them and have old ones automatically erased, or do you archive them > for later usage, or even weirder do many people just leave their logs for > all eternity to grow up to the current size of the net? I use qmail-mrtg-1.0 > (love it! the boss can't get enough of it...) to report on the logs, just as > a piece of off-hand information. > > Thanks! > > /BR > > Manager > InterPlanetary Solutions > http://ipsware.com/ > > >
Re: etmlm-web v2.0
If you can, try migrating the virtual domain to work with vchkpw. You can then use qmailadmin (inter7.com for both) to administer the accounts and the mailing lists. If you decide to do this, please read the FAQ file in the source directory for vchkpw. MHP - Original Message - From: Alexander Bruns To: [EMAIL PROTECTED] Sent: Sunday, August 13, 2000 9:43 PM Subject: etmlm-web v2.0 Hi, on my new installed qmail-linux-box i installed the ezmlm-40-idx and ezmlm-0,53 and ezmlm-web v2.0 (http://rucus.ru.ac.za/~guy/ezmlm/) i can create mailinglists and delete and manage etc! but that only works right for my local domain. in /var/qmail/control/local the entires are: mail.domain.de domain.de in virtualdomains there is: myvirtualdomain.de:v-myvirtualdomain so a mail to [EMAIL PROTECTED] is managed by /var/qmail/alias/.qmail-user1 and a mail to [EMAIL PROTECTED] is managed by /var/qmail/alias/.qmail-v-myvirtualdomain-user1 thats the way it was configured on our 1 year old qmail-box which i did not configure but from which i have to take the large mailinglists for our virtualdomains!!! now, when i create a list with ezmlm-web for example test[EMAIL PROTECTED] it crates the links right: /var/qmail/alias/.qmail-list1 -> /var/qmail/lists/test1/editor but when i crate a list named [EMAIL PROTECTED] it creates the links like: /var/qmail/alias/.qmail-listtest1 -> /var/qmail/lists/listtest1/editor instad of /var/qmail/alias/.qmail-v-myvirtualdomain-listtest1 -> /var/qmail/lists/listtest1/editor now whats wrong??? thanks an perhaps you can answer me in germany: greetings form alex from germany
Re: cannot connect to smtp or pop service
On Mon, Aug 21, 2000 at 03:35:12PM -0400, Dave Sill wrote: > > David Benfell <[EMAIL PROTECTED]> wrote: > > >An addendum to this message. It (finally) occurred to me to try > >telnetting to the ports. I got: > > > >benfell@linux:~ > telnet 216.254.42.98:25 > >telnet: 216.254.42.98:25: Name or service not known: Success > >216.254.42.98:25: Unknown host > >benfell@linux:~ > telnet 216.254.42.98:110 > >telnet: 216.254.42.98:110: Name or service not known: Success > >216.254.42.98:110: Unknown host > >benfell@linux:~ > > > I think you need to separate the IP address and port with a space, > e.g.: > > telnet 216.254.42.98 25 > telnet 216.254.42.98 110 > > -Dave > Thanks to you, John Steniger and Johan Almqvist for pointing this out. I trust the rest of you got a good chuckle of that particular piece of idiocy on my part! As for the rest of my trouble, I'm hoping it was (stand by for another chuckle) a routing problem. [Groan. Head hits wall.] Apologies for the bandwidth. PGP signature
Re: mbox o maildir
<[EMAIL PROTECTED]> wrote: >What is the best way of have user local buzon? >./Mailbox or /var/spool/mail/ I don't know what "buzon" means, and I can't tell whether you're asking whether delivery to mailboxes in the user's home directory is better than mailboxes in a spool directory, or whether mailbox format is better than maildir format. From what you've said, I'd recommend $HOME/Maildir delivery. >Is ./Mailbox very speed or no? The performance of a mailbox depends upon what software is modifying it the types of operations the user is performing. For a POP server under qmail, your best bet is probably qmail-pop3d, which *requires* maildir mailboxes. >I have a problem, I can't have most of 32768 directorys into of other >directory, because my system no can support it. My system is Digital-Unix >on Tru64Unix 4.0F That's a good reason not to use a central mail spool like /var/spool/mail. If you use $HOME/Maildir, you can distribute the users across as many directories as you need to keep the numbers down. >I have dread than qmail by guilt of Mbox no work very good? qmail works as well with mailboxes as any other MTA. >Maybe a database with Mysql could better ? Better than what? /etc/passwd? Maybe. >but where is these information? www.nrg4u.com >LDAP is very good for 50,000 users? Supposedly. Never used it, myself. >and the aliases.. ? What about them? >Other problem than I have is limits of characters of username, because my >system Digital Unix only accept <= 8 characters... But I wish have most of >8 >A database maybe be a solution? Or perhaps one of the virtual users packages like vpopmail. >Sorry for the english.. I am Peruvian No need to apologize. Don't be surprised if we need clarification sometimes, though. -Dave
tcpserver return codes
I'm having an issue which I believe is tcpserver; I've searched the archives and haven't found anything. I have qmail up and running under tcpserver, and using a client like Outlook I am able to both send mail and recieve mail (using pop3 protocol). However, I have a network monitoring tool (What's Up Gold) which can be configured to send email messages. When I specify my qmail server as the SMTP server, and attempt to test, I get immediate failure. The fact that it fails immediately without logging any information into my mail log at all pointed me to tcpserver and not qmail as the culprit. I did a tail -f on the /var/qmail/log/qmail-smtp/current log during a couple tests: I sent a normal email message through outlook and then tested the monitoring tool's email configuration. The first email went through successfully, while the second test of the configuration failed (as expected). The only difference in the current log was the return code that tcpserver output: for the first generic email test, I got a return code of 0, whereas for the second test of the monitoring tool, I got a return of 256. Both the email and the monitoring tool email originated from the same machine. Has anyone had this issue, with qmail interacting differently with an application other than a mail client? I'd appreciate any help. Thanks
Re: patching qmail with multiple patches
[EMAIL PROTECTED] wrote: > i am trying to apply following patches on qmail-1.03 , but not able to >apply all those > > 1> qmail-bounce.patch > 2> qmail-ldap-2601.patch > 3> patching dns.c with appropriate patch > 4> qmail-big-concurrency.patch > 5> qmail-big-todo. patch I would: 1) Select only patches that I have a proven or mandated need for. For example, I haven't seen DNS problems, so I'd skip that one. 2) For the remaining patches, I'd construct a matrix showing which patches modified which files. 3) If any files are modified by more than one patch, I'd read the patch files to see where the modifications are being made. 4) If more than one patch modifies the same original qmail code, I'd strongly consider dropping one of the patches or finding a competent programmer to merge them. This could be tricky and/or a lot of work. 5) Use "patch" to install non-conflicting patches. 6) Manually install conflicting and failed patches. 7) Build qmail per INSTALL and patch-specific instructions. 8) Test, test, test. 9) Test some more, but still expect the unexpected. -Dave
Re: assign problem supplemental
Hi Andrew, checking again and again the issues mentioned in your great and detailled help instructions now the problem is solved. I even do not know what finally caused the problem ;-). Everything seems to work now as I wanted it to. Thanks again for your effort Clemens
Re: Uninstall
[EMAIL PROTECTED] wrote: > > Please ... need uninstall qmail > because need install againly .. > need begin anew > > I need patch the source code.. > > Thanks You shouldn't have to remove it completely to patch the source code. Just a get a copy of the source code and apply the patch to it. Once the patch is applied you can compile qmail and it will replace your previous binaries with the new ones. If you still want to remove it and completely re-install that depends on how it was installed. If you are using a linux system that has RPM you can type as root rpm -e 'package name' and it should remove it. If you didn't use RPM all the files for qmail should be in /var/qmail (that is a default location). Take Care, -- Dale Miracle System Administrator Teoi Virtual Web Hosting
Re: Uninstall
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Please ... need uninstall qmail > because need install againly .. > need begin anew > > I need patch the source code.. If you previously installed qmail from sources, `rm -rf /var/qmail` will do most, but not all, of it. If you installed from some other form of package, follow its directions for uninstallation. Charles -- -- Charles Cazabon <[EMAIL PROTECTED]> QCC Communications Corporation Saskatoon, SK My opinions do not necessarily represent those of my employer. --
Re: Uninstall
<[EMAIL PROTECTED]> wrote: >Please ... need uninstall qmail >because need install againly .. >need begin anew No need to uninstall. Just install over the current installation. -Dave
Re: Howto LDAP
<[EMAIL PROTECTED]> wrote: >I need information of LDAP on QMAIL >I need install LDAP or MYSQL runnig on QMAIL >I am looking: www.nrg4u.com >but I don't understand >How works it? 1) What documentation there is on this package is available from www.nrg4u.com. 2) The proper place to discuss this package is the qmail-ldap list. Instructions for subscribing are provided on www.nrg4u.com. 3) "Note: This is NOT point-and-click-and-then-it-works ware! You should have fairly good prior knowledge of qmail and LDAP." >How do install a file .patch? See "man patch". But the fact that you ask that question leads me to believe you're not ready for qmail-ldap. -Dave
Uninstall
Please ... need uninstall qmail because need install againly .. need begin anew I need patch the source code.. Thanks
Re: cannot connect to smtp or pop service
David Benfell <[EMAIL PROTECTED]> wrote: >An addendum to this message. It (finally) occurred to me to try >telnetting to the ports. I got: > >benfell@linux:~ > telnet 216.254.42.98:25 >telnet: 216.254.42.98:25: Name or service not known: Success >216.254.42.98:25: Unknown host >benfell@linux:~ > telnet 216.254.42.98:110 >telnet: 216.254.42.98:110: Name or service not known: Success >216.254.42.98:110: Unknown host >benfell@linux:~ > I think you need to separate the IP address and port with a space, e.g.: telnet 216.254.42.98 25 telnet 216.254.42.98 110 -Dave
Re: Howto LDAP
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > this is important for me > I need information of LDAP on QMAIL > I need install LDAP or MYSQL runnig on QMAIL > I am looking: www.nrg4u.com > but I don't understand > How works it? > How do install a file .patch? I don't think you'll get many responses to this; some/many/most of the people on this list are of the opinion that knowing how to apply a patch file to a source tree is a prerequisite for being a mail administrator. However, for a brief explanation... A patchfile describes a set of changes to one or more files. Typically these are text files (source code and/or documenation, etc). The utility 'patch' can read these files and apply the changes to copies of the original files. In this case, the patch file contains changes from the original qmail (no capital 'q') source tree, and the version which supports LDAP or MySQL, depending on what you're looking for. The way to use them is to download the qmail sources, unpack the tarball, download the patch file, and apply the patch to the now-modified qmail source tree. Then compile and install the newly-built LDAP- or MySQL-capable qmail binaries on your system. For more details, see `man patch` and any competent system administrator's guide. Charles -- -- Charles Cazabon <[EMAIL PROTECTED]> QCC Communications Corporation Saskatoon, SK My opinions do not necessarily represent those of my employer. --
Re: cannot connect to smtp or pop service
Hello again, An addendum to this message. It (finally) occurred to me to try telnetting to the ports. I got: benfell@linux:~ > telnet 216.254.42.98:25 telnet: 216.254.42.98:25: Name or service not known: Success 216.254.42.98:25: Unknown host benfell@linux:~ > telnet 216.254.42.98:110 telnet: 216.254.42.98:110: Name or service not known: Success 216.254.42.98:110: Unknown host benfell@linux:~ > On Mon, Aug 21, 2000 at 10:48:57AM -0700, David Benfell wrote: > > Hello, > > First a picture of my network arrangement: > > I have a box called "earth" which does IP masquerading for my local > network. "Earth" also does my http, ftp, smtp (qmail), and pop3 > (qmail) service. (I'd like to move the gateway functions to another > box, but haven't got a suitable one yet.) > > I have another box called "kindling" which is my print server and the > repository of all my e-mail user functions. This box is also running > qmail. "Kindling" is on the local network and uses "earth" as a > gateway. I have just moved e-mail user functions here from "earth." > > Everything seems to work except smtp and pop on "earth". qmail on > "kindling" logs an error that it could not connect to smtp service (on > "earth") when I try to send mail to "earth." But I can send mail > anyplace else. fetchmail simply hangs when trying to pop mail from > "earth", but succeeds in fetching from other servers. (I have to use > fetchmail because I don't see how I can do pop via ssh with the > alternative that's been recommended here.) > > The nmap program reports that both services are available (on > area66-1.dsl.speakeasy.net). > > "Kindling" and "earth" are defined as kindling.parts-unknown.org and > earth.parts-unknown.org in /etc/hosts. (Network Solutions hasn't > gotten this domain properly pointed yet.) > > I doubt I've given you all the information you need. What else should > I be looking at and (presumably) telling you? > > -- > David Benfell > [EMAIL PROTECTED] > ICQ 59438240 [e-mail first for access] > --- > There are no physicists in the hottest parts of hell, because the > existence of a "hottest part" implies a temperature difference, and > any marginally competent physicist would immediately use this to > run a heat engine and make some other part of hell comfortably cool. > This is obviously impossible. > -- Richard Davisson > > [from fortune] > > -- David Benfell [EMAIL PROTECTED] ICQ 59438240 [e-mail first for access] --- There are no physicists in the hottest parts of hell, because the existence of a "hottest part" implies a temperature difference, and any marginally competent physicist would immediately use this to run a heat engine and make some other part of hell comfortably cool. This is obviously impossible. -- Richard Davisson [from fortune] PGP signature
Re: Square brackets in Received: header
In <[EMAIL PROTECTED]>, Markus Stumpf <[EMAIL PROTECTED]> writes: > On Mon, Aug 21, 2000 at 12:46:02PM -, [EMAIL PROTECTED] wrote: > > Is there an easy way to get qmail to use square brackets for > > the IP address in Received: headers? > > Depends on what you call easy. Easy as in "does not require the sysadmin to install a different version of the code" :-) So, a postprocessor would be preferrable to recompiling the code (and also have fewer potential compatibility issues with other qmail code) -- Klaus Johannes Rusch [EMAIL PROTECTED] http://www.atmedia.net/KlausRusch/
[Announce] Software for scalable hashed directory qmail
Dear List-members, For those of you who are interested - particularly those who run large qmail installations, possibly multiple-domain, I've been working on a system to hash users' directories automatically. It does not attempt to offer authentication (this would be a separate design decision: cdb / Oracle / Radius etc.). It is designed to look after a collection of users mail directories in a scalable manner, enabling delivery and collection of mail to a hashed directory structure. The hashed directory structure is designed on the basis of using shared back-end storage for multiple front-end qmail boxes: these back-ends would typically use NFS to reach the back end(s) - e.g. using Network Appliance machines, or Quantum SnapServers. Multiple back-ends and/or multiple front-ends are possible. The package comes with various utilities to add users and aliases. I've tried to keep it as lightweight as possible (to be fast and secure). It's designed to be used with a separate authentication system - e.g. from a cdb file or using a database. Thus to add a user you will also have to ensure they are added to the authentication system chosen. This is not a beginners package - you should have some appreciation of the problems of running larger qmail systems before attempting to use this. It's alpha-release software: Take all relevant precautions. Anyway, if you're interested, take a look, http://www.tic.ch/e-image/hashing/qmail-hashing21Aug00.tar.gz I'm very keen to receive any feedback - bug-reports, feature-requests, comments, what-does-that-means etc There is one problem/bug I'm distinctly concerned about in this package; all thoughts particularly welcome: The delivery mechanism used by the package calls qmail-local (to avoid re-inventing the wheel). It can therefore use .qmail files (these do work). Unfortunately if you have two .qmail files pointing at each other (user1's .qmail file says &user2; user2's .qmail file says &user1), you end up with a mail loop. I also can't think of a snazzy name for it... any suggestions? cheers, Andrew Richards. PS: I'm on holiday for a week until 30th August, so I won't be replying to any mail until then.
Re: sender domain must resolve
Claudinei Luis Bianchini wrote: > > Hi, > some times I am receiving the message below when I try to deliver emails in > (only) this server. Can I make something to decide this or I only depend on > them? > I am using qmail+djbdns. > > @400039a137f52616add4 delivery 65277: deferral: > Connected_to_200.202.2.1_but_sender_was_rejected./Remote_host_said: > _451_<[EMAIL PROTECTED]>..._Sender_domain_must_resolve/ I get that every now and then. There is a dns outage on the place where you were sending a message to and/or they tried to do an A record lookup on your domain servers in which they either couldn't contact yours (if they themselves have a dns outage that would be the case) or yours didn't respond in time. The solution really if it is on your end, just run another box with name serivice on it to answer other requests that the first name server didn't get. -- Dale Miracle System Administrator Teoi Virtual Web Hosting
Howto LDAP
Dears friends.. Please this is important for me I need information of LDAP on QMAIL I need install LDAP or MYSQL runnig on QMAIL I am looking: www.nrg4u.com but I don't understand How works it? How do install a file .patch? Please Response me as soon as possible Thanks you
cannot connect to smtp or pop service
Hello, First a picture of my network arrangement: I have a box called "earth" which does IP masquerading for my local network. "Earth" also does my http, ftp, smtp (qmail), and pop3 (qmail) service. (I'd like to move the gateway functions to another box, but haven't got a suitable one yet.) I have another box called "kindling" which is my print server and the repository of all my e-mail user functions. This box is also running qmail. "Kindling" is on the local network and uses "earth" as a gateway. I have just moved e-mail user functions here from "earth." Everything seems to work except smtp and pop on "earth". qmail on "kindling" logs an error that it could not connect to smtp service (on "earth") when I try to send mail to "earth." But I can send mail anyplace else. fetchmail simply hangs when trying to pop mail from "earth", but succeeds in fetching from other servers. (I have to use fetchmail because I don't see how I can do pop via ssh with the alternative that's been recommended here.) The nmap program reports that both services are available (on area66-1.dsl.speakeasy.net). "Kindling" and "earth" are defined as kindling.parts-unknown.org and earth.parts-unknown.org in /etc/hosts. (Network Solutions hasn't gotten this domain properly pointed yet.) I doubt I've given you all the information you need. What else should I be looking at and (presumably) telling you? -- David Benfell [EMAIL PROTECTED] ICQ 59438240 [e-mail first for access] --- There are no physicists in the hottest parts of hell, because the existence of a "hottest part" implies a temperature difference, and any marginally competent physicist would immediately use this to run a heat engine and make some other part of hell comfortably cool. This is obviously impossible. -- Richard Davisson [from fortune] PGP signature
Re: sender domain must resolve
On Mon, Aug 21, 2000 at 11:17:14AM -0300, Claudinei Luis Bianchini wrote: > some times I am receiving the message below when I try to deliver emails in > (only) this server. Can I make something to decide this or I only depend on > them? I'd think this is a DNS timeout problem. The server tried to validate if netcon.com.br is a valid sender domain (i.e. there exists an A or MX records or both) It cannot reach the DNS servers (as both of the are in the same subnet it is most likely that if your line is filled up none of them will respond) and get the answer, so it returns a temporary failure. AFAIK a solution would be to distribute your DNS servers (nettopological (sp?)) location. Thats the original intention in having two or three of them. \Maex -- SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
RE: CHANGING INETD
> Anyway, while on this thread it has occurred to me to ask > why put qmail in either inetd or tcpserver? Why not run > it as a daemon? 1) If it ran as its own daemon, it would require root privileges to bind to port 25. When it is spawned by tcpserver, the amount of code requiring root privileges is smaller, and therefore less of a security risk. This is a security feature. 2) One could argue that daemons require much more care for cleaning up memory use and buffer use, so that a) information isn't leaked between two users and b) memory leaks don't impact the system. Note that the Apache daemons are discarded over time to avoid these dangers. By spawning one process per message, this is not an issue. (One might argue that djb's code is small and tight enough to trust. One might also argue that good design is still good design even if you trust the coder). -- gowen -- Greg Owen -- [EMAIL PROTECTED]
RE: assign problem supplemental
Clemens, I think it must be .qmail files you're lacking - and that may be a better solution for you to use. Anyway, with your existing plan, with a users/assign as follows, +allesrabe-de-:usera:555:100:/home/usera:-:: =allesrabe-de-info:userb:666:100:/home/userb::: [EMAIL PROTECTED] goes to /home/userb, where it will look for delivery instructions, or failing that it'll use the default delivery instructions. [EMAIL PROTECTED] will go to /home/usera, where it *needs* delivery instructions - i.e. if you have a Maildir there, create a .qmail-default file to point to it (or just touch .qmail-default if Maildir/ is your default delivery). Alternatively to this, you could have a users/assign +allesrabe-de-:usera:555:100:/home/usera:-:: and in /home/usera, have .qmail files corresponding to your 5 specified users, thus .qmail-info .qmail-user1 .qmail-user2 each of which can point to a (different if you like) Maildir or whatever. With this approach bounces should be generated for any user @allesrabe.de that isn't info, user1 or user2. If you want to catch these deliveries in a catch-all .qmail file, use .qmail-default, also in /home/usera. Other things to check: Ownership of Maildirs, home directories, .qmail files. Also have you run qmail-newu after changing users/assign? You mentioned that you were having problems with bounces but seeing no log messages: Perhaps you're not logging qmail output. The simple way would be in your startup, to change from (e.g.), exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ to, exec env - PATH="/var/qmail/bin:/usr/local/bin:$PATH" \ qmail-start ./Maildir/ splogger qmail - and check that 'mail' is dealt with in /etc/syslog.conf somehow - that's where you'll find the log. ...but read up on things like multilog for less disk-intensive logging (daemontools package). cheers, Andrew. -- From: Clemens Hermann[SMTP:[EMAIL PROTECTED]] Sent: 21 August 2000 13:34 To: Qmail Mailinglist Subject:assign problem supplemental Hi, seems as If my description did not get the point of my problem. Give me a second try: My /var/qmail/users/assign is this +allesrabe-de:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut::: =haribeau:popuser:500:100:/var/qmail/popboxes/linuxlupe-de/haribeau::: =neo:popuser:500:100:/var/qmail/popboxes/linuxlupe-de/haribeau::: +wetterbestellung-de:popuser:500:100:/var/qmail/popboxes/wetterbestellung-de /default::: . the first line delivers any Mail to @allesrabe.de into the Mailbox as specified the second and third line creats mail aliases for my local domain (linuxlupe.de). This also works. the mails are delivered perfect in the specified mailboxes. the fourth line delivers any mail to @wetterbestellung.de into the specified Mailbox. so far so good. What I now want to do is being able to create several virtual users for my virtual domain allesrabe.de (as ist works yet for my local domain - see second and third line in the config file above). for this reason my /var/qmail/control/virtualdomains looks like this: allesrabe.de:allesrabe-de wetterbestellung.de:wetterbestellung-de So I expected that when I change the first Line in my assign file from (as above): +allesrabe-de:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut::: to =allesrabe-de-info:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut::: only the mails adressed to [EMAIL PROTECTED] should be delivered to helmut's mailbox, korrekt? But this is not the case. after inserting this line no mail to [EMAIL PROTECTED] is delivered anywhere. No errormessages or undelivery mails are send neither. wildcard assignment works if I try this: +allesrabe-de-inf*:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut::: now [EMAIL PROTECTED] is delivered to helmuts box, as everything inf**@allesrabe is. a wildcard assignment as follows is _not_ delivered: +allesrabe-de-info*:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut::: I really do not get the point where I am wrong. I rebuilt the database after any change and for sure I restarted sendmail after changing my virtualdomains file. It would be great if anyone could help me thanks in advance Clemens
Re: Mgetty+Fax does not mail
On Mon, 21 Aug 2000, Peter Zak wrote: > Hi! > > After I changed Sendmail->Qmail I get no email notification about > sended/received faxes from mgetty+sendfax. It worked well with sendmail > and I did not change any configuration. The sending/receiving of faxes > works, I only miss the email notify... > > What could be the reason ? Could it be calling sendmail directly? Make sure you find all the instances of sendmail on your filesystem and make them links to /var/qmail/bin/sendmail. Vince. -- == Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
Re: Mgetty+Fax does not mail
On Mon, Aug 21, 2000 at 04:36:37PM +0200, Peter Zak wrote: > After I changed Sendmail->Qmail I get no email notification about > sended/received faxes from mgetty+sendfax. It worked well with sendmail > and I did not change any configuration. The sending/receiving of faxes > works, I only miss the email notify... > > What could be the reason ? Did you replace /usr/sbin/sendmail or /usr/lib/sendmail with a link to /var/qmail/bin/sendmail ? If not, do it. The eMails should be in the sendmail queue still ... so you might want to move your or sendmail to sendmail.old an do a /usr/{sbin,lib}/sendmail.old -q to get them delivered. \Maex -- SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
sender domain must resolve
Hi, some times I am receiving the message below when I try to deliver emails in (only) this server. Can I make something to decide this or I only depend on them? I am using qmail+djbdns. @400039a137f52616add4 delivery 65277: deferral: Connected_to_200.202.2.1_but_sender_was_rejected./Remote_host_said: _451_<[EMAIL PROTECTED]>..._Sender_domain_must_resolve/ -- Claudinei Luis Bianchini [EMAIL PROTECTED]
Re: Square brackets in Received: header
On Mon, Aug 21, 2000 at 12:46:02PM -, [EMAIL PROTECTED] wrote: > Is there an easy way to get qmail to use square brackets for > the IP address in Received: headers? Depends on what you call easy. Just edit received.c line 58 + 64, recompile, install. But note, that you will probably become incompatible to some check scripts ppl wrote/write. \Maex -- SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Mgetty+Fax does not mail
Hi! After I changed Sendmail->Qmail I get no email notification about sended/received faxes from mgetty+sendfax. It worked well with sendmail and I did not change any configuration. The sending/receiving of faxes works, I only miss the email notify... What could be the reason ? Thanks for your help in advance... Peter
Re: SMTP port 25
"Brett Randall" <[EMAIL PROTECTED]> wrote: > > Running on anything other than port 25 is pretty silly considering that > all applications and all mail relays attempt to deliver to port 25 on > every mail server in the world...Internally, you could do it, but why? There are several reasons why this is done, usually amounting to "security through obscurity". Sometimes an SMTP server on a non-standard port is run as an open relay, so remote customers can forward outgoing mail through it. Sometimes spam checking, size limits, or other policies are waived for an odd-port SMTP server. Len. -- Why is modularity ``wholly unreasonable''? -- Dan Bernstein
Re: relay-ctrl
On Sat, Aug 19, 2000 at 08:35:23PM +0200, Clemens Hermann wrote: > after having successfully set up qmail I really start loving it ;-). > The only way to get it secure for my purpose seemed to be a smtp after > Pop implementation. So I downloaded the relay-ctrl-2.0.tar.gz package > and installed it as described. > I changed the following lines in defines.h: > > RULESDIR "/etc" > TCPRULES "/usr/local/bin/tcprules" > SMTPRULES "tcp.smtp" > SMTPCDB "tcp.smtp.cdb" > > I use POP3D via tcpserver and tcpserver with qmail-smtp. Everything > works fine locally. What is the command line used to start up tcpserver for qmail-smtpd? Does it use the tcp.smtp CDB file? -- Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/ PGP signature
SPAMCONTROL
I recently installed SPAMCONTROL (1.3.0) and got to wonder how to handle control/relayclients, relaydomains and relaymailfrom. can i use these files without setting RELAYCLIENT with tcpserver and hows the syntayx within these files ??
Re: from: <> ???
On Mon, Aug 21, 2000 at 03:34:13PM +0200, mailing wrote: >In the log I've seen a few messages refused from the destination host(on the >internet) because the from line is invalid. in fact the from line contains FROM: <> >. Does anyone know what this, what it means and why..? An empty envelope sender is used for bounce messages. Hosts that refuse them are broken. Regards, james -- James Raftery (JBR54) - Programmer Hostmaster - IE TLD Hostmaster IE Domain Registry - www.domainregistry.ie - (+353 1) 706 2375 "Managing 4000 customer domains with BIND has been a lot like herding cats." - Mike Batchelor, on [EMAIL PROTECTED]
Re: Help...
On Mon, 21 Aug 2000, Muhammad Yusuf wrote: > hi... > > I've just upgraded FreeBSD,from 2.2.8 to 4.0 > In 2.2.8, everything was just fine. > But after the upgrading, I the problem with qmail. > qmail-send take too much cpu time, > and I lot of messages which don't stop. > the message is : > qmail : number ** warning : unable to stat mess/2/54029 > > the ** always changes. > > are there anyone of you have been in this situation??? Re-compiling qmail worked on a 2.2.6 -> 3.2 upgrade, but since I didn't do it one of the steps during the build may have fixed it. Vince. -- == Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
Re: backup server for spooling
On 21-Aug-2000, Eric Peters wrote: > I'm wondering howto setup a MX 20 server that will be a backup and spool > email when the mx 10 server is down and when the mx 10 server goes backup > then to transfer the spool of sorts to the mx 10 server Put the domain(s) in the rcpthosts (or morercpthosts) of the MX 20 machine, but not in locals or virtualdomains. Simple as that. It's like saying: accept for that domain but do not deliver it locally. HTH, Ronny
from: <> ???
Hello, I've been using qmail for a few months now (with multiple domains) we have an exchange server (I didn't choose it, i promis) which routes all outgoing mail via qmail. In the log I've seen a few messages refused from the destination host(on the internet) because the from line is invalid. in fact the from line contains FROM: <> . Does anyone know what this, what it means and why..? Thanks in advance Regards Ken
Re: backup server for spooling
On Mon, Aug 21, 2000 at 06:37:24AM -0700, Eric Peters wrote: > I'm wondering howto setup a MX 20 server that will be a backup and spool > email when the mx 10 server is down and when the mx 10 server goes backup > then to transfer the spool of sorts to the mx 10 server Hi Eric, http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/08/msg00173.html Regards, james -- James Raftery (JBR54) - Programmer Hostmaster - IE TLD Hostmaster IE Domain Registry - www.domainregistry.ie - (+353 1) 706 2375 "Managing 4000 customer domains with BIND has been a lot like herding cats." - Mike Batchelor, on [EMAIL PROTECTED]
Re: Is there any design bug on qmail's APOP
"Chris, the Young One" <[EMAIL PROTECTED]> wrote: >Umm. qmail-pop3d just passes the authentication tokens to some program >like checkpassword. checkpassword doesn't handle APOP responses, by the >way, so you need to use an authenticating program that does. > >Would you like to write one and contribute it to qmail.org? :-) There's already at least one APOP checkpassword on www.qmail.org. -Dave
Re: Help...
On 21-Aug-2000, Muhammad Yusuf wrote: > I've just upgraded FreeBSD,from 2.2.8 to 4.0 > qmail : number ** warning : unable to stat mess/2/54029 Your queue is probably corrupt. qmail uses the inode information from the filesystem to build the queue dir structure, so you can't simply move the queue directory (or do anything that changes the inode numbers). Either fix the queue structure (look for a program to do this in qmail.org) or rebuild it from scratch (you most likely will lose mails in the queue). Ronny
backup server for spooling
I'm wondering howto setup a MX 20 server that will be a backup and spool email when the mx 10 server is down and when the mx 10 server goes backup then to transfer the spool of sorts to the mx 10 server Thanks for your time, Eric
Re: SMTP port 25
- Original Message - From: "Brett Randall" <[EMAIL PROTECTED]> > simply change an IP address on our port forwarding machine and its done - no > external DNS and TTL hell to live through... You COULD alternately try > ipmasqadm with ipchains but I haven't had any luck with port forwarding this > yet... >From my experience, the portfw code isn't quite as mature as it could be (which is accessed by ipmasqadm) but it works quite well under medium load situations at least. We're using it in the same capacity as listed above for a number of services.
Help...
hi... I've just upgraded FreeBSD,from 2.2.8 to 4.0 In 2.2.8, everything was just fine. But after the upgrading, I the problem with qmail. qmail-send take too much cpu time, and I lot of messages which don't stop. the message is : qmail : number ** warning : unable to stat mess/2/54029 the ** always changes. are there anyone of you have been in this situation??? thx. regards. Muhammad Yusuf.
Square brackets in Received: header
Is there an easy way to get qmail to use square brackets for the IP address in Received: headers? E.g. Received: from xxx [209.61.156.95] by x instead of Received: from xxx (209.61.156.95) by x -- Klaus Johannes Rusch [EMAIL PROTECTED] http://www.atmedia.net/KlausRusch/
urgent help required
hello friends i am using qmail-ldap patch i want to store incoming mails for [EMAIL PROTECTED] on more then one mail host using mailhost attribute of qmail-ldap exapmple : atteributes like in following case host1 7 host is also running qmail MailMessageStore Mailhost but its not working for say "user1" have id "[EMAIL PROTECTED]" with MailMessageStore : /home/user1/email/Maildir Mailhost : Host1 and "USER2" have ID "[EMAIL PROTECTED] " with MailMessageStore : /home/USER2/email/Maildir Mailhost : host2 both these are virtual users and does`t have system account , they are there in LDAP , have ~/control/ldapuid ~/control/ldapgid having uid and gid of one system user that i have created just to specify here (in ldapuid,ldapgid control file) this user owns home directory of all the users who doent have system account and just have LDAP account with warmest regards thanks a lot Prashant Desai
assign problem supplemental
Hi, seems as If my description did not get the point of my problem. Give me a second try: My /var/qmail/users/assign is this +allesrabe-de:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut::: =haribeau:popuser:500:100:/var/qmail/popboxes/linuxlupe-de/haribeau::: =neo:popuser:500:100:/var/qmail/popboxes/linuxlupe-de/haribeau::: +wetterbestellung-de:popuser:500:100:/var/qmail/popboxes/wetterbestellung-de /default::: . the first line delivers any Mail to @allesrabe.de into the Mailbox as specified the second and third line creats mail aliases for my local domain (linuxlupe.de). This also works. the mails are delivered perfect in the specified mailboxes. the fourth line delivers any mail to @wetterbestellung.de into the specified Mailbox. so far so good. What I now want to do is being able to create several virtual users for my virtual domain allesrabe.de (as ist works yet for my local domain - see second and third line in the config file above). for this reason my /var/qmail/control/virtualdomains looks like this: allesrabe.de:allesrabe-de wetterbestellung.de:wetterbestellung-de So I expected that when I change the first Line in my assign file from (as above): +allesrabe-de:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut::: to =allesrabe-de-info:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:: : only the mails adressed to [EMAIL PROTECTED] should be delivered to helmut's mailbox, korrekt? But this is not the case. after inserting this line no mail to [EMAIL PROTECTED] is delivered anywhere. No errormessages or undelivery mails are send neither. wildcard assignment works if I try this: +allesrabe-de-inf*:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:: : now [EMAIL PROTECTED] is delivered to helmuts box, as everything inf**@allesrabe is. a wildcard assignment as follows is _not_ delivered: +allesrabe-de-info*:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut: :: I really do not get the point where I am wrong. I rebuilt the database after any change and for sure I restarted sendmail after changing my virtualdomains file. It would be great if anyone could help me thanks in advance Clemens
(Time?)Problem with qmail/pop3d
Hello All, i think i have a time Problem. I send a mail to a user on the Mailservers. When i connect to the Mailservers Pop3 it don't shows me my Mails. (stat 0 0) After 2 or 3 hours i can download my mails via Pop3, when i telnet at this time to the pop3 server and do a stat and a list after the login, the server moves the mails from "new" to "cur" (no permission problem). I did a strace and it dont't tell me anything wrong.connection to the MySql (auth.) and change to the Maildir (/content/data/vpopmail/domains/dom.ain/jb/Maildir/new) and so on. I use qmail 1.0.3 with vpopmail 4.8.9 on 3 SuSE 6.4 Servers (2Mailserver 1 NFSServer) I'll start qmail with. tcpserver -H -R 0 110 /var/qmail/bin/qmail-popup test1.otherdom.ain /content/data/vpopmail/bin/chkpw /var/qmail/bin/qmail-pop3d ./Maildir/ & Send a Mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] Mailservers are test1.otherdom.ain and test2.otherdom.ain Local time was 13:21 CEST /Germany/Berlin testmail- Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: (qmail 3574 invoked by uid 7770); 21 Aug 2000 11:29:18 - Received: from mailgate.hz-online.de (HELO hz-online.de) by eth0.test1.otherdom.ain with SMTP; 21 Aug 2000 11:29:18 - Received: by mailgate.hz-online.de id <118083>; Mon, 21 Aug 2000 13:27:50 +0200 Date: Mon, 21 Aug 2000 13:21:55 +0200 From: root <[EMAIL PROTECTED]> Message-Id: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Mail Nr 5 from 1 test testmail- Where did qmail get his Timezone?? Its CEST on the Servers. It's possible that qmail-pop3d ignores the Mails until the Time is correct a ls -l on the Maildir "new" -rw--- 1 vpopmail vchkpw589 Aug 21 2000 966856785.30760.test2,S=589 -rw--- 1 vpopmail vchkpw599 Aug 21 2000 966857359.3577.test1,S=599 ; thats the example above -rw--- 1 vpopmail vchkpw602 Aug 21 2000 966857359.3580.test1,S=602 -rw--- 1 vpopmail vchkpw602 Aug 21 2000 966857359.3582.test1,S=602 Have a nice Day and keep cool. Best regards Joachim (qmail is hot) Bozler ;-)) -- Joachim Bozler Pressehaus Heidenheim online Tel. +49 7321.347-227 Fax. +49 7321.347-368 [EMAIL PROTECTED]
RE: urgent help required
Hi Prashant As said in my last e-mail, I haven't used LDAP before so I can't really help you out there. The system we use is large and complex, and the documentation just to help us understand it already totals 13 pretty intensive pages, not including the prerequisite readings which is the NIS and NFS HOWTO's, and also presuming some knowledge from the NET-3 HOWTO, the qmail FAQ, Life with qmail... So our system is big and to even begin to explain how it works is pretty complex. For your situation, unless you REALLY want to redesign your whole mail strategy, then I would recommend either delivering mail 'locally' to a folder which is actually an NFS share from the mailhost (ie in assign/users or /etc/passwd, the home folder on mail.domain.com would be, say, /nfs/user which is ACTUALLY stored on mailhost1.domain.com.) This SHOULD work with LDAP. No guarantees though, I use NIS. If this is too complex then otherwise use aliases (.qmail files or fastforward) as stated previously. /BR Manager InterPlanetary Solutions http://ipsware.com/ > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 21, 2000 5:51 PM > To: [EMAIL PROTECTED] > Subject: urgent help required > > > > hi brett > > Thanks a lot for guiding me in the right direction , > > my ldap entries are as follows > > mail: [EMAIL PROTECTED] > HomeDirectory : /home/user > qmailuid : 1010 ( uid of system user same for all the users as well as > same as ~control/ldapuid ) > qmailgid :1010 (gid of system same for all the users as well > as same as > ~control/ldapgid ) > >mailhost : server1.domain.com ( this is the mechine where i want to > store mails for users in their respective maildir ) > >i will have 2-3 mechines on which i have installed qmail that i want to > specify as a value for mailhost attribute depending on diff users list, > > > > now my MX = mail.domain.com, local = empty , rcpt = domain.com > if some one sent a mail to [EMAIL PROTECTED] , then > now i want that after accepting the mails from internet this mechine ( my > MX=mail.domain.com ) will check ldap entries for users ,and will get value > of mailhost attribute which in this case is server.domain.com ,which is > the mailhost for perticular mail id/user , so that ,this mechine > (MX=mail.domain.com) will send that mail to server1.domain.com which has > the /home/user/Maildir > > server1.domain.com , local=domain.com ,rcptto=domain.com > > > is this possible ? how ? am i thinking in right direction , > > any way what is the fuction of Mailhost attribute in qmail-ldap senerio > , how exactly it effects qmail ? > > > thanks a lot , once again > regards > Prashant Desai > > >
Re: qmail and IP addresses.....
On Sat, Aug 19, 2000 at 11:57:47PM -0400, Russell Nelson wrote: > It could be done for outgoing, but nobody has written such a patch. http://www.qmail.org/outgoingip.patch ? :) > For what it's worth, Dan Bernstein says that it's frivolous. FWIW, I disagree :) Regards, james -- James Raftery (JBR54) - Programmer Hostmaster - IE TLD Hostmaster IE Domain Registry - www.domainregistry.ie - (+353 1) 706 2375 "Managing 4000 customer domains with BIND has been a lot like herding cats." - Mike Batchelor, on [EMAIL PROTECTED]
Re: qmail uses FQDN when sending from PHP
PHP use's host+domainname. When sending mail from PHP I use something like this. Sean Truman www.prodigysolutions.com [EMAIL PROTECTED] --- PHP starts here \n"; } else { $recv = fgets($sock,1024); fputs ($sock, "HELO $mail_from\n"); $recv = fgets($sock,1024); fputs ($sock, "MAIL FROM:<$mail_from>\n"); $recv = fgets($sock,1024); fputs ($sock, "RCPT TO:<$rcpt_to>\n"); $recv = fgets($sock,1024); fputs ($sock, "DATA\n"); $recv = fgets($sock,1024); fputs ($sock, "From: \"$mail_from_name\"<$mail_from>\r\n"); fputs ($sock, "To: \"$rcpt_to_name\"<$rpct_to>\r\n"); fputs ($sock, "Subject: $subject\r\n"); fputs ($sock, "\r\n$message\r\n"); fputs ($sock, "\r\n.\r\n"); $recv = fgets($sock,1024); fputs ($sock, "QUIT\r\n"); $recv = fgets($sock,1024); fclose($sock); } ?> --- PHP ends here - Original Message - From: Andrew Richards <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, August 21, 2000 7:07 AM Subject: Re: qmail uses FQDN when sending from PHP > Jim, > > Hmm. It's not clear where your confusion lies. However, you may like > to set control/defaulthost (that's normally /var/qmail/control/defaulthost); > here's the section of the qmail-inject man page: > . defaulthost > .Default host name. Default: me, if that is supplied; > .otherwise the literal name defaulthost, which is > .probably not what you want. qmail-inject adds this > .name to any address without a host name. defaulthost > .need not be the current host's name. For example, > .you may prefer that outgoing mail show just your > .domain name.
Re: qmail uses FQDN when sending from PHP
Jim, Hmm. It's not clear where your confusion lies. However, you may like to set control/defaulthost (that's normally /var/qmail/control/defaulthost); here's the section of the qmail-inject man page: . defaulthost .Default host name. Default: me, if that is supplied; .otherwise the literal name defaulthost, which is .probably not what you want. qmail-inject adds this .name to any address without a host name. defaulthost .need not be the current host's name. For example, .you may prefer that outgoing mail show just your .domain name.
RE: FW: qmail domain heiarchy
> Hint: > > smtp and pop3 are not valid answers. If implemented well, and smartly, they can work (as I have done)...took me about three weeks, but the system is secure, efficient, low bandwidth and user-friendly. For internal mail to [EMAIL PROTECTED], the e-mail is attempted to be sent locally. If not possible, it is sent to our main relay. This in itself cuts down bandwidth. External mail to [EMAIL PROTECTED] is sent to our main relay, which then delivers the mail via NFS to a user as if it was local. Save the extra Delivered-to and relay lines in the mail. Less bandwidth, less confusion. The system is fairly complex in setup, but it is modulised so if something goes wrong, it is easy to hunt it down... Well I don't know if that helps anyone but it might encourage you that with qmail (and a bit of thought ;> ) anything is possible... /BR Manager InterPlanetary Solutions http://ipsware.com/ > -Original Message- > From: John White [mailto:[EMAIL PROTECTED]] > Sent: Sunday, August 20, 2000 9:30 AM > To: qmail mailing list > Subject: Re: FW: qmail domain heiarchy > > > On Sat, Aug 19, 2000 at 01:52:35PM -0500, Barry Smoke wrote: > > >Who is they? The remote schools? All connections? How "dedicated" > > >is a connection which is often down? > > > > remote schools... > > Ok. > > > I would like to have some sort of system that catches mail to > this server, > > checks the headers against a list of local users(take one of > our elementary > > schools for examplea list of 20 teachers on stored on the > proxy that the > > mail is checked against) if mail matches a user, deliver it to > said user via > > a qmail process on local proxy. > > I really just don't understand what you mean here. > > > Basically I'm wondering if I can cluster the main bryant.k12.ar.us qmail > > server out with processes on the proxy serversomehow. > > > > If one node is undetected...no prob...all other mail is delivered > > normallyqueued mail is delivered when connection is back up > > It sounds like what you might want to do is put a qmail server on > each of the servers at each of the location. Make the terminal > delivery point for each teacher the qmail server at his location. > > It's pretty simple, then, to make a .qmail entry for each teacher > at a remote location, forwarding mail the qmail server for that > location. > > For example, if teacherA is at schoolN, this would be put in > bryant.k12.ar.us's mx: > > ~teacherA/.qmail: > > &[EMAIL PROTECTED] > > > > >i would like to do this without running other domains > > Not quite sure what you mean by that. > > > >I'm not sure how you want each person at each school to receive mail. > > > ??? pop3, smtp > > Oh, in that case, just have the mail delivered by smtp. The > teachers can then retrieve their mail via pop3. > > I'm asking whether you want teachers at remote locations to > have their mail delivered to a local qmail server so mail > can be retrieved during a network connection outage, or whether > having the mail at a single qmail server which would require > the network connection being up to check mail. > > In other words, you seem to have a specific path of delivery > in mind. What the hell is it? > > > John White >
RE: SMTP port 25
Running on anything other than port 25 is pretty silly considering that all applications and all mail relays attempt to deliver to port 25 on every mail server in the world...Internally, you could do it, but why? If you need to proxy port 25 to some other port, try searching on freshmeat for redir (what we use). We have one machine here which our router routes all internet viewable IP addresses to (it has an internal IP address which the router refers to, and the ethernet interface accepts packets for all the IP addreses we use (running Linux). ie eth0 would be 10.0.0.2, eth0:1 would be 99.99.99.1, eth0:2 would be 99.99.99.2, etc), and we can control what ports on what IP addresses go where internally (so everything else is virtually closed and secure). This also means that if we need to change a machine's functionality or move a mail server to a different machine, we can simply change an IP address on our port forwarding machine and its done - no external DNS and TTL hell to live through... You COULD alternately try ipmasqadm with ipchains but I haven't had any luck with port forwarding this yet... /BR Manager InterPlanetary Solutions http://ipsware.com/ > -Original Message- > From: Lavender [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 22, 2000 4:19 AM > To: [EMAIL PROTECTED] > Subject: SMTP port 25 > > > > Hi, > > Just wonder if anybody had successfully run SMTP on port other than the > defined 25 ??? > > Is there a proxy for SMTP > > Thanks > kayleigh > > >
SMTP port 25
Hi, Just wonder if anybody had successfully run SMTP on port other than the defined 25 ??? Is there a proxy for SMTP Thanks kayleigh
RE: friends very urgent help required
Prashant, I'd echo Brett's sentiment - whatever advice you get from this list is free, so I think its readers don't appreciate message that hassle them. Anyway, another approach, depending on your setup (as Brett says, you're not helping by not telling us much about your setup), you may wish to configure the Internet-visible (MX) machine to accept mail for domain.com (i.e. put this in rcpthosts), but not attempt to deliver it locally (i.e. ensure the domain is *not* in locals or virtualdomains). Then have this MX machine use a private DNS which has MX entries for your "Real" mail servers. Alternatively, you can use smtproutes to point to *one* real mail server only. A machine like this is basically an SMTP relay for domain.com. I suspect Dave Sill's Life with qmail (see the qmail web page) touches on this subject. cheers, Andrew. -- From: Brett Randall[SMTP:[EMAIL PROTECTED]] Sent: 21 August 2000 09:56 To: [EMAIL PROTECTED]; qmail Subject:RE: friends very urgent help required OK I will reply but the reason noone else has ie largely because of the time in most of the world at the moment, and the fact that you included virtually NO configuration information (eg what is in virtualdomains, locals, rcpthosts, sample LDAP entry, sample users/assign entry...all of these help out somewhat). BEST way of doing this as far as I can see (I have never used LDAP, only NIS which IMHO is a little easier to understand and implement, albeit insecure by default) is to not even have those system users on your main server. Have aliases (either use .qmail-user files or fastforward) forward to [EMAIL PROTECTED], and MAKE SURE that server.domain.com is NOT listed in locals, and IS listed in rcpthosts (you need to receive for that domain so you can relay it, but if it is in locals then you will get that error described below where it says mailbox not found). Also - qmail will probably do an MX lookup on server.domain.com to see where to deliver mail to (depends how you've set qmail up). If it does, then you will need an 'A' entry in your DNS to point to server.domain.com as the MX record for server.domain.com. Otherwise just set up qmail to send using FQDN (sorry, I can't remember how...It is in one of the FAQs or HOWTOs or docs on www.qmail.org). Good luck, please type slower next time, and if possible (I don't mean any offense), a little more practise at english would help us all out to help you. /BR Manager InterPlanetary Solutions http://ipsware.com/ >hello friends > >i am running qmail-1.03 applied qmail-ldap-2000601.patch , > > i have only single domain , with around 200,000 users , now i want that > mails for : [EMAIL PROTECTED] will gets forwaded to > [EMAIL PROTECTED] > > > , > > i have specified this in ldapmailforwarding attribute , > but log shows no > > > mailbox by that name , do i need some entry in my ldap which matches this > [EMAIL PROTECTED] mail address ,i already have entry for > [EMAIL PROTECTED] with mailforwarding address as usererver1.domain, > > > what i wanna achive is once mails accepted by my single mail > server which > > > i have specified in MX , then this mail server should forward > mails for [EMAIL PROTECTED] to host [EMAIL PROTECTED] or > [EMAIL PROTECTED] depending users ldap entries > ,and store the > message there in "Maildir" for this perticular user > > > how can i achive , or is there any other work around , please > reply me as > > > early as possible > > thanks > Prashant Desai
Re: assign problem
> Clemens, Hi Andrew, > I think the answer to your problem is to change the line in > your users/assign, > > +domain-com:username:uid:gid:userhomedir::: > > to, > > +domain-com:username:uid:gid:userhomedir:-:: hmmm, the "+domain-com:username:uid:gid:userhomedir:::" version works fine. the "=domain-com-user:username:uid:gid:userhomedir:::" does not (equations at the beginning of the line). sorry if I posted my question not clear enough ;-) my problem is that I want to deliver 5 different mailadresses belonging to one virtual domain to 5 different mailboxes. I ment this: =domain-com-user1:username:uid:gid:user1homedir::: =domain-com-user2:username:uid:gid:user2homedir::: =domain-com-user3:username:uid:gid:user3homedir::: =domain-com-user4:username:uid:gid:user4homedir::: =domain-com-user5:username:uid:gid:user5homedir::: the home dirs exist I do not get an error message bot the Mail is not delivered. What works perfectly (as I described in detail in my first mail) is the delivery a la +domain-com:username:uid:gid:user1homedir::: but this way one user gets any mail for the complete domain, what is not expected. Next question: when I send a mail to [EMAIL PROTECTED] the sender does not get an undelivery message as he would if domain.com was not virtual but local. That's bad. Can I collect any non-deliverable messages in one Box? > I'm not completely sure, however... (over to the people > who *really* understand users/assign...) thanks anyway ;-) > cheers, Clemens
qmail Digest 21 Aug 2000 10:00:01 -0000 Issue 1099
qmail Digest 21 Aug 2000 10:00:01 - Issue 1099 Topics (messages 47042 through 47070): Re: why they reject my mail 47042 by: Alexander Jernejcic 47045 by: Ricardo Cerqueira 47049 by: Scott D. Yelich qmail and MRTG 47043 by: pgracia.amira.es 47046 by: Magnus Bodin 47048 by: Sean C Truman 47069 by: pgracia.amira.es Cluster Was logselect 47044 by: Sean C Truman urgetnt help ! 47047 by: prashant Re: Queue Time 47050 by: richard.illuin.org Re: Linux Mandrake qmail packages available 47051 by: Vincent Danen 47062 by: Gerrit Pape php maildir support 47052 by: Thilo Bangert /var/qmail/users/assign 47053 by: jme assign problem 47054 by: Clemens Hermann 47070 by: Andrew Richards qmail uses FQDN when sending from PHP 47055 by: J!M 47056 by: Alexander Pennace 47058 by: J!M newbie maildir question 47057 by: J!M 47059 by: Charles Warwick 47060 by: Ben Beuchler urgent help required 47061 by: reach_prashant.zeenext.com RFC2487 TLS authenticated SMTP relay 47063 by: Jamie Heilman 47064 by: Krzysztof Dabrowski 47065 by: Jamie Heilman very urgent help required 47066 by: reach_prashant.zeenext.com friends very urgent help required 47067 by: reach_prashant.zeenext.com 47068 by: Brett Randall Administrivia: To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To subscribe to the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- hi, some MTA's check the ip of the sending MTA against the name with a reverse lookup. IMHO you should send your mails via the MTA of you ISP. just put the following line into ~/qmail/control/smtproutes :mailserver.your.isp and qmail will happily send all mails to the mailserver of your isp. this one should be known worldwide. hope that helps :) alexander > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 19, 2000 10:30 PM > To: [EMAIL PROTECTED] > Subject: why they reject my mail > > > Hi > Sometimes when I send mail to different people a few messages > are coming back to me as not sent. The reason is I guess everytime > the same (although the qmail's messages differ a little bit). > And these qmail's notes are like these two: > Connected to xxx.xx.xx.xx but sender was rejected. Remote host said: > 501 <[EMAIL PROTECTED]> ... Sender domain must exist. > Connected to xxx.xxx.xxx.xxx but sender was rejected. Remote host said: > 553 5.4.3 Policy analysis reports DNS error with your source domain. > I do not understand this. Most of my messages is posted without any > problems. Always I edit mail in mutt and I use option "edit headers" > to be able to send e-mails to for example this list. I do not have > my own domain name because I connect to internet via modem and rather > seldom. So how is it possible that some hosts know my real FQDN > (although I edit headers of my all messages) and why they reject > my e-mails? And others do not do it - why? And maybe some of you > know what can I do to fix this problem with domain name. > Thank you for help, > qba > > It seems to be a problem with your MTA. From the headers of your mail: Delivered-To: mailing list [EMAIL PROTECTED] Received: (qmail 23709 invoked from network); 20 Aug 2000 09:55:19 - Received: from pa34.legnica.ppp.tpnet.pl (HELO localhost.localdomain) ([EMAIL PROTECTED]) Your host is identifying itself as localhost.localdomain. RC On Sun, Aug 20, 2000 at 12:22:26PM +0200, Alexander Jernejcic wrote: > hi, > some MTA's check the ip of the sending MTA against the name with a reverse lookup. >IMHO you should send your mails via the MTA of > you ISP. just put the following line into ~/qmail/control/smtproutes > :mailserver.your.isp > and qmail will happily send all mails to the mailserver of your isp. this one should >be known worldwide. > > hope that helps > :) alexander > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, August 19, 2000 10:30 PM > > To: [EMAIL PROTECTED] > > Subject: why they reject my mail > > > > > > Hi > > Sometimes when I send mail to different people a few messages > > are coming back to me as not sent. The reason is I guess everytime > > the same (although the qmail's messages differ a little bit). > > And these qmail's notes are like these two: > > Connected to xxx.xx.xx.xx but sender was rejected. Remote host said: > > 501 <[EMAIL PROTECTED]> ... Sender domain must exist. > > Connected to xxx.xxx.xxx.xxx but sender was rejected. Remote host said: > > 553 5.4.3 Policy analysis reports DNS error with your source domain. > > I do not understand this
RE: assign problem
Clemens, I think the answer to your problem is to change the line in your users/assign, +domain-com:username:uid:gid:userhomedir::: to, +domain-com:username:uid:gid:userhomedir:-:: I'm not completely sure, however... (over to the people who *really* understand users/assign...) cheers, Andrew. -- From: Clemens Hermann[SMTP:[EMAIL PROTECTED]] Sent: 21 August 2000 04:14 To: Qmail Mailinglist Subject:assign problem Hi, I have been working on a strange qmail-assign Problem the whole night and hope someone can help me ;-) qmail runs and works fine all lines in qmail/control/virtualdomains are like this: domain1.com:domain1-com domain2.com:domain2-com domain3.com:domain3-com .. my problem is located in the /qmail/users/assign file +domain-com:username:uid:gid:userhomedir::: works perfect. any mail to [EMAIL PROTECTED] gets delivered to the home directory specified in /users/assign. but when I want to split the mailstream to different users and specify mailadresses (info for example) as follows nothing works. =domain-com-info:username:uid:gid:userhomedir::: the only difference between those to "versions" is the + or = at the beginning of the line and the "-info" existing or not! I want to get all mails adressed to [EMAIL PROTECTED] being delivered to info's home dir. when I use +domain-com-inf:username:uid:gid:userhomedir::: it works, but then I can append whatever I want to inf ([EMAIL PROTECTED])and this is for sure not the way I am expected to solve the problem (am I?) I updated the database after any changes. there is no error in syslog, I get no undelivery message but the message is not delivered to the users Maildir. I specified different users for the "real" (=not virtual) domain of my host and everything works perfect. I have 4 users and anyone gets his mail as expected in his distinct mailbox. But with the virtual domains only a "evberything to one user" methode works. thanks for your help Clemens
Re: qmail and MRTG
>The one present at http://x42.com/qmail/ >are still only for cyclog so you should definitively have a chance. > >Does the script run from crontab have reading rights? > >/magnus The mail logs are owned by qmaill user. I ran the script from qmaill and also from root with no luck at all. Even when I use the command line "qmail-mrtg-concurrency /var/log/qmail" I got 0 0. This is how cyclog is invoked... 502 ? S 0:00 supervise /var/lock/qmail qmail-start ./Maildir/ accustamp qmail 503 ? S 0:00 cyclog -s 100 -n 10 /var/log/qmail Any idea? Paco Gracia Director Técnico Amira Sistemas
RE: friends very urgent help required
OK I will reply but the reason noone else has ie largely because of the time in most of the world at the moment, and the fact that you included virtually NO configuration information (eg what is in virtualdomains, locals, rcpthosts, sample LDAP entry, sample users/assign entry...all of these help out somewhat). BEST way of doing this as far as I can see (I have never used LDAP, only NIS which IMHO is a little easier to understand and implement, albeit insecure by default) is to not even have those system users on your main server. Have aliases (either use .qmail-user files or fastforward) forward to [EMAIL PROTECTED], and MAKE SURE that server.domain.com is NOT listed in locals, and IS listed in rcpthosts (you need to receive for that domain so you can relay it, but if it is in locals then you will get that error described below where it says mailbox not found). Also - qmail will probably do an MX lookup on server.domain.com to see where to deliver mail to (depends how you've set qmail up). If it does, then you will need an 'A' entry in your DNS to point to server.domain.com as the MX record for server.domain.com. Otherwise just set up qmail to send using FQDN (sorry, I can't remember how...It is in one of the FAQs or HOWTOs or docs on www.qmail.org). Good luck, please type slower next time, and if possible (I don't mean any offense), a little more practise at english would help us all out to help you. /BR Manager InterPlanetary Solutions http://ipsware.com/ >hello friends > >i am running qmail-1.03 applied qmail-ldap-2000601.patch , > > i have only single domain , with around 200,000 users , now i want that > mails for : [EMAIL PROTECTED] will gets forwaded to > [EMAIL PROTECTED] > > > , > > i have specified this in ldapmailforwarding attribute , > but log shows no > > > mailbox by that name , do i need some entry in my ldap which matches this > [EMAIL PROTECTED] mail address ,i already have entry for > [EMAIL PROTECTED] with mailforwarding address as usererver1.domain, > > > what i wanna achive is once mails accepted by my single mail > server which > > > i have specified in MX , then this mail server should forward > mails for [EMAIL PROTECTED] to host [EMAIL PROTECTED] or > [EMAIL PROTECTED] depending users ldap entries > ,and store the > message there in "Maildir" for this perticular user > > > how can i achive , or is there any other work around , please > reply me as > > > early as possible > > thanks > Prashant Desai
friends very urgent help required
-- Forwarded message -- From: [EMAIL PROTECTED] Date: Mon, 21 Aug 2000 4:32:24 AST Subject: very urgent help required -- Forwarded message -- From: [EMAIL PROTECTED] Date: Mon, 21 Aug 2000 2:05:00 AST Subject: urgent help required hello friends i am running qmail-1.03 applied qmail-ldap-2000601.patch , i have only single domain , with around 200,000 users , now i want that mails for : [EMAIL PROTECTED] will gets forwaded to [EMAIL PROTECTED] , i have specified this in ldap mailforwarding attribute , but log shows no mailbox by that name , do i need some entry in my ldap which matches this [EMAIL PROTECTED] mail address , i already have entry for [EMAIL PROTECTED] with mailforwarding address as usererver1.domain, what i wanna achive is once mails accepted by my single mail server which i have specified in MX , then this mail server should forward mails for [EMAIL PROTECTED] to host [EMAIL PROTECTED] or [EMAIL PROTECTED] depending users ldap entries ,and store the message there in "Maildir" for this perticular user how can i achive , or is there any other work around , please reply me as early as possible thanks Prashant Desai
very urgent help required
-- Forwarded message -- From: [EMAIL PROTECTED] Date: Mon, 21 Aug 2000 2:05:00 AST Subject: urgent help required hello friends i am running qmail-1.03 applied qmail-ldap-2000601.patch , i have only single domain , with around 200,000 users , now i want that mails for : [EMAIL PROTECTED] will gets forwaded to [EMAIL PROTECTED] , i have specified this in ldap mailforwarding attribute , but log shows no mailbox by that name , do i need some entry in my ldap which matches this [EMAIL PROTECTED] mail address , i already have entry for [EMAIL PROTECTED] with mailforwarding address as usererver1.domain, what i wanna achive is once mails accepted by my single mail server which i have specified in MX , then this mail server should forward mails for [EMAIL PROTECTED] to host [EMAIL PROTECTED] or [EMAIL PROTECTED] depending users ldap entries ,and store the message there in "Maildir" for this perticular user how can i achive , or is there any other work around , please reply me as early as possible thanks Prashant Desai
Re: RFC2487 TLS authenticated SMTP relay
Krzysztof Dabrowski wrote: > > they are :) SMTP AUTH is documented in ESMTP RFC (forgot the number). Ah, well TLS still has a higher "swank factor". ;) Though maybe if none of this works out due to client bugs I can go that route assuming the auth handshake happens after switching to TLS. (Which I can't imagine why it wouldn't, though I wonder if I can enforce that.) I think I'll go scrounge that rfc up. Mmmm, 2554. All praise Magnus and rfc.x42.com. ;) -- Jamie Heilman http://wcug.wwu.edu/~jamie/ "You came all this way way without saying squat and now you're trying to tell me a '56 Chevy can beat a '47 Buick in a dead quarter mile? I liked you better when you weren't saying squat kid." -Buddy
Re: RFC2487 TLS authenticated SMTP relay
>that using TLS seemed so much cooler. I haven't tried the "Authenticated" >SMTP patches, I get the feeling that those methods aren't really standards >drivin. (anyone?) So that being said ... they are :) SMTP AUTH is documented in ESMTP RFC (forgot the number). Kris
RFC2487 TLS authenticated SMTP relay
So I applied the RFC2487 patch from Frederik Vermeulen, and it works really well from what testing I've done at allowing SSL tunnels between MTAs. I haven't had any problems with that functionality. Now I'm trying to use the client authentication aspect of the patch to provide for authenticated relaying. The good news is that it works great with Netscape Communicator. The bad news is that I can't make Outlook Express work at all. The really bad news is that I /need/ Outlook Express to work. For starters, if there's interest I could probably be persuaded to write up a HOWTO on how I got all this configured and [mostly] working. But for now here's my setup and the problem I'm running into: Let me start by saying that my goals here do not include digital signatures on my outgoing mail for verification purposes. All I wanted to do was to open my relay to roaming users who are forced to work under ISPs that enforce (IMO) draconian From header policies. (I understand their arguments, but *I* wouldn't pay for that kind of service.) I don't really like the POP before SMTP concept, its not that it wouldn't work for me, its just that using TLS seemed so much cooler. I haven't tried the "Authenticated" SMTP patches, I get the feeling that those methods aren't really standards drivin. (anyone?) So that being said ... I've managed to cook myself up my own CA. I added this cert to Netscape's and IE's known root authorities. I then proceeded to cook up a self signed cert for qmail. No probs there, infact I can send mail over SSL from my private network which is allowed to relay through my masquerading firewall/mail server. So then I added my CA's cert to control/clientca.pem, I figure as I only want people I've OK'd to relay through me the only CA I'll verify is my own. I added my email address to control/tlsclients as per directions from Fredrik's patch. Next I cooked up a personal cert for me (signed by my CA), converted it to pkcs#12, and installed it into Netscape's personal cert db, then into IE's. "Simple" right? Next I tried to send a message from each client. Navigator pops up this quaint little window that says "The site 'audible.transient.net' has requested a client authentication." Then it lets you inspect the server's cert, choose a client cert of your own, and continue or cancel. Pretty slick... it'd be nice if it didn't ask me which cert to use every time I sent a message, but then seeing as it actually works I'm not going to complain too loudly. The message gets relayed correctly, the headers include information about the encryption and relay user exactly like Frederik said they would. Outlook Express (5.50.4133.2400) however just craps itself with the following: Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Subject 'microsoft sucks', Account: 'testing', Server: 'audible.transient.net', Protocol: SMTP, Port: 25, Secure(SSL): Yes, Error Number: 0x800CCC0F The error number (from the M$ knowledge base) is like "connection closed" or something like that. When I turn on Outlooks SMTP logging I see: SMTP: 07:08:39 [rx] 220 audible.transient.net ESMTP SMTP: 07:08:39 [tx] EHLO stinkfoot SMTP: 07:08:39 [rx] 250-audible.transient.net SMTP: 07:08:39 [rx] 250-PIPELINING SMTP: 07:08:39 [rx] 250-STARTTLS SMTP: 07:08:39 [rx] 250 8BITMIME SMTP: 07:08:39 [tx] STARTTLS SMTP: 07:08:39 [rx] 220 ready for tls SMTP: 07:08:39 [tx] HELO stinkfoot SMTP: 07:08:39 [rx] 250 audible.transient.net SMTP: 07:08:39 [tx] MAIL FROM: <[EMAIL PROTECTED]> SMTP: 07:08:39 [rx] 250 ok SMTP: 07:08:39 [tx] RCPT TO: <[EMAIL PROTECTED]> And thats it. Thats the last thing in the log, which makes me think that perhaps Outlook Express just can't handle the client cert negotiation and bombs out? I don't really know. Seeing as its all encrypted by that point I can't really sniff the wire. So the question of the day - has anyone else run into this, and more importantly figured out a way around it? Frankly I think TLS authenticated relays would be an incredibly snazzy way to handle roaming users, if only I could make it work with the mail clients that would be using it! -- Jamie Heilman http://wcug.wwu.edu/~jamie/ "It's almost impossible to overestimate the unimportance of most things." -John Logue
Re: Linux Mandrake qmail packages available
On Fri, Aug 18, 2000 at 10:21:53AM -0600, Vincent Danen wrote: > change (once I get DJB's blessing I hope!). The following packages are > part of the package: > > qmail-1.03-7mdk.i386.rpm > daemontools-0.70-3mdk.i386.rpm > dot-forward-0.51-2mdk.i386.rpm > fastforward-0.51-2mdk.i386.rpm > ucspi-tcp-0.88-3mdk.i386.rpm > Hello Vincent, I did not look at Your packages yet, but three things: o http://cr.yp.to/qmail/var-qmail.html says: > A var-qmail package does not set up qmail to receive and deliver mail. A > user has to follow the instructions in > /var/qmail/doc/fastforward/ALIASES and in /var/qmail/doc/INSTALL starting at > step 9: I do not see a qmail-run rpm, it seems, the qmail-packages sets up qmail as MTA. o You included man-pages in daemontools and ucspi-tcp packages. Put them in extra packages. o there allready are qmail rpms? Gerrit. -- [EMAIL PROTECTED] innominate AG networking people tel: +49.30.308806-0 fax: -77http://innominate.de