CNAME lookup failure (strange problem)
Hi, in a bounce message i got this [EMAIL PROTECTED]: CNAME lookup failed temporarily. (#4.4.3) Both sending and receiving mail server use the qmail rpm's from bruce. so the big-dns patch is applied. The domain quint.be is under my control. I really don't understand it because in the dns i never used a CNAME. Can anybody explain this. Willy De la Court Quint NV NS
RE: CNAME lookup failure (strange problem)
On Wednesday, August 01, 2001 20:19, Tom Beer [SMTP:[EMAIL PROTECTED]] wrote: in a bounce message i got this [EMAIL PROTECTED]: CNAME lookup failed temporarily. (#4.4.3) to clarify [EMAIL PROTECTED]: CNAME lookup failed temporarily. (#4.4.3) I'm not going to try again; this message has been in the queue too long. This is a DNS related problem. The lookup for the cannonical name quint.be is temporarily broken (BIND + dialup connection?) Ok it's an adsl connection that reconnects after 10 mins if the connection is broken. it would be strange that every time qmail tried to send the message the connection would be down. But it's only temporary and qmail tries again (#4.4.3) Sure for one week or the default queue time i got 2 msgs like that and in between the time the msg was submitted and the time the bounce arrived i got several msgs from the same machine to the same account. By my knowledge the dns has not been down either. Tom Willy De la Court Quint NV NS
RE: Help wanted
Schajee, I use a combination of qmail, vmailmgr, omail-admin, courier-imap and squirrelmail to do just what you need. Willy De la Court QUINT NS NV On Monday, June 18, 2001 13:30, Schajee Achmad [SMTP:[EMAIL PROTECTED]] wrote: Hi there, Let me introdce myself first. My name is Schajee and I'm a web developer. My company requires me to setup a complete Hotmail styled email service for use by its employees. I've been searching a solution to this problem and I found a lot of them but none matched my requirement, so I was forced to look for other solutions. I found qmail by accident and I kinda liked it. I've been using it for a some days now and I think it meets my requirments. So the question is how do you setup a mail service like Hotmail. I'm ready to develop a web based MUA which works with qmail and hopefull this should do the trick. So, anybody out there who has either worked on it before or has some experiance in working for such a thing... please let know so that we can sit down and talk about this. Thanks Schajee Get free email and a permanent address at http://www.netaddress.com/?N=1
RE: Multilog log file size specification
On Thursday, June 14, 2001 20:22, Alex Khanin [SMTP:[EMAIL PROTECTED]] wrote: I've read the manpage and it states you should use the ssize action, So I put this in my /var/qmail/supervise/qmail-send/log/run: #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /backup/log/qmail ssize 50 nnum 50 try this /usr/local/bin/multilog t s9 n100 /var/log/qmail That is ignored. If I put it this way: #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t ssize 50 nnum 50 /backup/log/qmail Then files are created with max size of around 3k instead of 500k. What am I doing wrong?? Someone please help. Thanks.
RE: rpm
Mick, check http://www.quint.be/projects/ the rpm's are there with a small howto Willy De la Court Quint NS NV On Monday, June 11, 2001 22:40, mick [SMTP:[EMAIL PROTECTED]] wrote: anyone have any luck with the qmail rpm? have a box I just want to get up and running fast. * Mick Dobra Systems Administrator MTCO Communications 1-800-859-6826 *
RE: backup mail server help
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hank, on the backup just put the domains in rcpthosts file NOT in locals and NOT in virtualdomains this will effectively configure the backup mail server to accept mail and try to deliver it to the primary. Make sure your dns records are correct. you don't need qmail-pop3d on the secondary because it won't store mail you only need the qmail process and the qmail-smtpd process Thats all it's that simple Who ever said that configuring qmail was difficult? Willy De la Court Quint NS NV On Saturday, June 09, 2001 01:34, Hank Wethington [SMTP:[EMAIL PROTECTED]] wrote: I think my mind is unstable from trying to figure this out on my own. I've got a main mail server (FreeBSD 4.3/qmail 1.03/vpop/sweb/imap/blah blah blah) and a second on a separate network (RH Linux 6.2/qmail 1.03/qmail-pop3d). What I'd like to accomplish is if Server A is unavailable, then mail goes to server B. Once A is back up, server B sends the mail back to server A. Does this make sense? I know about the MX records in DNS, but how do I make qmail accept the messages but not deliver them and eventually send them back to the higher priority server. Man I'm confused. Is this even possible? If its not why have different MX hosts? If it is, is my brain just too small to absorb the needed info. Will George Lucas make a decent Star Wars 2 or are we in for another bad story line? Ok.. let me put back on my strait jacket. Hank Wethington Information Logistics www.GoInfoLogistics.com mailto:info.at.GoInfoLogistics.com -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOyFuT/4IaGw3x6aJEQIY3ACg5Ng800TSvSAnW24MNimBhe/3hN0An3Ty o8QVTaxyVI4wguaNXqADJR0Y =NBR6 -END PGP SIGNATURE-
RE: best patches to be apply for QMAIL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If you are installing on RH 6.2 just install the RPM made by Bruce, I'v Added some patches to daemontools etc you can find the src rpm's here with a little howto http://www.quint.be/projects/ Willy De la Court Quint NS NV On Thursday, June 07, 2001 14:54, hari_bhr [SMTP:[EMAIL PROTECTED]] wrote: hi i have installed qmail 1.03 on redhat 6.2 i would like to know , what are the patches to be patch with this. for more secure and with out any holes could some one guide me what are the patches to be apply thanks advance _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOx8xzf4IaGw3x6aJEQJnWQCguGgAeeKcpBshm40iTwJdKQxvrPgAoNoZ zFWD1PMaOGS/dAd82ToK5y4C =FIVY -END PGP SIGNATURE-
RE: Install problem: local mail undelivered with unable to switch tohomedir error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 And what is the ownership of those dirs Willy De la Court Quint NS NV On Wednesday, June 06, 2001 20:17, Sean C Truman [SMTP:[EMAIL PROTECTED]] wrote: Bob, Ok all the home directories are 700 bout what does the permissions on the /home read? Sean - Original Message - From: Bob Hobbs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 06, 2001 11:15 AM Subject: Install problem: local mail undelivered with unable to switch tohomedir error Hi, I've probably missed something embarassingly obvious, but please be patient as I've never used Qmail before. Anyway, here is my tale: I've just installed qmail 1.03 on a new linuxppc box (essentially RH linux on mac hardware). I've set up locals, rcpthosts and me; and I've created some users and set them up for mail with qmail-pw2u and qmail-newu. The problem: Whenever I send mail to a user on the system (via manual SMTP), it is queued but never delivered. For each delivery attempt, the log shows: ...deferral:Unable_to_switch_to_/home/bob:_access_denied._(#4.3.0)/ All the home directories have permissions 700 (drwx--). However, even if I give full permissions on the directory and mailbox, the problem does not go away. It also makes no difference whether I put a .qmail file in a user's home dir. Delivery to ~alias/Mailbox works fine, but that is the only location to which mail is delivered. If anyone can help with this, it would be much appreciated. If so, please cc the response to me, as I am not subscribed to this list. Thanks! Bob Hobbs -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOx6Hj/4IaGw3x6aJEQIU4ACeJrhC1RqpzQhysn0y0fRyao5P46sAniZy +alufCnFBV/CvRTrzOfUzucz =cDrZ -END PGP SIGNATURE-
RE: Doesanyone know how to install Bruce Guenter's Qmail rpm's please
Check http://www.quint.be/projects/ There is a little howto to install the rpm's found on that page also those rpm's are all based on the rpm's from bruce Wily De la Court Quint NS NV On Tuesday, May 29, 2001 04:22, arnie [SMTP:[EMAIL PROTECTED]] wrote: Roger wrote: Could someone tell me the order as well as how to install Bruce Guenter's Qmail rpms please? I have a double problem, first I am now running Redhat7.1, and two I have forgotton how to install rpm's (I never knew in the first place, but I have lost the instructions someone gave me before), the worst case being supervise-scripts which is a noarch.rpm (I don't even know what a noarch rpm is). Sorry to be so dumb and desperate, but I have been stuffing around for days, trying first to install daemontools (because of Redhat 7.1) and now the rest of the rpms don't want to install. Thanks in advance for any and all help Regards Roger
RE: Virtualdomains setup?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joan, This is your problem right here because cancortina.com is in your locals file it will he handled locally and not via virtualdomains On Friday, May 25, 2001 17:27, Joan Picanyol i Puig [SMTP:[EMAIL PROTECTED]] wrote: Is concortina.com in control/locals? Yep, it is: joan:/home/joan # cat /var/qmail/control/locals localhost grummit.earth 213.97.212.86 [213.97.212.86] cancortina.com Willy De la Court Quint NS NV -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOw6Tg/4IaGw3x6aJEQIJQACdEvIESdHXVnPusbm9ox13gke901UAoMVY puqejF25/Y532sz9Ej7LyRAj =Ug44 -END PGP SIGNATURE-
RE: Logging POP3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Please check http://www.quint.be/projects/ there is a patch for pop3 logging. It logs errors, logins, logouts and msg size retrieved. On Wednesday, May 23, 2001 14:34, David Gartner [SMTP:[EMAIL PROTECTED]] wrote: Just switched to qmail and have a slight problem. We used to log pop3 traffic (logins/logouts) so that we could help people who claim they couldn't get their mail. Basically, so we could verify they were even reaching the server. I noticed with qmail (also using tcpserver) doesn't log that by default. Anyone know how I can log attempts similar to how sendmail did? In case anyone's confused about what I'm talking about, here's a sample of the log sendmail keeps. May 23 08:30:21 mail ipop3d[12955]: Login user=USERNAME host=HOST [IPADDRESS] nmsgs=0/0 May 23 08:30:21 mail ipop3d[12955]: Logout user=USERNAME host=HOST [IPADDRESS] nmsgs=0 ndele=0 Thanks in advance for any help anyone can provide! David Willy De la Court Quint NS NV -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOwwX8/4IaGw3x6aJEQK3rQCgp306I4oOvlOJNlQwcB6kxE6LBpoAnRfI h3FUdhDoj7T2sH8+H8pfBxVj =PLjK -END PGP SIGNATURE-
RE: manymanymany splogger processes
Sorry about this but this is a junkyard. read on On Tuesday, May 22, 2001 19:44, Joshua Nichols [SMTP:[EMAIL PROTECTED]] wrote: Sorry about the long posting, but at least everythings in one place. It seems to me that qmail-pop3d is not running correctly, thus explaining the errors in /var/log/maillog, but is that also causing my splogger process problem? I just sent out a sizable mailing, so I expect the server to be busy and working hard, but seriously... thousands of copies of splogger? Is it /supposed/ to run a new instance for each outgoing message? No, not at all. You are obviously doing something wrong. Please provide more detail: - how are you starting qmail With supervise. I've added several key files below for a more complete reference. - how are you sending out the mailing It's a perl script that uses sendmail, but it is the qmail replacement for sendmail. - are the splogger processes visibly doing something towards syslog Well, /var/log/maillog has tons of these error messages: May 22 11:31:57 nsc pop3d: 990545517.798654 tcpserver: fatal: unable to bind: address already used FILES: /var/qmail/supervise/qmail-send/run --- #!/bin/sh exec /var/qmail/rc --- where is the contents of /var/qmail/rc ?? /var/qmail/supervise/qmail-send/log/run --- #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s250 /var/log/qmail/qmail-send --- /var/qmail/supervise/qmail-pop3d/run --- #!/bin/sh tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mail.nextstepcapital.net /bin/ \ checkpassword /var/qmail/bin/qmail-pop3d Maildir 21 | /var/qmail/bin/splogger \ pop3d --- remove the | /var/qmail/bin/splogger pop3d from the above script the logging is done in /var/qmail/supervise/qmail-pop3d/log/run this is why you get a lot of splogger processes /var/qmail/supervise/qmail-pop3d/log/run --- #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s250 /var/log/qmail/qmail-pop3d --- /etc/rc.d/init.d/qmail --- #!/bin/sh -e # /etc/init.d/qmail : start or stop the qmail mail subsystem. # borrowed from http://Web.InfoAve.Net/~dsill/lwq.html#start-qmail # modified by Adam McKenna [EMAIL PROTECTED] PATH=$PATH:/usr/local/bin:/var/qmail/bin case $1 in start) echo -n Starting mail-transport-agent: svc -u /var/qmail/supervise/* echo -n qmail svc -u /var/qmail/supervise/*/log echo logging. ;; stop) echo -n Stopping mail-transport-agent: echo -n qmail svc -d /var/qmail/supervise/* echo logging svc -d /var/qmail/supervise/*/log ;; restart) $0 stop $0 start ;; reload|force-reload) echo Reloading 'locals' and 'virtualdomains' control files. svc -h /var/qmail/supervise/qmail-send ;; *) echo 'Usage: /etc/init.d/qmail {start|stop|restart|reload}' exit 1 esac exit 0 --- /etc/rc.local (partial) --- /etc/init.d/svscan start tcpserver 0 110 /var/qmail/bin/qmail-popup mail.nextstepcapital.net \ /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir --- remove tcpserver 0 110 /var/qmail/bin/qmail-popup mail.nextstepcapital.net \ /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir because qmail-popup is already running under supervise this is why you get the error message fatal: unable to bind: address already used
RE:
. hmm Sending virus files to a mailing list. How stupid can you get. On Thursday, May 10, 2001 10:02, Okan CIMEN [SMTP:[EMAIL PROTECTED]] wrote: *** DO NOT OPEN THE ATTACHMENT*** Our e-mail users receive lots of e-mails with no subject nor from adress but just an attachment. Below is an example I have received before. As you may see there are no from or subject information available. The only clue is the .exe attachment with a random name written in capital letters. How can I block these e-mails? Regards Okan - Original Message - Sent: Thursday, May 10, 2001 9:11 AM File: EJAFKAEJ.EXE
RE: Qmail and its parts.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday, May 04, 2001 18:58, [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] wrote: I don't normally ask for help, but this thing (qmail and associated programs) is driving me nuts. Environment and background: O/S: RedHat 7.0 compiled and installed these packages: qmail-1.03+patches-18 supervise-scripts-3.3-1 ucspi-tcp-0.88-1 ucspi-unix-0.34-1 vmailmgr-0.96.9-2 vmailmgr-courier-imap-0.96.9-2 vmailmgr-daemon-0.96.9-2 Ok looks good so far While I thought I've configured everything according to the million man files...mail comes in, gets put into a directory under /var/qmail/queue ps -ef | grep qmail reveals: root 198 194 0 08:59 ?00:00:00 supervise qmail qmaild 570 1 0 09:00 ?00:00:00 tcpserver -c 100 -u 101 -g 102 0 so qmail is apparantly running. Actually this is only smtpd thats running it should look something like this 160 ?S 0:00 supervise qmail 26314 ?S 0:00 /usr/local/bin/multilog t s9 n100 /var/log/qmail/ 26424 ?S 0:00 unixserver -U -q /tmp/.qmail-qread /usr/bin/qmail-qre 26493 ?S 0:00 /usr/local/bin/multilog t s9 n100 /var/log/qmail/ 2393 ?S 0:00 unixserver -U -q /tmp/.qmail-qstat /usr/bin/qmail-qst 11135 ?S 0:03 /usr/local/bin/multilog t s9 n100 /var/log/qmail/ 11144 ?S 0:06 qmail-send 11168 ?S 0:01 qmail-lspawn ./Maildir/ 11169 ?S 0:00 qmail-rspawn 11170 ?S 0:01 qmail-clean ls -l /service should give you something like this lrwxrwxrwx1 root root 24 Feb 15 19:21 pop3d - /var/qmail/service/pop3d lrwxrwxrwx1 root root 24 Feb 15 19:18 qmail - /var/qmail/service/qmail lrwxrwxrwx1 root root 24 Feb 15 19:18 qread - /var/qmail/service/qread lrwxrwxrwx1 root root 24 Feb 15 19:18 qstat - /var/qmail/service/qstat lrwxrwxrwx1 root root 24 Feb 15 20:55 smtpd - /var/qmail/service/smtpd try svc-start qmail if the qmail link exists in /service if the link does not exists add it and start qmail qmail-showctl looks good. my rcpthosts contains the name of the mailserver, the name of the domain. virtualdomains looks good.. for both users i have defined right now, it has the name of the domain and the username (domainname:username). /etc/qmail/users/assign formatted according to the man page. qmail-qstat reveals: messages in queue: 24 messages in queue but not yet preprocessed: 14 The reason why the mails stick in the queue is because qmail-send is not running start the supervised qmail process and all the mails will be deliverd in seconds. It would help me greatly if anyone could help me understand how all these things fit together. I know supervise is a replacement for just putting something in rc.d or whatever, and i think i have that running right, since qmail is running. What I'm hoping to accomplish is the delivery of the email into the correct user's maildir. Confused as to how vmailmgr fits into this, i've even made the .qmail file in the user's directory simply point at the maildir directory, instead of using the | to send the mail to the vmailmgr. Could someone get me started? Thanks.. Carl Danowski File: ATT00071.html -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOvbhfv4IaGw3x6aJEQIdAQCg9IoXebKcuNuVuLKjNZlZe/zsXCAAoI+H jpzDDXUE/TTGrJWhhDrnjsgy =cxfc -END PGP SIGNATURE-
RE: Filter incoming messages for one particualr user
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, May 02, 2001 22:46, Sean Brown [SMTP:[EMAIL PROTECTED]] wrote: Hello list. Is this possible?: Let's say I have a user [EMAIL PROTECTED], whose home directory is /home/mailuser. I want to set things up so that mailuser only accepts messages from one particular e-mail address. In other words, if the sender is any other address besides [EMAIL PROTECTED], mailuser will silently throw the message away. If the message is from [EMAIL PROTECTED], it completes the instructions in mailuser's .qmail file (which right now forwards to three other addresses). Is this possible? Yes with qtools http://www.superscript.com/qtools/intro.html Willy De la Court Quint Nv -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOvBrdP4IaGw3x6aJEQJMewCfQOSlJKoce3S0IcmJUkf0XGDmH1gAoLYP lnlyAFroIeQx9GdGDsFQVlUw =iI3p -END PGP SIGNATURE-
RE: Return Receipt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday, April 28, 2001 12:00, Thomas Booms [SMTP:[EMAIL PROTECTED]] wrote: I think I've made it all like the man of qreceipt tells. So if I understood it right, I only need to add the line | qreceipt email in .qmail and/or .qmail-default. I made this step and doesn't get a return receipt to the mail which I've sent to the test user. Where is my prob? [snip] I made a patch for qreceipt to enable this you can find it at http://www.quint.be/projects/ Did you apply the patch -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOuqabv4IaGw3x6aJEQKlvwCgsz/Z+DE+bZ4zwjHUNjTYhOuMRvcAoJM3 QkZagcuPCviwXI3d1uyqNeWw =Jy8M -END PGP SIGNATURE-
RE: Return Receipt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, man qreceipt qreceipt only reacts to Notice Request upon delivery to but there is a problem with some clients like outlook that use Return Receipt To I made a patch for qreceipt to enable this you can find it at http://www.quint.be/projects/ On Friday, April 27, 2001 22:52, Thomas Booms [SMTP:[EMAIL PROTECTED]] wrote: Hi all, does qmail generally support the Return Rceipt feature? If so, how? And if not so, are there any workarounds or so? I want to be able to use this feature. Thanks for your help. Thomas -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOunTT/4IaGw3x6aJEQLuVwCgtvfGm4ePDanQ4tP3YyrZ81gpAYcAni7J oeOuILFvRqrx9ivepxBhx0fP =+L69 -END PGP SIGNATURE-
RE: qmail as Back up MX box
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, April 25, 2001 21:43, mick [SMTP:[EMAIL PROTECTED]] wrote: Hello, I have a system that I want to run qmail as a backup MX server. I have all the domains I want to accept mail for in control/rcpthosts. I don't have anything in locals or virtualdomans. It should by default queue the messages for one week right? This is what I get instead: I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry. Although I'm listed as a best-preference MX or A for that host, it isn't in my control/locals file, so I don't treat it as local. (#5.4.6) READ the above message carefully and check your dns Willy De la Court Quint Nv http://www.quint.be/projects/ -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOucgj/4IaGw3x6aJEQK1mACg+M5tkVRQne9hwYkSh87ldyTHVJQAnigX gyn88dYC7VO36lMYSRt/jVaY =hytC -END PGP SIGNATURE-
RE: qmail as Back up MX box
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, April 25, 2001 22:30, mick [SMTP:[EMAIL PROTECTED]] wrote: There is a bogus MX record setup for testing: ; ;MX Records for mtco.net ; mtco.net. IN MX 20 bogus.mtco.com. mtco.net. IN MX 30 ns2.mtco.com. It points to a non-responsive IP address to simulate the primary server going down. that looks good but bogus.mtco.com does not resolve to an ip that maybe the problem the dns resolving of qmail probably disregards this hostname. try to add an a record so that bogus.mtco.com resolves to an ip of a machine that does run smtp Willy De la Court Quint NV http://www.quint.be/projects -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOuctcP4IaGw3x6aJEQI9QQCcCs0WbflKbwO/Fky9POMYXn7ZC94AoNU4 ZjArn/Qew1wCgjeQEWzEnq6n =2eBP -END PGP SIGNATURE-
RE: qmail as Back up MX box
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, April 25, 2001 23:40, mick [SMTP:[EMAIL PROTECTED]] wrote: It resolves to an IP: [root@ns2 log]# ping bogus.mtco.net PING bogus.mtco.net (24.17.22.210): 56 octets data Here is a paste of the results i get set type=mx mtco.net Server: stargate.speedy.home Address: 192.168.1.253 Non-authoritative answer: mtco.netpreference = 30, mail exchanger = ns2.mtco.com mtco.netpreference = 20, mail exchanger = bogus.mtco.com Authoritative answers can be found from: mtco.netnameserver = ns2.mtco.com mtco.netnameserver = ns.mtco.com ns2.mtco.cominternet address = 207.179.200.10 ns.mtco.com internet address = 207.179.200.2 server 207.179.200.10 Default Server: ns2.mtco.com Address: 207.179.200.10 set type=a bogus.mtco.com Server: ns2.mtco.com Address: 207.179.200.10 *** ns2.mtco.com can't find bogus.mtco.com: Non-existent host/domain so it seems there is a problem with your dns i can't seem to resolve the bogus.mtco.com hmm just noticed your pinging to bogus.mtco.net and not to bogus.mtco.com as in the mx record An IP that is not going to respond To simulate a primary MX going down. Which is the point of a backup MX server. If the primary were responding and running smpt it wouldn't matter :) On Wed, 25 Apr 2001, Willy De la Court wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, April 25, 2001 22:30, mick [SMTP:[EMAIL PROTECTED]] wrote: There is a bogus MX record setup for testing: ; ;MX Records for mtco.net ; mtco.net. IN MX 20 bogus.mtco.com. mtco.net. IN MX 30 ns2.mtco.com. It points to a non-responsive IP address to simulate the primary server going down. that looks good but bogus.mtco.com does not resolve to an ip that maybe the problem the dns resolving of qmail probably disregards this hostname. try to add an a record so that bogus.mtco.com resolves to an ip of a machine that does run smtp Willy De la Court Quint NV http://www.quint.be/projects -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOuctcP4IaGw3x6aJEQI9QQCcCs0WbflKbwO/Fky9POMYXn7ZC94AoNU4 ZjArn/Qew1wCgjeQEWzEnq6n =2eBP -END PGP SIGNATURE- * Mick Dobra Systems Administrator MTCO Communications 1-800-859-6826 * -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOudBTf4IaGw3x6aJEQIfzQCdEgKGvXdtM74vx5G/VhYUSqLaUWgAoKN8 bss2+jeaYTY/2ncmdLH0rk3b =/zTs -END PGP SIGNATURE-
RE: Can't establish SMTP connection (Error 4.4.1)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Attention attached to this message i received was the emanual virus. Is'nt it time to install a virus scanner on the list. On Monday, April 23, 2001 16:05, jessica [SMTP:[EMAIL PROTECTED]] wrote: File: ATT00089.txt; charset = big5File: Emanuel.exe -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOuRW2/4IaGw3x6aJEQLiQQCdEZBMUiG5H9WrSH1b3LfQgCr+3dQAn2BC q6SvljEaRo89KTHbZTukGp1d =ss/U -END PGP SIGNATURE-
RE: Help with qmail-popup and tcpserver (Unable to write pipe Error)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, April 17, 2001 10:25, Raphael Debeugny [SMTP:[EMAIL PROTECTED]] wrote: [snip] pass qwerty -ERR unable to write pipe Connection closed by foreign host. - Content of /etc/init.d/qmail (start section) csh -cf '/var/qmail/rc ' /usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -R -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger smtpd 3 echo $! /var/lock/subsys/qmail-smtpd /usr/local/bin/tcpserver -R 0 pop3 /var/qmail/bin/qmail-popup trimaran.com \ /bin/checkpoppassword /var/qmail/bin/qmail-pop3d Maildir echo $! /var/lock/subsys/qmail-pop3d check the paths permissions and ownership of checkpoppassword and qmail-pop3d if you using the standard qmail setup it should be checkpassword unless you replaced it with another version. Any help appreciated !! Raphael -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOtvz2v4IaGw3x6aJEQL+hQCfeUA9OjLyZTJ2UDWZv/FemJyLTDIAnA8e KmsHzHIBn4jFzIqX09ucKM6P =ByX8 -END PGP SIGNATURE-
RE: POP LOG
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rick, On Monday, April 16, 2001 12:24, Rick Updegrove [SMTP:[EMAIL PROTECTED]] wrote: From: [EMAIL PROTECTED] I am no expert but I think you need the "21" at the end of your qmail-pop3d/run. I know mine has that. I also think you "should" use the softlimit. You are absolutely right rick the logging is done to stderr and not to stdout so the 21 should do the trick. Willy De la Court -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOtrQYv4IaGw3x6aJEQIZCQCgl0Gpg3dK0T2SGkABGSgx0iDln5AAoKze j6l1Dhl+1cOJWHq5bIBrKbW9 =D0I/ -END PGP SIGNATURE-
RE: delivery to local postmaster could not happen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patric, On Saturday, April 16, 2005 18:10, Patric de Waha [SMTP:[EMAIL PROTECTED]] wrote: Hi, Maillog says: Apr 16 17:58:13 void qmail: 987436693.474503 starting delivery 57: msg 218656 to local [EMAIL PROTECTED] Apr 16 17:58:13 void qmail: 987436693.474811 status: local 1/10 remote 0/20 Apr 16 17:58:13 void qmail: 987436693.498477 delivery 57: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/ Apr 16 17:58:13 void qmail: 987436693.498708 status: local 0/10 remote 0/20 Ok I see that mails can not be delivered to [EMAIL PROTECTED] (yy.xxx.lu is the server name), because there is no Maildir.. But where does qmail look for the maildir? The filesystem path? So I can create it. Here are my account in relation width mail. pop:*:68:6:Post Office Owner:/nonexistent:/sbin/nologin alias:*:1002:1001:User :/var/qmail/alias:/nonexistent what does the file /var/qmail/alias/.qmail-postmaster contain if it contains nothing the Maildir should be created under the /var/qmail/alias/ directory and have the alias ownership. qmaild:*:1003:1001:User :/var/qmail:/nonexistent qmaill:*:1004:1001:User :/var/qmail:/nonexistent qmailp:*:1005:1001:User :/var/qmail:/nonexistent qmailq:*:1006:1002:User :/var/qmail:/nonexistent qmailr:*:1007:1002:User :/var/qmail:/nonexistent qmails:*:1008:1002:User :/var/qmail:/nonexistent vpopmail:*:1009:1003:User :/var/vpopmail:/bin/sh Thanks in advance -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOtsYNP4IaGw3x6aJEQKn5ACfS8y8HTnCvQL967NZcFdMRgLa8OIAnjtO yIfOQshCjmnMTym6IQTzVJ86 =VA6x -END PGP SIGNATURE-
RE: Adding disclaimer to all Internet-bound emails?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday, April 16, 2001 19:18, Frederic Faure [SMTP:[EMAIL PROTECTED]] wrote: Hi, I checked on the web and the archives of this list, but no luck. Can you confirm that qmail is unable to add a disclaimer to any outgoing e-mail? With qmail-qfilter by Bruce Guenter you should be able to do it. check here http://em.ca/~bruceg/qmail-qfilter/ Thx FF. -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOtskP/4IaGw3x6aJEQI7JwCeJTiF1D589WoLRHfOVKWWfYmX3C4AnRQN 5ISNWtCmB+6NIrbcnEZ+aDu7 =mCpU -END PGP SIGNATURE-
qmail-popup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, A question about qmail-popup. Here is a part of the qmail-popup manual. qmail-popup expects descriptor 0 to read from the network and descriptor 1 to write to the network. It reads a username and password from descriptor 0 in POP's USER-PASS style or APOP style. It invokes subprogram, with the same descriptors 0 and 1; descriptor 2 writing to the network; and descriptor 3 reading the username, What use is it to give descriptor 2 as writing to the network i'v checked the source for qmail-pop3d and did not find anything that wrote to descriptor 2. Are there any programs out there that do use it? I know descriptor 2 is stderr so it could be that when an error msg is send to stderr it is send to the network, but how can you do logging in this case. My patch for pop3d loggin disables this feature and send the error msgs from qmail-pop3d to stdout(1) and stderr(2) so that the error is send to the network and also to any logging program that is used. Any comments on this. Willy De la Court -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOts5Ov4IaGw3x6aJEQLhmgCeIjOtxfd86vlI0QMnyDpH0yU7eqUAoKNB YTTlokvu4e/OsLpkAoJdyCIe =Tng7 -END PGP SIGNATURE-
RE: POP LOG
cedric, check http://www.quint.be/projects/ i have a poplogging patch there for qmail-pop3d and qmail-popup Willy De la Court On Monday, April 16, 2001 01:54, [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] wrote: Hi, I need to implement a log for the POP service. Any suggestions? I'll probably have to modify qmail-pop3d's code, any hints? exec env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R 0 pop3 \ /var/qmail/bin/qmail-popup smashweb.com / /usr/home/vpopmail/bin/vchkpw / /var/qmail/bin/qmail-pop3d Maildir Thank you, Cedric Veilleux
RE: tcpserver - pop3d logging
kurth, I wrote a logging patch to do just that. see http://www.quint.be/projects/ -Willy On Thursday, April 12, 2001 02:20, Kurth Bemis [SMTP:[EMAIL PROTECTED]] wrote: i know that its been asked on the list before.but i can't remember when or the answer for that matter. i'd like to log the usernames from my pop users...to see who is getting their mail and whose not :-) i thought that there was a tcpserver or multilog switch for it...but i can't remember...can someone help me out :-) ~kurth
RE: test with postmaster failed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, You forgot these # redirect postmaster and mailder-daemon mail to root echo root /var/qmail/alias/.qmail-postmaster echo root /var/qmail/alias/.qmail-mailer-daemon # after this you have 2 choices you can create a Maildir maildirmake /var/qmail/alias chmod -R 600 /var/qmail/alias/Maildir chown -R alias:qmail /var/qmail/alias/Maildir # or you can redirect all mail to root to another user echo otheruser /var/qmail/alias/.qmail-root # where otheruser is the user who needs to receive all the mail to root This should solve your problem. On Monday, April 09, 2001 11:11, Franco Vecchiato [SMTP:[EMAIL PROTECTED]] wrote: Hi, I'm trying to install qmail on a PC with a Suse Linux distribution (I installed sendmail but I never configured it), and there are problems with aliases (postmaster). I downloaded the tar.gz packages from www.flounder.net/qmail/qmail-howto.html (qmail, qmail patch, daemontools, dot-forward, fast-forward, rblsmtpd, ucspi-tcp), unpacked them and applied the patch to qmail; then I followed steps 1-10 in the INSTALL file (and the related steps in INSTALL.ids, INSTALL.ctl and INSTALL.alias): - mkdir /var/qmail - groupadd nofiles - useradd -g nofiles -d /var/qmail/alias alias - useradd -g nofiles -d /var/qmail qmaild - useradd -g nofiles -d /var/qmail qmaill - useradd -g nofiles - groupadd qmail - useradd -g qmail -d /var/qmail qmailq - useradd -g qmail -d /var/qmail qmailr - useradd -g qmail -d /var/qmail qmails - cd /usr/local/src/qmail-1.03 - make setup check - ./config-fast my.full.host.name - cd ~alias - touch .qmail-postmaster - touch .qmail-mailer-daemon - touch .qmail-root - chmod 644 ~alias/.qmail* - cp /var/qmail/boot/home /var/qmail/rc - csh -cf '/var/qmail/rc ' finally I made the tests in the TEST.deliver file: the tests 1-5 succeeded, but local-postmaster failed; I also failed when I tried to send a mail to root. The log file (/var/mail/log) reported: "Unable_to_open_./Mailbox:_access_denied._(#4.2.1)/" Can someone tell me why? I've also compiled the other packages before starting the configuration of qmail. Could this cause any problems to qmail in general? Thanks in advance Franco -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOtHn//4IaGw3x6aJEQJiZgCgnJTJu1dwpLDeU2BdGH9Ag+c92z4AoMSF YFlS823C+onTagnYwQ3xZ8ri =/zZE -END PGP SIGNATURE-
Logging patch for qmail-pop3d and qmail-popup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I wrote a small patch to do some logging of POP account usage. I only wanted to have some loggin of users loggin in and the message size retrieved. Also any error that occurs is logged in order to facilitate incorrect login attempts and other errors. NO PASSWORD are written to the logfile. Please give some feedback. Here it is. diff -Naur qmail-1.03.orig/qmail-pop3d.c qmail-1.03/qmail-pop3d.c - --- qmail-1.03.orig/qmail-pop3d.c Sat Feb 24 14:26:54 2001 +++ qmail-1.03/qmail-pop3d.cSat Feb 24 22:52:55 2001 @@ -41,6 +41,9 @@ char ssinbuf[128]; substdio ssin = SUBSTDIO_FDBUF(saferead,0,ssinbuf,sizeof ssinbuf); +char sserrbuf[128]; +substdio sserr = SUBSTDIO_FDBUF(safewrite,2,sserrbuf,sizeof sserrbuf); + void put(buf,len) char *buf; int len; { substdio_put(ssout,buf,len); @@ -53,8 +56,25 @@ { substdio_flush(ssout); } +void writelog(char *x1, char *x2, char *x3, char *x4) +{ + char strnum[FMT_ULONG]; + + strnum[fmt_ulong(strnum,getpid())] = 0; + + substdio_puts(sserr,"pop3d: pid "); + substdio_puts(sserr,strnum); + substdio_puts(sserr," "); + if (x1) substdio_puts(sserr,x1); + if (x2) substdio_puts(sserr,x2); + if (x3) substdio_puts(sserr,x3); + if (x4) substdio_puts(sserr,x4); + substdio_puts(sserr,"\n"); + substdio_flush(sserr); +} void err(s) char *s; { + writelog("-ERR ", s, 0, 0); puts("-ERR "); puts(s); puts("\r\n"); @@ -193,6 +213,7 @@ rename(m[i].fn,line.s); /* if it fails, bummer */ } okay(); + writelog("QUIT", 0, 0, 0); die(); } @@ -257,6 +278,7 @@ int i; unsigned long limit; int fd; + char strnum[FMT_ULONG]; i = msgno(arg); if (i == -1) return; @@ -271,6 +293,8 @@ substdio_fdbuf(ssmsg,read,fd,ssmsgbuf,sizeof(ssmsgbuf)); blast(ssmsg,limit); close(fd); + strnum[fmt_ulong(strnum,m[i].size)] = 0; + writelog("RETR: ", "msglen: ", strnum, 0); } struct commands pop3commands[] = { diff -Naur qmail-1.03.orig/qmail-popup.c qmail-1.03/qmail-popup.c - --- qmail-1.03.orig/qmail-popup.c Mon Jun 15 12:53:16 1998 +++ qmail-1.03/qmail-popup.cSat Feb 24 22:52:55 2001 @@ -38,6 +38,9 @@ char ssinbuf[128]; substdio ssin = SUBSTDIO_FDBUF(saferead,0,ssinbuf,sizeof ssinbuf); +char sserrbuf[128]; +substdio sserr = SUBSTDIO_FDBUF(safewrite,2,sserrbuf,sizeof sserrbuf); + void puts(s) char *s; { substdio_puts(ssout,s); @@ -46,8 +49,25 @@ { substdio_flush(ssout); } +void writelog(char *x1, char *x2, char *x3, char *x4) +{ + char strnum[FMT_ULONG]; + + strnum[fmt_ulong(strnum,getpid())] = 0; + + substdio_puts(sserr,"popup: pid "); + substdio_puts(sserr,strnum); + substdio_puts(sserr," "); + if (x1) substdio_puts(sserr,x1); + if (x2) substdio_puts(sserr,x2); + if (x3) substdio_puts(sserr,x3); + if (x4) substdio_puts(sserr,x4); + substdio_puts(sserr,"\n"); + substdio_flush(sserr); +} void err(s) char *s; { + writelog("-ERR ", s, 0, 0); puts("-ERR "); puts(s); puts("\r\n"); @@ -67,7 +87,7 @@ void err_authoriz() { err("authorization first"); } void okay() { puts("+OK \r\n"); flush(); } - -void pop3_quit() { okay(); die(); } +void pop3_quit() { okay(); writelog("QUIT", 0, 0, 0); die(); } char unique[FMT_ULONG + FMT_ULONG + 3]; @@ -88,7 +108,14 @@ int wstat; int pi[2]; - - if (fd_copy(2,1) == -1) die_pipe(); + /* Don't know why this is needed has no effect when removed + it stands in the way of good logging with multilog + checked qmail-pop3d it does not use the fd 2 + it only writes to stdout not stderr not even for errors + Willy De la Court [EMAIL PROTECTED] + */ + + /* if (fd_copy(2,1) == -1) die_pipe();*/ close(3); if (pipe(pi) == -1) die_pipe(); if (pi[0] != 3) die_pipe(); @@ -140,6 +167,7 @@ seenuser = 1; if (!stralloc_copys(username,arg)) die_nomem(); if (!stralloc_0(username)) die_nomem(); + writelog("USER: ", arg, 0, 0); } void pop3_pass(arg) char *arg; { @@ -153,6 +181,7 @@ space = arg + str_chr(arg,' '); if (!*space) { err_syntax(); return; } *space++ = 0; + writelog("APOP: ", arg, 0, 0); doanddie(arg,space - arg,space); } -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOsoypf4IaGw3x6aJEQJeHQCfT1AIeTmy86XZIfDKcfPWk0Lh/3gAn2YQ b8k/K/VPwyTvQxC5JFyLEumH =/0QT -END PGP SIGNATURE-