Big Problem with virtualdomains, qmail mustn't rewrite recipient !
Hi Folks, i have come across a big problem : my virtualdomains file : schock-bad.de:schockbad burgbad-service.de:schockbad Well, when i send mail to [EMAIL PROTECTED] , qmail rewrites the header to : Delivered-To: [EMAIL PROTECTED] it should be : Delivered-To: [EMAIL PROTECTED] All mail for schock-bad.de and burgbad-service.de should be collected within only one maildir, because schock-bad.de uses a windows-nt mailserver that can only retrieve mail from ONE pop3 ! How can i "tell" qmail not to rewrite the header ? Thanks for your help, Thomas PS : I'm looking forward to the qmail-book :-)
Re: Big Problem with virtualdomains, qmail mustn't rewrite recipient !
On Fri, Jan 21, 2000 at 09:08:33AM +0100, Puck wrote: Hi Folks, i have come across a big problem : my virtualdomains file : schock-bad.de:schockbad burgbad-service.de:schockbad Well, when i send mail to [EMAIL PROTECTED] , qmail rewrites the header to : Delivered-To: [EMAIL PROTECTED] it should be : Delivered-To: [EMAIL PROTECTED] Says who? The virtualdomains entry for burgbad-service.de tells qmail to deliver the mail locally to schockbad-info, and that's what you see in the Delivered-To header. All mail for schock-bad.de and burgbad-service.de should be collected within only one maildir, because schock-bad.de uses a windows-nt mailserver that can only retrieve mail from ONE pop3 ! And so it will be delivered into one Maildir, if you have an empty ~schockbad/.qmail-default. How can i "tell" qmail not to rewrite the header ? It doesn't rewrite it--it adds it. How is its presence hurting you? Chris
pop3 don't work and smtp work very slow
hi, all. i just installed qmail1.03 on my rh6.1. but now i got a problem. my client who running with a window98 and outlook express can't use pop3 to get his mail from rh6.1. he could send mail by smtp but very slow( it took about 2 minute to send a 100 bytes mail). could any one give me some advices? thanks! chan
RE: Big Problem with virtualdomains, QMail mustn't rewrite recipient !
Hi, I do the almost the same thing that I think you want to do, deliver all mail received to a certain pop mailbox on a different server. in virtual domains I have domain.com:domainalias and in my .qmail-domainnalias-default I have the line | forward ${DEFAULT}@subdomain.ISP.com And this works fine when there exchange server picks up there email from the pop3 account and delivers it to the right users. By sending new email to [EMAIL PROTECTED] the above causes the 'Deliver To:' field to be changed to [EMAIL PROTECTED] Hope this helps a bit Paul Trippett
Re: High-load servers...
On Fri, Jan 21, 2000 at 12:36:15PM +0800, Michael Boman wrote: I've seen someone post a question like this but didnt get a decent answer. I am looking into hosting a mailservice that will handle around 1-3 million SMTP transactions per day. What kind of hardware do I need to manage that? I also wonder if there could be a change of the queue dir so it could be shared, as then any of the mailservers in the mailcluster can take the queued file and send it, and not only the one that recived it in the first place. To deliver 1 million local inbound deliveries: I'd reccommend buying 72GB of RAID 1+0 storage. Slice off 2GB for each incoming smtp server's /var/qmail/ partition. You have a choice of sharing all the mailboxes from 1 NFS server, or splitting the storage into multiple servers, handling a fraction of the user mailboxes. Deciding which was the topic of a recent discussion. To deliver 3 million outgoing messages, I'd buy the smallest RAID 1+0 configuration I could, probably 6 9GB drives + hot spare, which gets you 27GB of storage. Create 2GB of storage for each instance of qmail you're going to create (start with one; you put the /var/qmail/ partitions here). A couple of things to try: ReiserFS on the queue partition. More than one qmail instance. Increasing the Write-Back cache on the raid controller (64MB is pretty standard). John
Re: checkpassword and ldap (was: Qmail with LDAP Auth)
Andre Oppermann wrote: You compiled your checkpassword with debugging enabled. Turn it off, recompile and install again. ok, now it should be ok. I'm using Qmail+LDAP and I can't understand how to create the correct $HOME/Maildir and set the permission for Maildir delivery. If I use /etc/passwd I should chown /home/$USER to ghe UID/GID of this user but if I use LDAP what kind of permission should I set ? TIA Andrea Verni
Re: Big Problem with virtualdomains, qmail mustn't rewrite recipient !
At 09:08 21.1.2000 +0100, you wrote: Hi Folks, i have come across a big problem : my virtualdomains file : schock-bad.de:schockbad burgbad-service.de:schockbad Well, when i send mail to [EMAIL PROTECTED] , qmail rewrites the header to : Delivered-To: [EMAIL PROTECTED] it should be : Delivered-To: [EMAIL PROTECTED] All mail for schock-bad.de and burgbad-service.de should be collected within only one maildir, because schock-bad.de uses a windows-nt mailserver that can only retrieve mail from ONE pop3 ! How can i "tell" qmail not to rewrite the header ? Thanks for your help, Thomas PS : I'm looking forward to the qmail-book :-) Hello, A: Three steps: 1. Create /var/qmail/control/virutaldomains: schock-bad.de:schockbad burgbad-service.de:schockbad 2. Create a local UNIX Account "schockbad". (a) Log in as "schockbad" and create "Mailbox" or "Maildir" (depending on you QMAIL setup) eg: maildirmake $HOME/Maildir ; echo ./Maildir/ ~/.qmail eg: touch Mailbox ; echo ./Mailbox ~/.qmail (b) Edit file .qmail-default # /home/shockbad/.qmail-default |forward [EMAIL PROTECTED] (matches your sample) -- or -- |forward "$EXT"@schock-bad.de (matches your wishes) 3. Stop QMAIL and restart (changes become activ). If you have a file /var/qmail/alias/.qmail-shock... delete it ! I'm not sure, whether you use POP3 to grep the mail from your QMAIL MTA or not. By the mechanisms shown above QMAIL does a SMTP delever to the NT-Server. Check the MX-Records for the NT-Server and your file /var/qmail/control/smtproutes. That's it! eh. +---+ | fffhh Dr. Erwin Hoffmann | | ff hh| | ffeee ccc ooomm mm mm Wiener Weg 8 | | fff ee ee hh hh cc oo oo mmm mm mm 50858 Koeln| | ff ee eee hh hh cc oo oo mm mm mm| | ff eee hh hh cc oo oo mm mm mm Tel 0221 484 4923 | | ff hh hhccc ooomm mm mm Fax 0221 484 4924 | +---+
Re: Big Problem with virtualdomains, qmail mustn't rewrite recipient !
Hi ! my virtualdomains file : schock-bad.de:schockbad burgbad-service.de:schockbad Well, when i send mail to [EMAIL PROTECTED] , qmail rewrites the header to : Delivered-To: [EMAIL PROTECTED] it should be : Delivered-To: [EMAIL PROTECTED] All mail for schock-bad.de and burgbad-service.de should be collected within only one maildir, because schock-bad.de uses a windows-nt mailserver that can only retrieve mail from ONE pop3 ! How can i "tell" qmail not to rewrite the header ? Hello, A: Three steps: 1. Create /var/qmail/control/virutaldomains: schock-bad.de:schockbad burgbad-service.de:schockbad 2. Create a local UNIX Account "schockbad". (a) Log in as "schockbad" and create "Mailbox" or "Maildir" (depending on you QMAIL setup) eg: maildirmake $HOME/Maildir ; echo ./Maildir/ ~/.qmail eg: touch Mailbox ; echo ./Mailbox ~/.qmail (b) Edit file .qmail-default # /home/shockbad/.qmail-default |forward [EMAIL PROTECTED] (matches your sample) -- or -- |forward "$EXT"@schock-bad.de (matches your wishes) 3. Stop QMAIL and restart (changes become activ). If you have a file /var/qmail/alias/.qmail-shock... delete it ! I'm not sure, whether you use POP3 to grep the mail from your QMAIL MTA or not. By the mechanisms shown above QMAIL does a SMTP delever to the NT-Server. Check the MX-Records for the NT-Server and your file /var/qmail/control/smtproutes. You missunderstood me ! I have a qmail server which runs schock-bad.de for around 5 months now. Now, there is one more domain burgbad-service.de whose mail should also be deleivered to the schock-bad maildir, keeping the original reciever ! - delivered-to: [EMAIL PROTECTED] at the moment, qmail does the following : delivered-to : [EMAIL PROTECTED] ^ this should be burgbad-service, not schockbad ! I think it's because i deliver mail for both domains into one maildir, which is owned by schock-bad ! burgbad-service has no own maildir or user, because it must be delivered to schock-bad without changing headers ! Thanks, Thomas
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
relay-ctrl 1.2 problem
I'm trying relay-ctrl 1.2 : it nearly works, but I have a little problem : when a user log himself via pop3, the ip comes in /var/control/relay-control, but /usr/sbin/relay-ctrl-age is _not_ executed. I'm wondering why... maybe you will have an idea ? It worked with the version 1.1. Qmail init : /usr/local/bin/tcpserver -v -u 1001 -g 101 -x/etc/tcp.smtp.cdb -c 100 0 smtp /var/qmail/bin/qmail-smtpd \ 21 | /var/qmail/bin/splogger smtpd 3 /usr/local/bin/tcpserver -v 0 pop3 /var/qmail/bin/qmail-popup domain.mydomain.ch \ /usr/local/bin/checkvpw /usr/sbin/relay-ctrl-allow /var/qmail/bin/qmail-pop3d Maildir \ 21 | /var/qmail/bin/splogger popupd 3 relay-ctrl-1.2/defines.h #define AGE_MINUTES 15 #define BUFSIZE 4096 #define RULESDIR "/etc" #define SPOOLDIR "/var/qmail/relay-ctrl" #define AGE_CMD "/usr/sbin/relay-ctrl-age" #define TCPRULES "/usr/local/bin/tcprules" #define SMTPRULES "tcp.smtp" #define SMTPCDB "tcp.smtp.cdb" #define SMTPFIXUP "smtp.fixup" directory /var/qmail/relay-ctrl exists, and /etc/tcp.smtp and tcp.smtp.cdb also. /usr/local/bin/tcprules is also working allright. If you have a relay-ctrl 1.2 running somewhere, I'd be happy to look at you scripts! Thanks for any hint! Olivier
Re: checkpassword and ldap (was: Qmail with LDAP Auth)
On Fri, Jan 21, 2000 at 10:02:27AM +0100, Andrea Verni wrote: Andre Oppermann wrote: You compiled your checkpassword with debugging enabled. Turn it off, recompile and install again. ok, now it should be ok. I'm using Qmail+LDAP and I can't understand how to create the correct $HOME/Maildir and set the permission for Maildir delivery. If I use /etc/passwd I should chown /home/$USER to ghe UID/GID of this user but if I use LDAP what kind of permission should I set ? Create a user for virtual users accounts, for example "popusers" belonging to a group "popgroup". Put "popusers" to the file ~control/ldapusername + + The default username used in virtual users environments + Default: NULL + Example: popusers + Note: Must be an existing username Put "popusers" user ID to the ~control/ldapuid + + The default UID used in virtual users environments + Default: NULL + Example: 1010 + Note: Must match the username, must be above 100 Put "popgroup" group ID to the ~control/ldapgid + + The default GID used in virtual users environments + Default: NULL + Example: 1010 + Note: Must match the username, must be above 100 If you want home and mail directories created automagically, put the name of a script to the file ~control/dirmaker + + Absolute path to your program/script that creates missing homedirs + Default: none (off) + Example: /var/qmail/bin/create_homedir + Note: the script is executeded after the setuid/gid, it isn't running + under root for security reasons. + The command is executed with execve not system + (so mkdir --mode=700 -p does not work!) use a shell script. + $1 is the homedir-path and $2 is aliasempty. + Possible very simple shell script: + + -cut- + #!/bin/sh + mkdir -m 700 -p $1 + #EOF + -cut- Create a directory for virtualusers mail, for example /var/qmail/popusers owned by the user "popusers". Set field mailMessageStore=/var/qmail/popusers/VirtUser.Name (replace VirtUser.Name) for every virtual user. + mailMessageStore + + Path to the maildir/mbox on the mail system + Example: /home/jdoe/ Hope this helps. Andrzej
qmail Digest 21 Jan 2000 11:00:01 -0000 Issue 887
qmail Digest 21 Jan 2000 11:00:01 - Issue 887 Topics (messages 35774 through 35855): Re: SMTP From MSN.COM ? 35774 by: Michael Boman 35775 by: Anand Buddhdev 35780 by: Sam 35781 by: Chris Johnson 35782 by: hsilver.pyx.net 35831 by: Sam [[EMAIL PROTECTED]: Re: SMTP From MSN.COM ?] 35776 by: Anand Buddhdev Corrupt to: header 35777 by: Thies Edeling (Cessnalaan) how to improve mailing lists performance 35778 by: Haifeng Guo 35789 by: Dave Sill Timezone 35779 by: Martin Renner 35784 by: Mads E Eilertsen 35788 by: Walt Mankowski 35793 by: Dave Sill 35795 by: Mads E Eilertsen 35796 by: Paul Trippett 35797 by: Scott D. Yelich 35799 by: Wolfgang Schemmel 35800 by: Mark Delany 35801 by: Dave Sill 35802 by: Scott D. Yelich 35804 by: Dave Sill 35805 by: Russell Nelson 35806 by: craig.jcb-sc.com 35807 by: Russell Nelson 35808 by: Ian Lance Taylor 35809 by: Dave Sill 35810 by: petervd.vuurwerk.nl 35811 by: Ian Lance Taylor 35812 by: Russell Nelson 35814 by: petervd.vuurwerk.nl 35816 by: Paul Trippett 35832 by: Sam 35833 by: Sam 35838 by: Walt Mankowski 35839 by: Sam forward returns hard error on "DTLINE not set" - why? 35783 by: Petr Novotny bounces 35785 by: Abel Lucano 35786 by: Anand Buddhdev 35787 by: Abel Lucano Re: POP and pine/elm 35790 by: Dave Sill Re: Help,-ERR this user has no $HOME/Maildir? 35791 by: Dave Sill Error Starting qmail-pop3d 35792 by: Andrea Verni MIME trouble or what? 35794 by: Tony Gottfridsson 35834 by: Sam Re: Maildir format 35798 by: Matthew Schnierle How do I change FROM filed of header. 35803 by: Gustavo Arjones Re: Negatives in grammar 35813 by: Len Budney 35817 by: Dave Sill 35819 by: petervd.vuurwerk.nl 35821 by: Len Budney 35825 by: Scott D. Yelich checkpassword and ldap (was: Qmail with LDAP Auth) 35815 by: Andrzej Szydlo 35818 by: Andre Oppermann 35849 by: Andrea Verni 35854 by: Andrzej Szydlo anonymous mailing lists 35820 by: Albert Hopkins 35822 by: Matthew B. Henniges 35823 by: Bruce Guenter qmail sending multi messages 35824 by: BoB Hope TimeZone patch 35826 by: Dave Stites 35827 by: Dave Sill 35830 by: Dave Stites Oslo training reminder, and discount 35828 by: Russell Nelson ORBS + MAPS + DUL 35829 by: Todd A. Jacobs 35852 by: Anand Buddhdev Cannot creating user account with an in qmailadmin 35835 by: john 35837 by: iv0 35842 by: Stephen Mills How to - Japanese version of Qmail 35836 by: john High-load servers... 35840 by: Michael Boman 35841 by: Michael Boman 35843 by: Mark Delany 35848 by: John White Big Problem with virtualdomains, qmail mustn't rewrite recipient ! 35844 by: Puck 35845 by: Chris Johnson 35847 by: Paul Trippett 35850 by: Dr. Erwin Hoffmann 35851 by: Puck pop3 don't work and smtp work very slow 35846 by: chenweih.PAIC.com.cn relay-ctrl 1.2 problem 35853 by: Olivier M. Vdeliver takes too long 35855 by: Marcelo Costa Administrivia: To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To subscribe to the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- On Thu, Jan 20, 2000 at 05:39:59AM -0500, [EMAIL PROTECTED] wrote: One of my clients has an employee that travels quite a bit with a notebook computer. That employee uses Windows 95 and Eudora Pro email client software. That employee also uses msn.com for his ISP. My client runs qmail-1.03. The pop3 services works very well for receiving email when the employee is on the road. pop3 and SMTP works well locally on my clients LAN. However, when the employee in on the road and dials into msn.com from various locations around the country, SMTP attempts at relaying through my client's server and the result in a #553 message. The employee and I tried setting the SMTP server to msn.com in the outgoing SMTP server setting in Eudora without success at sending out email. We then tried email.msn.com and then smtp.email.msn.com and were also not successful at sending out email. He can not successfully send email out with my client's company email address in the From: field. I've read and re-read section 5.4 of the qmail FAQ and I concluded that because the employee dials in from various locations, he doesn't have a
RE: Big Problem with virtualdomains, qmail mustn't rewrite recipient !
this will happen if you use the same .qmail-(alias) file for the 2 domains use separate ones thet point to the same place. Reagrds, Paul Trippett -Original Message- From: Puck [mailto:[EMAIL PROTECTED]] Sent: Friday, January 21, 2000 9:22 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Big Problem with virtualdomains, qmail mustn't rewrite recipient ! Hi ! my virtualdomains file : schock-bad.de:schockbad burgbad-service.de:schockbad Well, when i send mail to [EMAIL PROTECTED] , qmail rewrites the header to : Delivered-To: [EMAIL PROTECTED] it should be : Delivered-To: [EMAIL PROTECTED] All mail for schock-bad.de and burgbad-service.de should be collected within only one maildir, because schock-bad.de uses a windows-nt mailserver that can only retrieve mail from ONE pop3 ! How can i "tell" qmail not to rewrite the header ? Hello, A: Three steps: 1. Create /var/qmail/control/virutaldomains: schock-bad.de:schockbad burgbad-service.de:schockbad 2. Create a local UNIX Account "schockbad". (a) Log in as "schockbad" and create "Mailbox" or "Maildir" (depending on you QMAIL setup) eg: maildirmake $HOME/Maildir ; echo ./Maildir/ ~/.qmail eg: touch Mailbox ; echo ./Mailbox ~/.qmail (b) Edit file .qmail-default # /home/shockbad/.qmail-default |forward [EMAIL PROTECTED] (matches your sample) -- or -- |forward "$EXT"@schock-bad.de (matches your wishes) 3. Stop QMAIL and restart (changes become activ). If you have a file /var/qmail/alias/.qmail-shock... delete it ! I'm not sure, whether you use POP3 to grep the mail from your QMAIL MTA or not. By the mechanisms shown above QMAIL does a SMTP delever to the NT-Server. Check the MX-Records for the NT-Server and your file /var/qmail/control/smtproutes. You missunderstood me ! I have a qmail server which runs schock-bad.de for around 5 months now. Now, there is one more domain burgbad-service.de whose mail should also be deleivered to the schock-bad maildir, keeping the original reciever ! - delivered-to: [EMAIL PROTECTED] at the moment, qmail does the following : delivered-to : [EMAIL PROTECTED] ^ this should be burgbad-service, not schockbad ! I think it's because i deliver mail for both domains into one maildir, which is owned by schock-bad ! burgbad-service has no own maildir or user, because it must be delivered to schock-bad without changing headers ! Thanks, Thomas
Re: High-load servers...
On Thu, 20 Jan 2000 21:04:11 -0800 , Mark Delany writes: Are these inbound or outbound transactions. Inbound and the concommitant local delivery is usually a lot harder on a system than outbound. Another issue is multiple deliveries -- if you are doing header rewriting in the standard, stock qmail way, you are doing two deliveries per message. To say this kills performance is an understatement. You will need to have separate queues that are load-balanced in some way. There are also NVRAM disks to consider as potential queue disks with awesome performance, but I've not seen those used on qmail. Solid-state disks are prohibitively expensive -- a decent sized one costs about as much as a decent sized house[1]. In other words, if you have enough money for an SSD, there are generally better things you can do with it, like run multiple servers, and use round-robin MXing to do load-balancing and failover. If you're trying to keep server counts down, it might be better to run multiple queues on one machine, each on its own spindle. You can basically make multiple qmail installs, modifying conf-qmail to control where they are installed. Apply Bruce Guenter's QMAILQUEUE patch to one of them, and use the smtp daemon from that installation. Wrap the smtpd with a program that chooses a random qmail installation, and sets the QMAILQUEUE environment variable to that installation's qmail-queue. That will alleviate the qmail-send bottleneck almost as effectively as having multiple servers. -- Chris Mikkelson | "Unfortunately, simplicity is a complicated mess [EMAIL PROTECTED] | of a concept." --Taner Edis [1] In St. Paul, MN, anyway.
Error
Hi guys: I meet a strange problem, I use qmail as my qmail server, I found error in my mail log file like this "Jan 21 20:59:22 ms qmail: 948459562.609004 delivery 684128: deferral: Temporary_ failure_in_qmail-lspawn./" how about it? how to solve it? thanks
Re: Error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21 Jan 00, at 21:13, Haifeng Guo wrote: Hi guys: I meet a strange problem, I use qmail as my qmail server, I found error in my mail log file like this "Jan 21 20:59:22 ms qmail: 948459562.609004 delivery 684128: deferral: Temporary_ failure_in_qmail-lspawn./" how about it? how to solve it? It happens IIRC if you can't create a pipe, or move descriptors around. Which means you'd need to check your descriptor limits, or lower concurrency... -BEGIN PGP SIGNATURE- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOIhqhlMwP8g7qbw/EQKMeQCfZwjsLhilDdOjEEnK4V9BWm6GfoQAn2hs o5v4rqF3+gZ64EZTogwEmQaS =74bX -END PGP SIGNATURE- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
RE: Cannot creating user account with an in qmailadmin
It's probably simply a problem with the shell's special treatment of . I don't know how qmailadmin works, but we have a shell script for adding user accounts. In such cases, we have to call the command similar to: # create_user.sh f\b That is, we quote the character, and everything works fine. It's possible the qmailadmin would behave similarly. Dave :) On Thursday, January 20, 2000 10:43 PM, john [SMTP:[EMAIL PROTECTED]] wrote: Hi, I am trying to create user account in qmail using qmailadmin and I am unable to create a user for example fb. Why does this have so much restriction ? Can I create it? Regards John File: ATT0.html
Re: relay-ctrl 1.2 problem
On Fri, Jan 21, 2000 at 10:50:53AM +0100, Olivier M. wrote: I'm trying relay-ctrl 1.2 : it nearly works, but I have a little problem : when a user log himself via pop3, the ip comes in /var/control/relay-control, but /usr/sbin/relay-ctrl-age is _not_ executed. I'm wondering why... maybe you will have an idea ? It worked with the version 1.1. How do you know it isn't being run? Is it setuid? -- Bruce Guenter [EMAIL PROTECTED] http://em.ca/~bruceg/
qmail refuses to start, cannot allocate memory. Please help!
Hi, I am trying to install qmail on an PowerPC G3 Server, running YellowDogLinux ChampionServer 1.1 (a RedHat-based Linux distribution for the PPC). I followed Adam McKenna's HOWTO step-by-step, and all seemed to work fine for smtp, but then I tried to start qpop3d and now qmail refuses to start, giving memory allocation errors, and I don't know how to fix them..here's exactly what I did: 1)installed qmail + all the packages (checkpassword, daemontools, ucspi, etc) 2) got the init script for qmail (the one from Adam McKenna's page, it starts qmail-smtpd under tcpserver), and copied it to my init-scripts dir 3) tested successfully that i could use qmail-smtpd to send messages - both locally and from other systems. 4) changed the qmail init script so that it started qmail-qpop3d under tcpserver - I copied this from the Life with qmail page (http://Web.InfoAve.Net/~dsill/lwq.html) 5) tried to restart qmail, and got this error message: # /etc/rc.d/init.d/qmail start Starting mail-transfer agent: qmailcsh: error in loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory . /etc/rc.d/init.d/qmail: xmalloc: cannot allocate 8 bytes (0 bytes allocated) /etc/rc.d/init.d/qmail: xmalloc: cannot allocate 8 bytes (0 bytes allocated) /etc/rc.d/init.d/qmail: xmalloc: cannot allocate 10 bytes (0 bytes allocated) I rebooted the whole system, but the problem was still there. I changed the qmail init script back to it's original form, but still no change. If anyone could help me with this I would be very very grateful..I'm new to the unix/linux world, and when some cryptic error erupts I really don't know what to do. Thanks in advance Ivailo Djilianov - Ulpia Investment management Inc. 24 Denkoglu str, Sofia 1000, Bulgaria http://www.ulpia.com mailto:[EMAIL PROTECTED] -
Re: qmail refuses to start, cannot allocate memory. Please help!
On Fri, Jan 21, 2000 at 05:07:25PM +0200, Ivailo Djilianov wrote: } Hi, } I am trying to install qmail on an PowerPC G3 Server, running YellowDogLinux } ChampionServer 1.1 (a RedHat-based Linux distribution for the PPC). I } followed Adam McKenna's HOWTO step-by-step, and all seemed to work fine for } smtp, but then I tried to start qpop3d and now qmail refuses to start, } giving memory allocation errors, and I don't know how to fix them..here's } exactly what I did: } 1)installed qmail + all the packages (checkpassword, daemontools, ucspi, } etc) } 2) got the init script for qmail (the one from Adam McKenna's page, it } starts qmail-smtpd under tcpserver), and copied it to my init-scripts dir } 3) tested successfully that i could use qmail-smtpd to send messages - both } locally and from other systems. } 4) changed the qmail init script so that it started qmail-qpop3d under } tcpserver - I copied this from the Life with qmail page } (http://Web.InfoAve.Net/~dsill/lwq.html) } 5) tried to restart qmail, and got this error message: } } # /etc/rc.d/init.d/qmail start } Starting mail-transfer agent: qmailcsh: error in loading shared libraries: } libc.so.6: failed to map segment from shared object: Cannot allocate memory } . } /etc/rc.d/init.d/qmail: xmalloc: cannot allocate 8 bytes (0 bytes allocated) } /etc/rc.d/init.d/qmail: xmalloc: cannot allocate 8 bytes (0 bytes allocated) } /etc/rc.d/init.d/qmail: xmalloc: cannot allocate 10 bytes (0 bytes } allocated) } } I rebooted the whole system, but the problem was still there. I changed the } qmail init script back to it's original form, but still no change. } If anyone could help me with this I would be very very grateful..I'm new to } the unix/linux world, and when some cryptic error erupts I really don't know } what to do. I run Yellow Dog Linux CS 1.1 on two Macs, a beige G3 and a Performa 6400 (603e), and have never had any problems with qmail, qmail-pop3d, tcpserver, etc, etc. (If I saw errors like that on my machines, I'd start worrying about hardware problems.) Are you having trouble with anything else you've compiled? Are you using the glibc/gcc that came with CS 1.1, or did you upgrade them at some point? } } Thanks in advance } } Ivailo Djilianov } - } Ulpia Investment management Inc. } 24 Denkoglu str, Sofia 1000, Bulgaria } http://www.ulpia.com } mailto:[EMAIL PROTECTED] } - } -- Paul J. Schinder NASA Goddard Space Flight Center [EMAIL PROTECTED]
Cyrus - Qmail
Hi! Is the server "periapt.com" down? Where can I get the Cyrus-qmail patch??? Regards lars
Re: High-load servers...
On Fri, Jan 21, 2000 at 06:57:55AM -0600, [EMAIL PROTECTED] wrote: On Thu, 20 Jan 2000 21:04:11 -0800 , Mark Delany writes: Are these inbound or outbound transactions. Inbound and the concommitant local delivery is usually a lot harder on a system than outbound. Another issue is multiple deliveries -- if you are doing header rewriting in the standard, stock qmail way, you are doing two deliveries per message. To say this kills performance is an understatement. Header rewriting in the stock qmail? Two deliveries per message? I don't see this in any "stock" qmail or are you assuming that delivery goes thru an ~alias structure of some sort first? You will need to have separate queues that are load-balanced in some way. There are also NVRAM disks to consider as potential queue disks with awesome performance, but I've not seen those used on qmail. Solid-state disks are prohibitively expensive -- a decent sized one costs about as much as a decent sized house[1]. In other words, if you have enough money for an SSD, there are generally better things you can do with it, like run multiple servers, and use round-robin MXing to do load-balancing and failover. It very much depends on where your mail storage is as to what strategies you can deploy in this regard. Has anyone on this list had the luxury of running a full/large load on a variety of different scenarios in use? What is clear from the variety of experiences expressed on this list is that a good understanding of where your loads are, allows a competent qmail admin to devise a variety of workable solutions. Has anyone actually done a cost-benefit on SSD vs multiple systems? Mark.
Re: No return message when user not exists in virtual domain
[EMAIL PROTECTED] wrote: Hi, I setup a qmail + vpopmail system succesfuly. The only problem is when I send a message to a address that doesn't exists in the domain, the mail goes to postmaster of that domain but there isn't a reply message like "User Unknown" to the original sender. I don't see any message error in the log. It's normal? How do activate this? Read the vpopmail FAQ 3. How do I bounce all mail that doesn't match any pop users or .qmail files for a particular domain? Edit the ~vpopmail/domains/virtual_domain/.qmail-default file and change the last parameter to "bounce-no-mailbox" without the quotes. For example: # more .qmail-default | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox Ken Jones
No return message when user not exists in virtual domain
Hi, I setup a qmail + vpopmail system succesfuly. The only problem is when I send a message to a address that doesn't exists in the domain, the mail goes to postmaster of that domain but there isn't a reply message like "User Unknown" to the original sender. I don't see any message error in the log. It's normal? How do activate this? Thanks in advanced -- David Sedeño Fernández Servicio Tecnico Virtual Net, S.L. Grupo Hipernet C/. Casas de Campos, 3 29001 Málaga Tlf Nal.: 902 20 21 02 Tlf Int.: +34 95 222 92 14 http://www.hipernet.es/ mailto:[EMAIL PROTECTED]
Some questions..(Micorsoft/qmail)
Hi all! I'm new to this list and I'm in a hurry to get a new fully functional e-mail server up and running. At work we've had a major server crash due to the fact we are using exchange and NT. I told the management about linux and qmail, and they wan't to switch provided that it supports the following facilites: 1. Is qmail "compatible" with Outlook 2000 (Contactcs/Calender/etc)? 2. Can it store all users e-mails on the linux server? 3. What do I need and how should I approach this? My knowledge about linux is fairly good, but I have never set up a linux mail server, so any help is deeply appreciated. Thanks in advance. Kind regards, Morten Ranheim [EMAIL PROTECTED]
Re: Some questions..(Micorsoft/qmail)
Morten, Qmail will not support calendars/contacts like exchange will. Calendars and contacts are not part of email but MS thinks they should be.. There are several free web based calendar programs around you might want to look into. If you want all mail kept on the server then have your users use imap to read their email. Mike - Original Message - From: Morten Ranheim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 21, 2000 12:42 PM Subject: Some questions..(Micorsoft/qmail) Hi all! I'm new to this list and I'm in a hurry to get a new fully functional e-mail server up and running. At work we've had a major server crash due to the fact we are using exchange and NT. I told the management about linux and qmail, and they wan't to switch provided that it supports the following facilites: 1. Is qmail "compatible" with Outlook 2000 (Contactcs/Calender/etc)? 2. Can it store all users e-mails on the linux server? 3. What do I need and how should I approach this? My knowledge about linux is fairly good, but I have never set up a linux mail server, so any help is deeply appreciated. Thanks in advance. Kind regards, Morten Ranheim [EMAIL PROTECTED]
Re: Some questions..(Micorsoft/qmail)
How funny, I had the same problem. Except it took two MAJOR crashes of Exchange to convince the Execs to get off Exchange and onto POP. Things you will loose by not running exchange... 1) Global Address List This does not exist on POP/IMAP servers, but you can install LDAP http://www.openldap.org/ 2) Free/Busy information This was a function of the exchange server checking the users calendar in their mailbox (you know so you can see if people are available). Sorry you can't get this, outlook will let you publish this to a web page. 3) Store Users Mail on the Mail Server. I do not recommend doing this. This makes you dependant on the mail server, just like you were dependant on the Exchange server. I would suggest that you just use Pop3, put your users .pst file on their harddrive, and then schedule a batch file to copy the .pst to the fileserver once a week for a backup. This way if you need to you can swap out a mail server and your users won't even know. I was having problems with exchange for two reasons 1) average mailbox size was huge (I know you can limit this but try telling your CEO he can't have all his e-mail in his inbox), 2) the large volume of mail traffic. (We are processing over 10,000 e-mails per day) You will be happy with a un*x solution, if you traffic is large you might want to have one incoming POP box, and one outgoing SMTP box, but you should be fine. - Original Message - From: Morten Ranheim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 21, 2000 9:42 AM Subject: Some questions..(Micorsoft/qmail) Hi all! I'm new to this list and I'm in a hurry to get a new fully functional e-mail server up and running. At work we've had a major server crash due to the fact we are using exchange and NT. I told the management about linux and qmail, and they wan't to switch provided that it supports the following facilites: 1. Is qmail "compatible" with Outlook 2000 (Contactcs/Calender/etc)? 2. Can it store all users e-mails on the linux server? 3. What do I need and how should I approach this? My knowledge about linux is fairly good, but I have never set up a linux mail server, so any help is deeply appreciated. Thanks in advance. Kind regards, Morten Ranheim [EMAIL PROTECTED]
Re: High-load servers...
On Fri, 21 Jan 2000 08:18:04 -0800 , Mark Delany writes: On Fri, Jan 21, 2000 at 06:57:55AM -0600, [EMAIL PROTECTED] wrote: On Thu, 20 Jan 2000 21:04:11 -0800 , Mark Delany writes: Are these inbound or outbound transactions. Inbound and the concommitant local delivery is usually a lot harder on a system than outbound. Another issue is multiple deliveries -- if you are doing header rewriting in the standard, stock qmail way, you are doing two deliveries per message. To say this kills performance is an understatement. Header rewriting in the stock qmail? Two deliveries per message? I don't see this in any "stock" qmail or are you assuming that delivery goes thru an ~alias structure of some sort first? That's how you do header rewriting in "stock" qmail: use a virtualdomain (e.g. @fixme in the FAQ) to direct the mail through ~alias/.qmail-something-default, which runs a script of your own choosing, which in turn re-injects the message into the queue. Hence two deliveries. Using Bruce's QMAILQUEUE patch, you can call a qmail-queue wrapper to rewrite the message before injecting it, but that's not "stock" qmail. -- Chris Mikkelson | Einstein himself said that God doesn't roll dice. But [EMAIL PROTECTED] | he was wrong. And in fact, anyone who has played role- | playing games knows that God probably had to roll quite | a few dice to come up with a character like Einstein. | -- Larry Wall
Re: relay-ctrl 1.2 problem
On Fri, Jan 21, 2000 at 08:20:39AM -0600, Bruce Guenter wrote: How do you know it isn't being run? the tcp.smtp.cdb table isn't updated after the user logged in. only the relay-ctrl-age from let him come in. Is it setuid? -rwxr-xr-x 1 root root36008 Jan 19 09:35 relay-ctrl-age -rwxr-xr-x 1 root root34921 Jan 19 09:35 relay-ctrl-allow no. Olivier
Configuration for high volume qmail box
I am looking at moving my company's mail system from Linux/Sendmail to FreeBSD/Qmail. I have already installed the package from the ports collection. My question is given that this machine will be processing 5,000 + 10,000 e-mails on a standard day, and up to 100,000 e-mails when we use our lists.. 1) What configuration options should I use with qmail (i.e. should I use maildirs?) 2) Are there tuning/performance options I should change? 3) Which Pop server should I use (I am using the Washington EDU Imap package now) 4) How do I record all sent and received e-mails that the box processes to a separate file? (I would like to record all incoming e-mail to "in-email.log", and all outbound e-mail to "out-email.log, as well as deliver the e-mail to the correct user/domain. These logs will be used for historical backup purposes.) 3) etc... I know these questions are very basic, but I have zero qmail experience. What I have read about the product is very exciting and I hope it fits well with the organization. Thanks in advance. Max e. [EMAIL PROTECTED]
Re: Configuration for high volume qmail box
"Max" [EMAIL PROTECTED] writes: 1) What configuration options should I use with qmail (i.e. should I use maildirs?) Yes, definitely use maildirs. 2) Are there tuning/performance options I should change? Look on http://www.qmail.org/ for the patches targeted to big servers. Be sure to use the ucspi tools (tcpserver, etc) and daemontools. See the Life With Qmail page (referenced off the above qmail site). 3) Which Pop server should I use (I am using the Washington EDU Imap package now) qmail ships with qmail-pop3d. If that doesn't work for you, come back and ask the list -- there are lots of solutions. 4) How do I record all sent and received e-mails that the box processes to a separate file? (I would like to record all incoming e-mail to "in-email.log", and all outbound e-mail to "out-email.log, as well as deliver the e-mail to the correct user/domain. These logs will be used for historical backup purposes.) The qmail FAQ has an entry which describes how you can store a copy of all mail passing through your server. You could write a script that separates incoming and outgoing mail to different folders. I know these questions are very basic, but I have zero qmail experience. What I have read about the product is very exciting and I hope it fits well with the organization. Hey, it's worked everywhere I've worked! Faried.
Re: Configuration for high volume qmail box
How do I apply these patches? - Original Message - From: Faried Nawaz [EMAIL PROTECTED] To: Max [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, January 21, 2000 11:35 AM Subject: Re: Configuration for high volume qmail box "Max" [EMAIL PROTECTED] writes: 1) What configuration options should I use with qmail (i.e. should I use maildirs?) Yes, definitely use maildirs. 2) Are there tuning/performance options I should change? Look on http://www.qmail.org/ for the patches targeted to big servers. Be sure to use the ucspi tools (tcpserver, etc) and daemontools. See the Life With Qmail page (referenced off the above qmail site). 3) Which Pop server should I use (I am using the Washington EDU Imap package now) qmail ships with qmail-pop3d. If that doesn't work for you, come back and ask the list -- there are lots of solutions. 4) How do I record all sent and received e-mails that the box processes to a separate file? (I would like to record all incoming e-mail to "in-email.log", and all outbound e-mail to "out-email.log, as well as deliver the e-mail to the correct user/domain. These logs will be used for historical backup purposes.) The qmail FAQ has an entry which describes how you can store a copy of all mail passing through your server. You could write a script that separates incoming and outgoing mail to different folders. I know these questions are very basic, but I have zero qmail experience. What I have read about the product is very exciting and I hope it fits well with the organization. Hey, it's worked everywhere I've worked! Faried.
Re: High-load servers...
Another issue is multiple deliveries -- if you are doing header rewriting in the standard, stock qmail way, you are doing two deliveries per message. To say this kills performance is an understatement. Header rewriting in the stock qmail? Two deliveries per message? I don't see this in any "stock" qmail or are you assuming that delivery goes thru an ~alias structure of some sort first? That's how you do header rewriting in "stock" qmail: use a virtualdomain (e.g. @fixme in the FAQ) to direct the mail through ~alias/.qmail-something-default, which runs a script of your own choosing, which in turn re-injects the message into the queue. Hence two deliveries. Right. It sure is something people can do and I think that @fixme accurately alludes to the general nature of things, but it's not clear to me how this got specifically bound to questions relating to a high-volume box. You are right in pointing out that you want to avoid such things and user, eg, qmail-users. But on a HV box there are many things you want to avoid. Regards.
Re: Configuration for high volume qmail box
Max writes: How do I apply these patches? If you don't know how to apply a patch, you shouldn't be applying patches. Please trust me; knowing this will save you much wasted time down the road. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | "Ask not what your country 521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | do for you..." -Perry M.
Re: Configuration for high volume qmail box
Russell Nelson [EMAIL PROTECTED] wrote: Max writes: How do I apply these patches? If you don't know how to apply a patch, you shouldn't be applying patches. Please trust me; knowing this will save you much wasted time down the road. That's generally good advice, but at some point one has to learn how it's done. See: http://Web.InfoAve.Net/~dsill/lwq.html#patches -Dave
Re: High-load servers...
On Fri, 21 Jan 2000 11:38:16 -0800 , Mark Delany writes: [double-deliveries + header rewriting] Right. It sure is something people can do and I think that @fixme accurately alludes to the general nature of things, but it's not clear to me how this got specifically bound to questions relating to a high-volume box. Well, I brought it up because header rewriting affects qmail's performance under high-volume -- it's not a graceful degradation, but more like "hitting a wall." I guess my point was this: if you don't do anything fancy, i.e. your box does not do forwarding, rewriting, etc., then setting up a high-volume qmail server is pretty straightforward. If your setup requires forwarding and header rewriting (as mine does), then making a qmail server "high volume" takes a fair amount of hacking[1]. -- Chris Mikkelson | If you throw your bread upon the waters, it shall come [EMAIL PROTECTED] | back threefold, but only if you are willing to throw the | recipe upon the waters as well... -- Terry Lambert [1] As I keep telling the sendmail bigots around the office, hacking qmail source and hacking sendmail.cf are roughly equal in complexity (although qmail source is written in a real language).
Re: Configuration for high volume qmail box
"Max" [EMAIL PROTECTED] wrote: I am looking at moving my company's mail system from Linux/Sendmail to FreeBSD/Qmail. I have already installed the package from the ports collection. My question is given that this machine will be processing 5,000 + 10,000 e-mails on a standard day, and up to 100,000 e-mails when we use our lists.. 1) What configuration options should I use with qmail (i.e. should I use maildirs?) Insufficient data. Just to answer the maildir question, we need to know something about how the system will be used. Will all mailbox access be via POP or IMAP, or will some users log in to read mail using pine/mutt/etc? If the latter, will these people also need POP/IMAP, or will they exclusively use a local MUA? Some MUA's don't grok maildirs. E.g., pine requires patches. Mutt has excellent maildir support. For POP/IMAP users, maildir works well. For other configuration options, we'd need to know more details of your set-up. It's probably best to go with a basic configuration and tweak it as necessary. 2) Are there tuning/performance options I should change? Raise concurrencylocal and concurrencyremote. Run dnscache. 3) Which Pop server should I use (I am using the Washington EDU Imap package now) qmail-pop3d. There are imapd patches for maildir support. See: http://Web.InfoAve.Net/~dsill/lwq.html#imap-maildir -Dave
APOP
Hi! Recently I was asked by a customer if we provided APOP authentication. Currently we do not, but I planned on supporting it anyway. So, what's the best way to go without having to reinstall all the mailboxes and password that are currently setup manually? Right now I'm using the vpopmail (vchkpw) package with checkpassword. I saw a patch to qmail and another password checker that added APOP to its features. Can I specify which user can authenticate how? like: user1=onlyAPOP user2=both etc.? because this would be a difference in price if sold Any good FAQ on this? Regards! J.M. Roth
Re: High-load servers...
[EMAIL PROTECTED] wrote: I guess my point was this: if you don't do anything fancy, i.e. your box does not do forwarding, rewriting, etc., then setting up a high-volume qmail server is pretty straightforward. Forwarding is not "fancy" or expensive with qmail. Rewriting is expensive because it's generally the wrong thing to do. -Dave
ANNOUNCE: imapvpop working site
Remember all that stuff about virtual UW-IMAP users? Well, I've finally got something online. It's actually been up for a while, but I forgot to announce it. What I have is just the C interface that I described on the list. I'm hoping that others will pick it up and write flat file, dbfile, and/or database backends to authenticate virtual users. http://www.davideous.com/imapvpop/ Quick Summary This is a patch to the UW-IMAP server which allows it to authenticate virtual users and system users in the same IMAP daemon. A C interface is provided for hooking in an authentication routine for the virtual users. Hopefully others will develop and contribute interfaces for reading virtual users from databases, flat files, and an external program. Important Note: This software is not supported by David Harris. I simply don't have the time right now. Rather, I'm posting my work and hoping that others will add to it and contribute their improvements. A little open-source community devoted to single-uid uwimap solutions will hopefully develop here. Read more about this in the "description" section below. - David Harris Principal Engineer, DRH Internet Services
Re: High-load servers...
On Fri, 21 Jan 2000 15:26:13 -0500 (EST) , Dave Sill writes: I guess my point was this: if you don't do anything fancy, i.e. your box does not do forwarding, rewriting, etc., then setting up a high-volume qmail server is pretty straightforward. Forwarding is not "fancy" or expensive with qmail. Forwarding and rewriting in qmail do pretty much the same thing: deliver to some alias-controlled account, and then re-inject the message into the queue. That's the expensive part, because then the message must go through qmail-send again. Since re-enqueueing the message involves several fsync()s, I think any overhead associated with scanning the message content pales by comparison. Rewriting is expensive because it's generally the wrong thing to do. Well, as I said above, I don't agree on the "expensive" aspect. Could you elaborate on the wrongess part? -- Chris Mikkelson | For example, I could be a sentient PERL script. That [EMAIL PROTECTED] | pretty much assumes that someone brilliant enough to | write me was also stupid enough to program in PERL. | Not a likely explanation. -- Terry Lambert
Re: Configuration for high volume qmail box
I am going to structure this in the following way. Primary box - accept incoming e-mail's for organization, users will be connecting via Pop only. All e-mail will be removed from the server and downloaded onto the users PC. I do not need console/telnet mail for my users, only the root account for convenience (I am flexible what program I will use). This box needs to selectively relay e-mail based on network address. (or if possible authenticate the sending user). I have 50 local users, and 40 remote users (these numbers grow quickly). We maintain mailing lists for the different office locations as well as the different departments. Secondary box - just in case the primary is down. This box needs to accept e-mail and relay to the primary, as well as selectively relaying based on network address. This machine will also host some announcement mailing lists. The lists have a large amount of users but are low volume. Both machines will be a Dell PC w/ a 400MHz celeron processor, 96MB of ram, and a 6GB hard drive. We connect to the Internet via a full point-to-point T1. Mailstats from the current Linux/Sendmail machine (no office or external mailing lists are running on this box) are in the attached file. I need to provide LDAP to my users as well. I have been reading from http://www.openldap.org but will take a while for me to understand the config. This is not a big concern. I intend to install a web interface to the mail system in the future, again I have not done an evaluation yet so I am really flexible to the configuration. Thanks for the help - Max - Original Message - From: Dave Sill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 21, 2000 12:23 PM Subject: Re: Configuration for high volume qmail box "Max" [EMAIL PROTECTED] wrote: I am looking at moving my company's mail system from Linux/Sendmail to FreeBSD/Qmail. I have already installed the package from the ports collection. My question is given that this machine will be processing 5,000 + 10,000 e-mails on a standard day, and up to 100,000 e-mails when we use our lists.. 1) What configuration options should I use with qmail (i.e. should I use maildirs?) Insufficient data. Just to answer the maildir question, we need to know something about how the system will be used. Will all mailbox access be via POP or IMAP, or will some users log in to read mail using pine/mutt/etc? If the latter, will these people also need POP/IMAP, or will they exclusively use a local MUA? Some MUA's don't grok maildirs. E.g., pine requires patches. Mutt has excellent maildir support. For POP/IMAP users, maildir works well. For other configuration options, we'd need to know more details of your set-up. It's probably best to go with a basic configuration and tweak it as necessary. 2) Are there tuning/performance options I should change? Raise concurrencylocal and concurrencyremote. Run dnscache. 3) Which Pop server should I use (I am using the Washington EDU Imap package now) qmail-pop3d. There are imapd patches for maildir support. See: http://Web.InfoAve.Net/~dsill/lwq.html#imap-maildir -Dave Statistics from Fri Jan 7 09:55:08 2000 M msgsfr bytes_from msgstobytes_to msgsrej msgsdis Mailer 312943 851594K294671386329K0 0 local 5 13 74K2 2K 20 0 fax 84 4K 15 68K7 0 suucp 13 9586 208522K 4751 297473K0 0 esmtp = T225461060194K342351683872K 27 0
APOP
Hi! Recently I was asked by a customer if we provided APOP authentication. Currently we do not, but I planned on supporting it anyway. So, what's the best way to go without having to reinstall all the mailboxes and password that are currently setup manually? Right now I'm using the vpopmail (vchkpw) package with checkpassword. I saw a patch to qmail and another password checker that added APOP to its features. Can I specify which user can authenticate how? like: user1=onlyAPOP user2=both etc.? because this would be a difference in price if sold Any good FAQ on this? Regards! J.M. Roth PS. I think the mail didn't get through the first time. Sorry in case you receive it twice.
Odd question
I know this question might not seem relevant (or too obvious to ask) on this list, but here it goes. when a remote conection is established, say to the POP3 server, is there an environment variable that is set with the name of the server being connected to? for example, my machine is domain.com but I receive POP3 connections for a virtual domain (same IP), domain2.com. Is there an environment variable that I can read to know if the remote computer requested a connection for domain.com or domain2.com? Thanks, JES
POP password checking
I'm having trouble getting qmail-popd to accept my password. What could be causing the trouble. The user is in the assign file and I have run qmail-newu and then restarted qmail. I've delivered a message to the user for testing, but I can't see anything in that user's directory with ls -al nor can I get in with pop. Any ideas? Jacob Joseph
Re: APOP
Hi! Recently I was asked by a customer if we provided APOP authentication. Currently we do not, but I planned on supporting it anyway. So, what's the best way to go without having to reinstall all the mailboxes and password that are currently setup manually? Right now I'm using the vpopmail (vchkpw) package with checkpassword. I saw a patch to qmail and another password checker that added APOP to its features. Can I specify which user can authenticate how? like: user1=onlyAPOP user2=both etc.? because this would be a difference in price if sold Any good FAQ on this? Regards! J.M. Roth The new versions of vpopmail support APOP verification on an individual user basis. Check www.inter7.com/vpopmail/ JES
Re: Odd question
On Fri, 21 Jan 2000, Juan E Suris wrote: virtual domain (same IP), domain2.com. Is there an environment variable that I can read to know if the remote computer requested a connection for domain.com or domain2.com? No. If you alias multiple IPs, though, to the same box, you can read TCPLOCALIP.
Re: POP password checking
On Fri, 21 Jan 2000, Jacob Joseph wrote: I'm having trouble getting qmail-popd to accept my password. What could be causing the trouble. The user is in the assign file and I have run qmail-newu and then restarted qmail. I've delivered a message to the user for testing, but I can't see anything in that user's directory with ls -al nor can I get in with pop. Any ideas? AFAIK qmail-pop3d does not read assign, and it authenticates against the system username only.
Re: High-load servers...
cmikk [EMAIL PROTECTED] writes: That's how you do header rewriting in "stock" qmail: use a virtualdomain (e.g. @fixme in the FAQ) to direct the mail through ~alias/.qmail-something-default, which runs a script of your own choosing, which in turn re-injects the message into the queue. Hence two deliveries. Why would you choose to do it that way rather than running ofmipd for the clients that require rewriting? -- Russ Allbery ([EMAIL PROTECTED]) URL:http://www.eyrie.org/~eagle/
Re: POP password checking
I believe my problem may be in setting up the maildirs. How exactly can I have qmail send to maildirs? I've got it accepting messages for users(the maillog shows success), but I have no idea where they're going. Perhaps it's using normail mail files? This, however still wouldn't explain the reason for the password to be rejected by popd. Must a user belong to a certain group? I have installed checkpasswd and tried users in various groups including qmail and popusers. Yes, the user is in the assign config file and qmail-newu has been run. Any ideas? Jacob Joseph - Original Message - From: "Sam" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, January 21, 2000 5:53 PM Subject: Re: POP password checking On Fri, 21 Jan 2000, Jacob Joseph wrote: I'm having trouble getting qmail-popd to accept my password. What could be causing the trouble. The user is in the assign file and I have run qmail-newu and then restarted qmail. I've delivered a message to the user for testing, but I can't see anything in that user's directory with ls -al nor can I get in with pop. Any ideas? AFAIK qmail-pop3d does not read assign, and it authenticates against the system username only.
Re: High-load servers...
On 21 Jan 2000 17:47:24 -0800 , Russ Allbery writes: cmikk [EMAIL PROTECTED] writes: That's how you do header rewriting in "stock" qmail: use a virtualdomain (e.g. @fixme in the FAQ) to direct the mail through ~alias/.qmail-something-default, which runs a script of your own choosing, which in turn re-injects the message into the queue. Hence two deliveries. Why would you choose to do it that way rather than running ofmipd for the clients that require rewriting? Since our mail servers perform relaying for roaming customers, they would have to be open to any IP address. Ofmipd does not allow you to control relaying, last I checked, so that would require some hacking. Not too much hacking, though. I think that's going on my list of things to try. When I started my latest hack, I was under the impression that ofmipd supported a subset of SMTP, but checking the source, I see that I was mistaken. I probably took the "more hacking" route: I wrote a qmail-queue wrapper which will rewrite the message headers and the envelope. -- Chris Mikkelson | Problems are posed by fools like me; [EMAIL PROTECTED] | But only Heuristics can search a tree.
Re: High-load servers...
On Fri, Jan 21, 2000 at 10:24:11PM -0600, [EMAIL PROTECTED] wrote: When I started my latest hack, I was under the impression that ofmipd supported a subset of SMTP, but checking the source, I see that I was mistaken. I probably took the "more hacking" route: I wrote a qmail-queue wrapper which will rewrite the message headers and the envelope. Could we see it? I am almost finished writing a simple qmail-queue wrapper that filters the body of the message through qmail-inject. This achieves the same header rewriting that the @fixme trick does, without double delivery. Once I finish it I'll post it. -- Bruce Guenter [EMAIL PROTECTED] http://em.ca/~bruceg/
Re: High-load servers...
On Fri, Jan 21, 2000 at 10:33:04PM -0600, Bruce Guenter wrote: On Fri, Jan 21, 2000 at 10:24:11PM -0600, [EMAIL PROTECTED] wrote: When I started my latest hack, I was under the impression that ofmipd supported a subset of SMTP, but checking the source, I see that I was mistaken. I probably took the "more hacking" route: I wrote a qmail-queue wrapper which will rewrite the message headers and the envelope. Could we see it? I am almost finished writing a simple qmail-queue wrapper that filters the body of the message through qmail-inject. This achieves the same header rewriting that the @fixme trick does, without double delivery. Once I finish it I'll post it. -- Bruce Guenter [EMAIL PROTECTED] http://em.ca/~bruceg/ Can any of this qmail-queue wrappers be done so the queue is stored on a Network (shared) drive, so each server in a cluster of servers can take any of the messages is the queue and send it? Please advice Michael Boman -- W I Z O F F I C E . C O M P T E L T D - Your Online Wizard 16 Tannery Lane, Crystal Time Building, #06-00, Singapore 347778 Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228 email : [EMAIL PROTECTED]URL : http://www.wizoffice.com
Re: POP password checking
Looks like I'm answering my own questions :) OK, by creating changing the permissions of the user/Maildir directory, I was able to get in. What a decieving message from qmail-popd to my mailer. The directory was there, just unaccessable! Anyways, now I do know the mail is not going to the Maildir, so what settings do I need to change? Thanks again, Jacob Joseph - Original Message - From: "Jacob Joseph" [EMAIL PROTECTED] To: "Sam" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, January 21, 2000 8:06 PM Subject: Re: POP password checking I believe my problem may be in setting up the maildirs. How exactly can I have qmail send to maildirs? I've got it accepting messages for users(the maillog shows success), but I have no idea where they're going. Perhaps it's using normail mail files? This, however still wouldn't explain the reason for the password to be rejected by popd. Must a user belong to a certain group? I have installed checkpasswd and tried users in various groups including qmail and popusers. Yes, the user is in the assign config file and qmail-newu has been run. Any ideas? Jacob Joseph - Original Message - From: "Sam" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, January 21, 2000 5:53 PM Subject: Re: POP password checking On Fri, 21 Jan 2000, Jacob Joseph wrote: I'm having trouble getting qmail-popd to accept my password. What could be causing the trouble. The user is in the assign file and I have run qmail-newu and then restarted qmail. I've delivered a message to the user for testing, but I can't see anything in that user's directory with ls -al nor can I get in with pop. Any ideas? AFAIK qmail-pop3d does not read assign, and it authenticates against the system username only.
Incorrect (?) response code 555 from qmail-smtpd
qmail-smtpd returns responses beginning with 555 for syntax errors in the parameters to MAIL and RCPT. From qmail-smtpd.c: void err_syntax() { out("555 syntax error (#5.5.4)\r\n"); } RFC 821 says that x5y status codes are for mail system problems, while x0y status codes should be used for syntax errors: The second digit encodes responses in specific categories: x0z Syntax -- These replies refer to syntax errors, syntactically correct commands that don't fit any functional category, and unimplemented or superfluous commands. [...] x5z Mail system -- These replies indicate the status of the receiver mail system vis-a-vis the requested transfer or other mail system action. and it also specifically lists 501 as the error code to send for syntax errors in parameters of a command: 501 Syntax error in parameters or arguments draft-ietf-drums-smtpupd-10.txt seems to agree. Shouldn't qmail-smtpd use 501 as the status code in this case? -- Russ Allbery ([EMAIL PROTECTED]) URL:http://www.eyrie.org/~eagle/
Re: High-load servers...
On Sat, Jan 22, 2000 at 12:48:11PM +0800, Michael Boman wrote: Can any of this qmail-queue wrappers be done so the queue is stored on a Network (shared) drive, so each server in a cluster of servers can take any of the messages is the queue and send it? Nope. qmail-queue and qmail-send assume that they have exclusive access to the queue. -- Bruce Guenter [EMAIL PROTECTED] http://em.ca/~bruceg/
Re: High-load servers...
cmikk [EMAIL PROTECTED] writes: Since our mail servers perform relaying for roaming customers, they would have to be open to any IP address. Ofmipd does not allow you to control relaying, last I checked, so that would require some hacking. Neither does qmail-smtpd, when it comes to that sort of setup. You have to front-end either one with something that checks whether to allow relaying. What control mechanism are you using? SMTP after POP is pretty easy, and I think there's stuff already on the qmail web site implementing it. -- Russ Allbery ([EMAIL PROTECTED]) URL:http://www.eyrie.org/~eagle/
Re: High-load servers...
Bruce Guenter [EMAIL PROTECTED] writes: Could we see it? I am almost finished writing a simple qmail-queue wrapper that filters the body of the message through qmail-inject. This achieves the same header rewriting that the @fixme trick does, without double delivery. Once I finish it I'll post it. This is the entire raison d'être of ofmipd, and it already supports tons of useful address rewriting rules, and also in the same package from djb (mess822) is a replacement qmail-inject that supports the same address rewriting mechanisms -- Russ Allbery ([EMAIL PROTECTED]) URL:http://www.eyrie.org/~eagle/
Recieving and deliverying mail without a domain in qmail
I guess I need to be a little more specific in what I'm talking about here. I've got a domain hosted by an internet host and they obviously recieve the mail sent to that domain. My problem is in getting it to be delivered locally. They will send all mail on to my ip address via smtp. I am unclear of how my system should be set up. I've got a small lan of win98 machines and linux box connected to a cable modem(static ip) on eth1 and a hub for the windows machines on eth0. To recieve the mail from the host, what should my domain be set as? I've found no documentation about this. Or would I be using virtual domains? If so, how? Also, those 98 machines will send mail to the local smtp server to have it decide where the mail should go. Most users will not have internet e-mail capabilities--only local. Thanks for any help, Jacob Joseph
Re: Recieving and deliverying mail without a domain in qmail
This should be simple. You would setup each user with an account on the Linux box. When mail is delivered to you by SMTP your sendmail will then deliver it to the seperate accounts. You may have to modify sendmail but I think that it comes with most Distrabutions to work right out of the box. The Win98 boxes will use POP to get mail from the Linux box. You will need to have popd running. I found this already running on my Slackware 3.6. The POP mail clients login using there Linux userid and password that you setup. The Win98 boxes will deliver mail to the Linux box via SMTP and then your Linux sendmail will send it off. I think this is how it works but could be wrong on some points. I do this at home, but my connection to the ISP is via UUCP. David On Fri, 21 Jan 2000, Jacob Joseph wrote: Date: Fri, 21 Jan 2000 07:06:12 -0800 From: Jacob Joseph [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Recieving and deliverying mail without a domain in qmail I guess I need to be a little more specific in what I'm talking about here. I've got a domain hosted by an internet host and they obviously recieve the mail sent to that domain. My problem is in getting it to be delivered locally. They will send all mail on to my ip address via smtp. I am unclear of how my system should be set up. I've got a small lan of win98 machines and linux box connected to a cable modem(static ip) on eth1 and a hub for the windows machines on eth0. To recieve the mail from the host, what should my domain be set as? I've found no documentation about this. Or would I be using virtual domains? If so, how? Also, those 98 machines will send mail to the local smtp server to have it decide where the mail should go. Most users will not have internet e-mail capabilities--only local. Thanks for any help, Jacob Joseph - To unsubscribe from this list: send the line "unsubscribe linux-diald" in the body of a message to [EMAIL PROTECTED]