Re: spam and well known smtp servers
Hi again, At 22:37 4.7.2000 +0200, Andre Oppermann wrote: Erwin Hoffmann wrote: Hi, since I'm dealing with the SPAMCONTROL patch, I would like to comment your problem: 1. You are right. Within the filtering mechanisms a logical "AND" scheme is missing. To implement this requires some attention. 2. Principally the following checks could be applied: Logic: a) The envelope's MAIL FROM: address has to be taken. b) From TCPENV the REMOTEIP has to be taken (= real Sender IP) c) By means of a DNS A-Lookup(MAIL FROM: address) the (let's call it) pretended IP address has to be evaluated. Assumption: For legitamate E-Mails both IP addresses belong (usually) to the same IP subnet. However, one has to define a range of significant IP address bits to evaluate (common in the CIDR scheme). Unfortunatly this assumption is pretty much flawed. For example I have two IP ranges, 195.134.128/19 and 62.48.0.0/19. Now my customers are usually in the 195 range but my mail servers are in the 62 range. So how do you propose to handle that? Yes, I know about that. The other attempt is to use static IP adresses as Markus' proposed. Both schemes could be combined. Let's assume we have an additional control file ./stmpallowedfrom: hotmail.com:195.111.222.200/19 (address range) fehcom.de:195.162.195.1,195.162.195.2 (list of static ip addresses) This would give you some possibilty without the need to really now what are the IP adresses of an SMTP sender. The address parsing is a little tricky. eh. Result: = Comparing both IP addresses would effectively eliminate reception of E-mail thru 3rd party relays, as in your case. I think about but don't promise anything. There are other items on my agenda. -- Andre +---+ | fffhh http://www.fehcom.deDr. 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: spam and well known smtp servers
this is a bit off topic, but i consider it useful anyway ... http://spamcop.net offers handy online forms that process spam mails (do whois / dns lookups) and prepare a ready-to-send complaint emails with choices which ISP/Mail Server to send them to ... i use it a lot with spam arriving in our domain. to use the service you need to sign up once at http://spamcop.net/anonsignup.shtml regards wolfgang __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
cannot authenticate
Hi there: I'm not sure if this list is the right place, or I should post it to vpopmail list. But please help. --- I'm new to qmail, but have installed it according to the INSTALL file, and faq. I also installed vpopmail. Problem is when I tested the system the delivery works fine. All mails go to the right path in each virtual domain Maildir. But when I tried to pop in to get mail from a virtual domain that I put in place, using outlook express, I couldn't authenticate. The log mesg says: Jul 5 10:25:35 myhost in.qpopper[972]: webmaster%mydomain.com at bkk7a-102.dial56k.cscoms.com (202.183.197.102): -ERR [AUTH] Password supplied for "webmaster%mydomain.com" is incorrect. The password is correct, but look like qpopper is doing the job, instead of qmail or vpopmail. I couldn't find the document on this, so any help would be really appreciated. Thanks kittiwat
Converting mbox to maildir.
Hi I have used procmail to deliver to ~/Mail/* for a long time. There's a lot of mail in mbox-format that I would like to convert (actually 20 mbox-files, gee!) in one go, like: $ convert -R ~/Mail ~/Maildir or something like that. I couldn't find any programs/scripts for that anywherei, any ideas? (I've looked at mbox2maildir, but as far as I could tell it didn't work like that, but I'm not really sure). Also; someone on this list told me that procmail can do maildirs, and I've now upgraded to v3.15pre, but can't find any references to maildir in the docs ($MAILDIR, yes, but not maildir-format), is it really just to append a '/' to the folders i sort my mail into, remove locking, and run procmail from ~/.qmail? Thank you very much for your time. Regards Morten -- Morten Liebach [EMAIL PROTECTED] ; http://home1.stofanet.dk/liebach "Our scientific power has outrun our spiritual power. We have guided missiles and misguided men (Martin Luther King, Jr.)"
Re: spam and well known smtp servers
i need to unsubscribe: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] from this list as he is no longer a user at this server. please help. regards, mark On Wed, 5 Jul 2000, Erwin Hoffmann wrote: Hi again, At 22:37 4.7.2000 +0200, Andre Oppermann wrote: Erwin Hoffmann wrote: Hi, since I'm dealing with the SPAMCONTROL patch, I would like to comment your problem: 1. You are right. Within the filtering mechanisms a logical "AND" scheme is missing. To implement this requires some attention. 2. Principally the following checks could be applied: Logic: a) The envelope's MAIL FROM: address has to be taken. b) From TCPENV the REMOTEIP has to be taken (= real Sender IP) c) By means of a DNS A-Lookup(MAIL FROM: address) the (let's call it) pretended IP address has to be evaluated. Assumption: For legitamate E-Mails both IP addresses belong (usually) to the same IP subnet. However, one has to define a range of significant IP address bits to evaluate (common in the CIDR scheme). Unfortunatly this assumption is pretty much flawed. For example I have two IP ranges, 195.134.128/19 and 62.48.0.0/19. Now my customers are usually in the 195 range but my mail servers are in the 62 range. So how do you propose to handle that? Yes, I know about that. The other attempt is to use static IP adresses as Markus' proposed. Both schemes could be combined. Let's assume we have an additional control file ./stmpallowedfrom: hotmail.com:195.111.222.200/19(address range) fehcom.de:195.162.195.1,195.162.195.2 (list of static ip addresses) This would give you some possibilty without the need to really now what are the IP adresses of an SMTP sender. The address parsing is a little tricky. eh. Result: = Comparing both IP addresses would effectively eliminate reception of E-mail thru 3rd party relays, as in your case. I think about but don't promise anything. There are other items on my agenda. -- Andre +---+ | fffhh http://www.fehcom.deDr. 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 | +---+
qmail-start
Hello List, I am back after a disaster which caused a complete loss of all data including backups. I am trying to reinstate my previous mutt-qmail-fetchmail-procmail setup but unlike the first time I cannot do an error-free install of qmail. Firstly as user when I open a term I get the message: env: qmail-start: Permission denied. I have followed both LWQ and the how-to and have checked permissions without finding what is wrong. Secondly, when I open a term I get a number like [1] 27087 in the top left corner, caused by the csh -cf '/var/qmail/rc ' script I added to .bashrc as per the install notes para 14. Last time I managed to dispense with this but I can't remember how. Can anyone assist please? Thank you. -- Dennis Robertson 2/2 Sylvia Street NOOSAVILLE QLD 4566 Phone: 61 7 54742343 Mob: 0419 535539
RE: URGENT!!! HELP!!! HP-UX fault
Would you mind also posting the contents of your file, /var/qmail/rc? Thanks, Dave -Original Message- From: Eldar Imangulov [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 04, 2000 2:58 PM To: [EMAIL PROTECTED] Subject: URGENT!!! HELP!!! HP-UX fault Hello ppl! I have HP-UX web1 B.11.00 U 9000/800 610339382 unlimited-user license my qmail start script runs Ok, but qmail stops. When I restart qmail deamon manualy it keeps runing. here is what I run: #!/sbin/sh # # /etc/rc*.d/S**qmail - Start/Stop the qmail daemon # PATH=/usr/bin:/bin:/var/qmail/bin:/var/qmail/conf:$PATH case $1 in "start") # csh -cf '/var/qmail/rc ' echo -n ' qmail' csh -cf '/var/qmail/bin/qmail-start ./Mailbox splogger qmail ' echo -n ' qmail' sleep 10 ;; "stop") pid=`/usr/bin/ps -e | /usr/bin/grep qmail-send | /usr/bin/sed -e 's/^ *//' -e 's/ .*//'` if test "$pid" then kill $pid fi ;; "start_msg") echo "Starting qmail" ;; "stop_msg") echo "Stopping qmail" ;; *) echo "usage: /sbin/init.d/qmail {start|stop}" ;; esac Any ideas? Regards, Eldar Imangulov
Re: URGENT!!! HELP!!! HP-UX fault
here it is: #!/sbin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. exec env - PATH="/var/qmail/bin:$PATH" \ /var/qmail/bin/qmail-start ./Mailbox splogger qmail Regards, Eldar Imangulov ([EMAIL PROTECTED]) From: Dave Kitabjian [EMAIL PROTECTED] To: 'Eldar Imangulov' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, July 05, 2000 4:38 PM Subject: RE: URGENT!!! HELP!!! HP-UX fault Would you mind also posting the contents of your file, /var/qmail/rc? Thanks, Dave -Original Message- From: Eldar Imangulov [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 04, 2000 2:58 PM To: [EMAIL PROTECTED] Subject: URGENT!!! HELP!!! HP-UX fault Hello ppl! I have HP-UX web1 B.11.00 U 9000/800 610339382 unlimited-user license my qmail start script runs Ok, but qmail stops. When I restart qmail deamon manualy it keeps runing. here is what I run: #!/sbin/sh # # /etc/rc*.d/S**qmail - Start/Stop the qmail daemon # PATH=/usr/bin:/bin:/var/qmail/bin:/var/qmail/conf:$PATH case $1 in "start") # csh -cf '/var/qmail/rc ' echo -n ' qmail' csh -cf '/var/qmail/bin/qmail-start ./Mailbox splogger qmail ' echo -n ' qmail' sleep 10 ;; "stop") pid=`/usr/bin/ps -e | /usr/bin/grep qmail-send | /usr/bin/sed -e 's/^ *//' -e 's/ .*//'` if test "$pid" then kill $pid fi ;; "start_msg") echo "Starting qmail" ;; "stop_msg") echo "Stopping qmail" ;; *) echo "usage: /sbin/init.d/qmail {start|stop}" ;; esac Any ideas? Regards, Eldar Imangulov
RE: tcpserver alpha linux problems
Hey thanks a lot Wayne, that fixed my problem. And here I was ready to blame the alpha. :-) Dave -Original Message- From: Wayne Chan To: Hubbard, David Sent: 7/3/00 11:14 PM Subject: Re: tcpserver alpha linux problems If you have setup your qmail according to life-with-qmail, try increasing your softlimit to 500 instead of 200, it will help. "Hubbard, David" wrote: Hi all, I just installed qmail, daemontools 0.70 and ucspi-tcp-0.88 on an alpha running redhat v6.2. The qmail tests for local and remote delivery from TEST.deliver work fine, but the TEST.receive tests aren't possible because nothing is listening on port 25. I did some investigating and from my qmail /var/log/qmail/smtpd/current log file, I see an endless output of: @40003960c9d802f8279c /usr/local/bin/tcpserver: error in loading shared libraries: libc.so.6.1: failed to map segment from shared object: Cannot allocate memory Now I know it's not an actual memory problem because I've got a gig of ram in the machine, so is it an alpha related problem? I've run the same setup steps on this box as I've done on many others so it isn't my setup or qmail itself I don't think... Please help. :-) I did check the archives but didn't see anything relevant in my search for "alpha linux tcpserver" Thanks, Dave
RE: URGENT!!! HELP!!! HP-UX fault
Hmm. My untrained eye isn't seeing anything offhand, but perhaps the gurus here can comment. You might start isolating the problem by removing the " echo -n ' qmail'" from your script, and running it again. Also, look in /var/log/maillog; are there any messages being produced? Dave -Original Message- From: Eldar Imangulov [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 05, 2000 8:40 AM To: Dave Kitabjian; [EMAIL PROTECTED] Subject: Re: URGENT!!! HELP!!! HP-UX fault here it is: #!/sbin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. exec env - PATH="/var/qmail/bin:$PATH" \ /var/qmail/bin/qmail-start ./Mailbox splogger qmail Regards, Eldar Imangulov ([EMAIL PROTECTED]) From: Dave Kitabjian [EMAIL PROTECTED] To: 'Eldar Imangulov' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, July 05, 2000 4:38 PM Subject: RE: URGENT!!! HELP!!! HP-UX fault Would you mind also posting the contents of your file, /var/qmail/rc? Thanks, Dave -Original Message- From: Eldar Imangulov [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 04, 2000 2:58 PM To: [EMAIL PROTECTED] Subject: URGENT!!! HELP!!! HP-UX fault Hello ppl! I have HP-UX web1 B.11.00 U 9000/800 610339382 unlimited-user license my qmail start script runs Ok, but qmail stops. When I restart qmail deamon manualy it keeps runing. here is what I run: #!/sbin/sh # # /etc/rc*.d/S**qmail - Start/Stop the qmail daemon # PATH=/usr/bin:/bin:/var/qmail/bin:/var/qmail/conf:$PATH case $1 in "start") # csh -cf '/var/qmail/rc ' echo -n ' qmail' csh -cf '/var/qmail/bin/qmail-start ./Mailbox splogger qmail ' echo -n ' qmail' sleep 10 ;; "stop") pid=`/usr/bin/ps -e | /usr/bin/grep qmail-send | /usr/bin/sed -e 's/^ *//' -e 's/ .*//'` if test "$pid" then kill $pid fi ;; "start_msg") echo "Starting qmail" ;; "stop_msg") echo "Stopping qmail" ;; *) echo "usage: /sbin/init.d/qmail {start|stop}" ;; esac Any ideas? Regards, Eldar Imangulov
Re: Converting mbox to maildir.
On 05-Jul-2000, Morten Liebach wrote: lot of mail in mbox-format that I would like to convert (actually 20 mbox-files, gee!) in one go, like: $ convert -R ~/Mail ~/Maildir or something like that. I couldn't find any programs/scripts for that anywherei, any ideas? (I've looked at mbox2maildir, but as far as I could tell it didn't work like that, but I'm not really sure). for m in ~/Mail/* ~/Maildir ; do mbox2maildir $m [..whatever..] ; done Also; someone on this list told me that procmail can do maildirs, and I've now upgraded to v3.15pre, but can't find any references to maildir in the docs ($MAILDIR, yes, but not maildir-format), is it really just to append a '/' to the folders i sort my mail into, remove locking, and run procmail from ~/.qmail? Yes. Ronny
Re: Error message - Again
Roberto Samarone Araújo (RSA) [EMAIL PROTECTED] wrote: I don't have any alias ... If a remote host send me an email , the qmail doesn't put it in Maildir ... it logs the error message : delivery 38: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/ Did you check ~alias/Maildir? It's not just used for aliases... -Dave
Clearing dead mail from queues
I had to re-compile qmail. Prior to the recompile, there were 10 messages (all for local delivery) in 'todo'. After the recompile, with qmail running properly, those 10 have moved to the queue but are not being delivered. The log is showing the same error message for all - "wrong owner" (or something very similar - I can't get acess to the logs as I write this). How do I clear the queue of these messages? I don't care if they get deleted in the process. Thanks, Barry
security issue
Hello, Running a network test against my recent qmail installation, I get reports on the mailto programs hole, which allows users to telnet to port 25 and issue: MAIL FROM: root@this_host RCPT: any program This allows users to potentially execute any command with root authority. The warning came with the caveat that this may not be an issue, as some MTA's simply drop these messages silently. Does anyone know how qmail handles this? Is this an issue with qmail, or is qmail one of the exceptions? Thanks.
Re: URGENT!!! HELP!!! HP-UX fault
"Eldar Imangulov" [EMAIL PROTECTED] wrote: my qmail start script runs Ok, but qmail stops. When? Shortly after rebooting? When I restart qmail deamon manualy it keeps runing. Until you reboot? If so, it sounds like you need to disassociate qmail from the controlling tty, e.g. by "nohup"'ing it: nohup '/var/qmail/bin/qmail-start ./Mailbox splogger qmail ' echo -n ' qmail' The csh should be doing that automatically, but maybe HP's csh is different. -Dave
Re: qmail and dial-on-demand
[EMAIL PROTECTED] writes: The other question that arises is that I'd quite like qmail *not* to accept SMTP mail from the outside world (my ISP delivers using SMTP but want it to continue to accept SMTP mail from other computers on my home LAN. How can I do this? man tcprules. If you have your own block of IP addresses for your home net, you could use somthing like: a.b.c.:allow :deny Otherwise: a0.b0.c0.d0:allow a1.b1.c1.d1:allow ... one for each address in your network :deny paul
Re: qmailq problem
Steffan Hoeke [EMAIL PROTECTED] wrote: What *does* the last number in @4000395b7d5233ba0ecc delivery 123: success: did_1+0+0/ stand for ? The first number is a local delivery The second number is a remote delivery The third number is .. ? program deliveries -Dave
Re: spam and well known smtp servers
On Jul 04 2000, Markus Stumpf wrote: But this is exactly the point. Valid (e.g.!!!) hotmail.com eMails should come from an outgoing hotmail.com smtp server. If they don't they're most probably faked sender addresses used by spammers. No, they should not. For instance, all my e-mails use iname.com as the envelope and as the From: field, but I don't send mail from them (in fact, they are in another country); I use my ISP's relays. The same applies to everybody that uses a forwarder address for their e-mails and so you (and your customers) won't be able to receive such e-mails if you block in that way. In fact, I never use my real e-mail address because it's constantly changing. There is not any switch of tcpserver that helps detect this and there is no rule that you can specify in a cdb file that prevents this spam, yet. I guess that this is one of the harder wars against spammers, for one can never know if the sending side is really a legitimate user or if it is a disguised spammer. []s, Roger... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/ Nectar homepage: http://www.linux.ime.usp.br/~rbrito/nectar/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Re: Re[4]: The most secure POP server
"clemensF" [EMAIL PROTECTED] writes: Scott Gifford: to use apop, germanynet (calisto) barked, thay would not change their entire setup for just one customer, when i asked them for apop. i dared to ask only because their greeting looks like an apop prompt, and it even changes on every dialup... so much for technical competence. They probably don't store plaintext passwords, which would make it impossible to support your request. Not a matter of technical competence as much as system design. that i don't understand. i can get my password anytime from any provider, just askin', maybe answering "secret questions". what makes you think they don't store plaintext-passwords? Just a guess; if the provider that won't provide APOP can provide you with plaintext passwords, then I don't know what their excuse is. :) -ScottG.
Re: security issue
Quoting John Steniger ([EMAIL PROTECTED]): Running a network test against my recent qmail installation, I get reports on the mailto programs hole, which allows users to telnet to port 25 and issue: MAIL FROM: root@this_host RCPT: any program Huh. I've never heard of this exploit! Now, that doesn't mean the exploit doesn't exist, or didn't, at some particular time, regarding some particular MTA. I could believe sendmaul would have an exploit like that. heh. This allows users to potentially execute any command with root authority. The warning came with the caveat that this may not be an issue, as some MTA's simply drop these messages silently. It's probably assuming that since qmail didn't return an error code that it could be vulnerable. That's not relevent with qmail since, as you know, stock qmail will accept all messages unless some other rule blocks you, i.e. badmailfrom. Does anyone know how qmail handles this? Is this an issue with qmail, or is qmail one of the exceptions? qmail would not be vulnerable to any exploit like that unless you made yourself vulnerable, and most would argue that you then not classify it as a qmail vulnerability. Perhaps you have "| hackme" in ~alias/.qmail-hackme, so a rcpt to:hackme gets you in trouble. Of course hackme will only run as user alias unless its setuid something, so program deliveries are limited unless you or your software really goof up. qmail doesn't deliver to root, so nothing in ~root/.qmail can get you clobbered, either. good luck, Aaron
Re: qmailq problem
On Wed, Jul 05, 2000 at 11:41:16AM -0400, Sill, Dave wrote: Steffan Hoeke [EMAIL PROTECTED] wrote: What *does* the last number in @4000395b7d5233ba0ecc delivery 123: success: did_1+0+0/ stand for ? The first number is a local delivery The second number is a remote delivery The third number is .. ? program deliveries Could you please elaborate ? by program do you mean a |preline e.a. in a .qmail file or something else ? -Dave TIA, Steffan -- http://therookie.dyndns.org
Re: security issue
It is not an issue. I don't remember if qmail will silently drop these messages or return a bounce for them, but it most certainly will not run any programs as root because of them. ScottG. John Steniger [EMAIL PROTECTED] writes: Hello, Running a network test against my recent qmail installation, I get reports on the mailto programs hole, which allows users to telnet to port 25 and issue: MAIL FROM: root@this_host RCPT: any program This allows users to potentially execute any command with root authority. The warning came with the caveat that this may not be an issue, as some MTA's simply drop these messages silently. Does anyone know how qmail handles this? Is this an issue with qmail, or is qmail one of the exceptions? Thanks.
qmail on Digital UNIX 4.0D -- syslog problems
Hello, I fixed the /sbin/loader errors I mentioned before the weekend by increasing the softlimit to 5000, but now I have another problem: According to TEST.delivery qmail should syslog a line whenever it starts. In my logs, I can't find anything, even though all of the qmail processes seems to start nicely shortly after I run /sbin/init.d/svscan. The reason I ask here is that the trysyslog-program that comes with the qmail-distribution works fine, ie. it syslogs a "foo" line to the mail-facility. My /etc/syslog.conf should make syslog log debug-level and above from kern, user, mail, daemon, auth, syslog, lpr and binary, and as far as I can tell, it works. I would really appreciate it if anyone could help me out here. Digital UNIX 4.0D qmail-1.03 Native compiler Best regards, Bjørn Nordbø
Re: URGENT!!! HELP!!! HP-UX fault
my qmail start script runs Ok, but qmail stops. When? Shortly after rebooting? can't see when but when after the login into the system right after the reboot and say "ps -e | grep qmail" I see nothing. When I restart qmail deamon manualy it keeps runing. Until you reboot? Yes, untill next reboot. Until that it runs with the system. If so, it sounds like you need to disassociate qmail from the controlling tty, e.g. by "nohup"'ing it: nohup '/var/qmail/bin/qmail-start ./Mailbox splogger qmail ' echo -n ' qmail' The csh should be doing that automatically, but maybe HP's csh is different. -Dave looks like it work ;-))) thanks a lot
Re: qmailq problem
Steffan Hoeke [EMAIL PROTECTED] wrote: On Wed, Jul 05, 2000 at 11:41:16AM -0400, Sill, Dave wrote: Steffan Hoeke [EMAIL PROTECTED] wrote: What *does* the last number in @4000395b7d5233ba0ecc delivery 123: success: did_1+0+0/ stand for ? The first number is a local delivery The second number is a remote delivery The third number is .. ? program deliveries Could you please elaborate ? by program do you mean a |preline e.a. in a .qmail file or something else ? Yeah, .qmail lines starting with a "|". Actually, the first number is *file* deliveries (mbox or maildir) and the second number is *forward* deliveries (lines starting with "" or [a-zA-z0-9]), which coule be either local or remote. -Dave
Trying to get QMTP protocol to work....
I've read the information in the four page printout that covers Quick Mail Transfer Protocol (QMTP-19970201). Qmail and Qmtp has been set up on a linux machine. I can telnet into port 209 (no problems). The problem is, while writing a piece of software, I cannot "QMTP" e- mail to the linux box. I have and can very easily SMTP'd e-mail. Does QMTP have a "verbose" setting for troubleshooting? When I send off the requested 8 bit transmission, I do not receive any response back. Obviously this is great for security reasons, but when developing it has become a problem. "Why use QMTP?" I've read how much faster it is (and agree with the concept), and we are migrating our mail servers from an NT environment to Linux to utilize Linux's power! ;) The back-end program will be a windows app, and obviously the QMTP port accessible only from our network. I have begun to look that the qmtpd.c (source code), and find out why it is not working. Thank you for any help (updated documents and/or code samples).
CNAME_lookup_failed_temporarily._(#4.4.3)
Hi, I had applied the patch for this and work very well with BIND. recently, I changed to DNScache and this message came back. where's the problem ?? -- Claudinei Luis Bianchini [EMAIL PROTECTED]
Re: CNAME_lookup_failed_temporarily._(#4.4.3)
Claudinei Luis Bianchini [EMAIL PROTECTED] wrote: I had applied the patch for this and work very well with BIND. recently, I changed to DNScache and this message came back. where's the problem ?? Exactly. What makes you think this message indicates a problem on your end? -Dave
Re: does qmail+ezmlm divid subscribers in chunks by domain?
On Mon, Jul 03, 2000 at 09:54:25AM +0800, ??? wrote: for example: If I use ezmlm to build a mailling list. Which has 26 subscribers : [EMAIL PROTECTED] -- [EMAIL PROTECTED] All on the same host "remote.host" Then I send a message to the mailling list, does qmail+ezmlm 1.Send ONE message to "remote.host". And let the MTA of "remote.host" deliver the message to these 26 accounts? or 2.Send 26 message to "remote.host"? ezmlm creates 26 different mails with different Return-path:s. qmail delivers them one by one. Unless you create sublists with ezmlm. /magnus -- http://x42.com/
Mails vanished when remote2local via fetchmail
On Tue, 4 Jul 2000, wolfgang zeikat wrote: Also sprach Karl Voit [EMAIL PROTECTED] on 04.07.2000: Ow. This is getting complicated now :( No its not. its logical: ;) I ment _my_ needs/configuration. [EMAIL PROTECTED] connects to your qmail via SMTP with a mail for [EMAIL PROTECTED] now qmail checks rcpthosts to find out if whatever.com is a host it accepts mail for - for delivery. if yes, it delivers them according to your qmail setup. I do not know how to set up aliases. At least I get no information out of the man-pages! So I guessed, what I have to do: touch ~alias/.qmail-testuser edit ~alias/alias and added: File : ".qmail-testuser" vk I guess this would send all testuser@accepted server from rctphosts to the local user vk. btw, I also added the .qmail-default. Now here's my problem: When my fetchmail sends all mails from my provider-server (sbox) to my server (tux), the mails don't come to my account. In fact, I don't know, where they're delivered to anyway :( Jul 5 19:03:36 tux qmail: 962816616.563087 delivery 160: success: 131.193.178.181_accepted_message./Remote_host_said:_250_ok_962816718_qp_16945/ Jul 5 19:03:36 tux qmail: 962816616.563833 status: local 0/10 remote 0/20 Jul 5 19:03:36 tux qmail: 962816616.564363 end msg 57511 ... seems to be a positive entry but noone got this mail on my server tux :( ADDITIONAL: starting delivery 157: msg 57507 to remote vk@localhost tux qmail: 962816613.462226 status: local 1/10 remote 2/20 tux qmail: 962816613.560570 delivery 157: failure: 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)/ tux qmail: 962816613.561463 status: local 1/10 remote 1/20 tux qmail: 962816613.588289 bounce msg 57507 qp 8679 tux qmail: 962816613.589109 end msg 57507 ... so all mails to vk@localhost (sent from vk@tux to vk@sbox and again to vk@sbox) get stucked but I want it that way! ("localhost" already added to rctphosts) Karl VOIT, [EMAIL PROTECTED] Student @ University of Technology of GRAZ (Austria/Europe) http://www.sbox.tu-graz.ac.at/home/v/vk/
Re: Bounce questions
"Ian Layton" [EMAIL PROTECTED] wrote: Thank you for all the comments I received about my previous question. I am now needing to make a program that will analyses bounced messages from Qmail and be able to distinguish between hard (permanent bounces) and soft (temporary) bounces. Is there any standard out there on how to recognize the difference. Also, I would like this program to execute upon delivery of a bounce message. I believe it's possible but I'm not sure how. Russ Nelson used to have something called "bounceman" that did that. He's no longer distributing it because ezmlm incorporates similar (but apparently better) functionality. -Dave
Re: tcprules, rcpthost, ip address problem
Barry Dwyer writes: My tcp.smtp file has proper settings to allow the local clients to work as RELAYCLIENTS: 127.0.0.1:allow,RELAYCLIENT="" 192.168.0.:allow,RELAYCLIENT="" :allow Just a speculation, but is the firewall doing NAT? Does the mail server really see 192.168.0.n as client IP addresses? Anyway, I'd look into the tcpserver's activity log for the client IP addresses the mail server sees, and use tcprulescheck to check if /etc/tcp.smtp.cdb is set up as expected. -- Tetsu Ushijima
Re: Masquerading while sending remote mail over ISP
[EMAIL PROTECTED] writes: When sending all mail as user me for remote hosts out of ./mailppp/ by: me@bbrade:~ maildirsmtp ./mailppp "" mail.arco.de bbrade I get following answer: It seems to me that this has nothing to do with masquerading issues. What are you trying to do? If you would like outgoing mail from your computer to be sent to ISP's SMTP server, you should read /usr/local/doc/serialmail/TOISP and follow the instructions. -- Tetsu Ushijima
Re: spam and well known smtp servers
Cerberus - the Guardian of Hades writes: i need to unsubscribe: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] from this list as he is no longer a user at this server. please help. 0. Arrange for mail to those addresses to be delivered somewhere where you can get to it. 1. Send mail to [EMAIL PROTECTED], [EMAIL PROTECTED], and [EMAIL PROTECTED] 2. Follow the directions given in the responses. (The responses will go to the addresses you're trying to unsubscribe, which is why you need to redirect his mail first.) paul
Re: qmail-start
Dennis Robertson writes: Firstly as user when I open a term I get the message: env: qmail-start: Permission denied. I have followed both LWQ and the how-to and have checked permissions without finding what is wrong. Secondly, when I open a term I get a number like [1] 27087 in the top left corner, caused by the csh -cf '/var/qmail/rc ' script I added to .bashrc as per the install notes para 14. These are two symptoms of the same problem. /var/qmail/rc should be run as part of *system* startup, not user login. Normal users don't have execute permission for qmail-start, thus your first symptom. The second is simply what bash does when it starts a job in the background: it prints the job number and PID. You can suppress this by starting the job from a subshell: $ (foo) But in this case, the command shouldn't be in your .bashrc at all. paul
Changing bounce message
The Powers That Be are making noises about not liking the text of qmail's bounce message. The whole "This is the qmail-send program at" thingy. I don't want to mess with DJB's pristine code, so I would rather not change it. Are there any good, concrete reasons to leave it alone? Or am I being a wuss? Ben -- The spectre of a polity controlled by the fads and whims of voters who actually believe that there are significant differences between Bud Lite and Miller Lite, and who think that professional wrestling is for real, is naturally alarming to people who don't. -- Neal Stephenson
Re: Mails vanished when remote2local via fetchmail
Now here's my problem: When my fetchmail sends all mails from my provider-server (sbox) to my server (tux), the mails don't come to my account. In fact, I don't know, where they're delivered to anyway :( Jul 5 19:03:36 tux qmail: 962816616.563087 delivery 160: success: 131.193.178.181_accepted_message./Remote_host_said:_250_ok_962816718_qp_16945/ Jul 5 19:03:36 tux qmail: 962816616.563833 status: local 0/10 remote 0/20 Jul 5 19:03:36 tux qmail: 962816616.564363 end msg 57511 ... seems to be a positive entry but noone got this mail on my server tux :( ADDITIONAL: starting delivery 157: msg 57507 to remote vk@localhost tux qmail: 962816613.462226 status: local 1/10 remote 2/20 tux qmail: 962816613.560570 delivery 157: failure: 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)/ tux qmail: 962816613.561463 status: local 1/10 remote 1/20 tux qmail: 962816613.588289 bounce msg 57507 qp 8679 tux qmail: 962816613.589109 end msg 57507 ... so all mails to vk@localhost (sent from vk@tux to vk@sbox and again to vk@sbox) get stucked but I want it that way! ("localhost" already added to rctphosts) ... and ALL mails e.g. from this mailinglist aren't accepted too (because the address of the mailinglist has no alias yet and the default doesn't work?). I'm getting nervous here and I'm thinking of deleting qmail again and switching to another MTA :( HOW can I make qmail clear, that it has to accept ALL of the incoming mails and send ALL of them (except those which are addressed to another local user) to the local user vk It seems to me that this is impossible - at least for me as a non-guru %-} Do I really have create an alias for _every_ address, qmail has to deliver to local users? (I am not able to make this aliases work anyway - see previous mail from me) HELP! Karl VOIT, [EMAIL PROTECTED] Student @ University of Technology of GRAZ (Austria/Europe) http://www.sbox.tu-graz.ac.at/home/v/vk/
Re: qmail install question
[EMAIL PROTECTED] wrote: Upon starting qmail, I get a looping error as svscan attempts to acquire these two directories, returning this error: supervise: fatal: unable to acquire qmail-send/supervise/lock: temporary failure supervise: fatal: unable to acuire qmail-smtpd/supervise/lock: temporary failure Can anyone suggest a fix? Or even a little insight into what these locks accomplish... svscan runs supervise for each "service" in the directory it's scanning. To ensure that only one supervise is supervising a service at a time, supervise tries to acquire a lock by opening supervise/lock exclusively. I can think of several things that could cause this error, including, of course, the fact that another supervise has already acquired the lock. Another would be file/directory owner/mode/existence problems. The general approach to fixing this problem is: 1) Stop all qmail-related processes including svscan, supervises, anything running as a "qmail" user, qmail-send, multilogs, etc. *Everything*. 2) Double check directory names/owners/groups/modes and the contents of "run" scripts against LWQ. Check for extraneous ampersands () at the ends of lines. 3) Restart svscan via "qmail start". If the problem doesn't go away, repeat 1 2, and re-run 3 with "sh -x /usr/local/sbin/qmail start". Cut and paste the output and post it to the list. -Dave
Re: Mails vanished when remote2local via fetchmail
Karl Voit [EMAIL PROTECTED] wrote: When my fetchmail sends all mails from my provider-server (sbox) to my server (tux), the mails don't come to my account. In fact, I don't know, where they're delivered to anyway :( That's a fetchmail issue. What's in your .fetchmailrc? Have you looked in alias's mailbox? starting delivery 157: msg 57507 to remote vk@localhost "localhost" is remote? What's in control/locals? ... and ALL mails e.g. from this mailinglist aren't accepted too (because the address of the mailinglist has no alias yet and the default doesn't work?). First, qmail has to be told that localhost is local. Then you can use ~alias/.qmail-default to catch mail to all addresses that don't match existing users or aliases. -Dave
Re: Changing bounce message
On Wed, Jul 05, 2000 at 01:55:44PM -0500, Ben Beuchler wrote: The Powers That Be are making noises about not liking the text of qmail's bounce message. The whole "This is the qmail-send program at" thingy. I don't want to mess with DJB's pristine code, so I would rather not change it. Are there any good, concrete reasons to leave it alone? Or am I being a wuss? Because it's the nearest to a suggestion to a standard that is: http://cr.yp.to/proto/qsbmf.txt It's well defined and polite. What part of this bounce is it that you don't like? /magnus -- http://x42.com/
Re: QMAIL delivery delay problem
Peter Mitev [EMAIL PROTECTED] wrote: I have just installed the QMAIL package (i've done this many times). It seems to be running KO, except that when a message is delivered to the queue - nothing happens. QMAIL waits for about 10-20-60 minutes and then it sends the messages that are in the queue. See: http://Web.InfoAve.Net/~dsill/lwq.html#trigger -Dave
RE: Changing bounce message
Big wigs probably don't like the humor in qmails bounce message. It's a shame.. I know I got a chuckle out of it the first time I read it. Chad -Original Message- From: Magnus Bodin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 05, 2000 3:13 PM To: qmail list Subject: Re: Changing bounce message On Wed, Jul 05, 2000 at 01:55:44PM -0500, Ben Beuchler wrote: The Powers That Be are making noises about not liking the text of qmail's bounce message. The whole "This is the qmail-send program at" thingy. I don't want to mess with DJB's pristine code, so I would rather not change it. Are there any good, concrete reasons to leave it alone? Or am I being a wuss? Because it's the nearest to a suggestion to a standard that is: http://cr.yp.to/proto/qsbmf.txt It's well defined and polite. What part of this bounce is it that you don't like? /magnus -- http://x42.com/
Re: Moving vpopmail users
Charles Boening [EMAIL PROTECTED] wrote: I can get everything working just fine. It's when I try to copy my domains directory from my current production server that all goes bonkers. No kidding? Bonkers? Bummer... Perhaps if you were more specific about how exactly it went "bonkers" we could help. -Dave
Re: Changing bounce message
On Wed, Jul 05, 2000 at 09:12:46PM +0200, Magnus Bodin wrote: Because it's the nearest to a suggestion to a standard that is: http://cr.yp.to/proto/qsbmf.txt It's well defined and polite. What part of this bounce is it that you don't like? I *do* like it! I don't want to change it. I'm just trying to come up with reasonable arguments defending my position. Ben -- The spectre of a polity controlled by the fads and whims of voters who actually believe that there are significant differences between Bud Lite and Miller Lite, and who think that professional wrestling is for real, is naturally alarming to people who don't. -- Neal Stephenson
Re: Clearing dead mail from queues
Barry Dwyer [EMAIL PROTECTED] wrote: How do I clear the queue of these messages? I don't care if they get deleted in the process. You have several choices: 1) Do nothing: they'll be purged automatically either by being delivered or bounced. 2) Stop qmail, delete the queue files associated with the messages, restart qmail. 3) "touch" the queue files associated with the messages a week into the past and send qmail-send an ALRM signal. They'll bounce immediately. -Dave
Re: Changing bounce message
Ben Beuchler [EMAIL PROTECTED] wrote: I *do* like it! I don't want to change it. I'm just trying to come up with reasonable arguments defending my position. Feel free to change it, but if you do, be careful not to break QSBMF (qmail-send bounce message format), which bounce parsers like those in ezmlm depend upon. See: ftp://koobera.math.uic.edu/www/proto/qsbmf.txt -Dave
Re: spam and well known smtp servers
wolfgang zeikat: http://spamcop.net offers handy online forms i have used all sorts of anti-spam tricks, but presently i just look at the headers of a spam-mail trying to spot from which domain it really originated by scanning the recieved-lines and use "[EMAIL PROTECTED]" as well as postmaster for chinese or mexican or whatever open relay domains without abuse adresses. this procedure is faster then any automatix. clemens
Re: spam and well known smtp servers
Rogerio Brito: For instance, all my e-mails use iname.com as the envelope and as the From: field, but I don't send mail from them (in fact, they are in another country); I use my ISP's relays. my spam peeked up when i got myself an iname.com-account. i think they sell their email-lists to spammers. i have a friend with a hotmail- account, and another with a yahoo-account, but nobodu with iname, and i block them on my private system. tough if someone wants to reach me... clemens
Re: Mails vanished when remote2local via fetchmail
On Wed, 5 Jul 2000, Dave Sill wrote: Karl Voit [EMAIL PROTECTED] wrote: When my fetchmail sends all mails from my provider-server (sbox) to my server (tux), the mails don't come to my account. In fact, I don't know, where they're delivered to anyway :( That's a fetchmail issue. What's in your .fetchmailrc? Have you looked in alias's mailbox? no, it was qmail: starting delivery 157: msg 57507 to remote vk@localhost "localhost" is remote? What's in control/locals? oops! I forgot to add localhost to locals. better: I suggested that localhost is covered through the entry of tux.dyn.priv.at which is my machine here ;) ... and ALL mails e.g. from this mailinglist aren't accepted too (because the address of the mailinglist has no alias yet and the default doesn't work?). First, qmail has to be told that localhost is local. Then you can use ~alias/.qmail-default to catch mail to all addresses that don't match existing users or aliases. THANK you VERY much! I was stucked here and I almost began to test silly things that _might_ be the reason ;) Karl VOIT, [EMAIL PROTECTED] Student @ University of Technology of GRAZ (Austria/Europe) http://www.sbox.tu-graz.ac.at/home/v/vk/
Re: email error from outlook express
Please, do not misinform users of qmail out there. By deleting rcphosts file, you open up qmail for third-party relaying. DON'T. What you rater ought to do, is to control who can relay against your SMTP-server with tools like tcpserver http://cr.yp.to/ucspi-tcp.html package. Keep helping newbies with their search for information, but at least be sure what you help them with is corrcet. BTRW: This is also good reading, Dave Sill's Life with qmail http://web.infoave.net/~dsill/lwq.html and of course man qmail-control, dot-qmail, etc regards -- IDG New Media Einar Bordewich Technical Manager Phone: +47 2336 1420 E-Mail: [EMAIL PROTECTED] - Original Message - From: "Darryl O'Keefe" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 05, 2000 8:29 PM Subject: Re: email error from outlook express delete the file rcpthosts in /var/qmail/control At 11:30 PM 7/5/2000 +0530, you wrote: Sir here is the message displayed by outlookexpress when sending mails to outside domains: The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was '[EMAIL PROTECTED]'. Subject 'test', Account: '[EMAIL PROTECTED]', Server: 'mail.cybermaintenance.com', Protocol: SMTP, Server Response: '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25, Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79
Re: spam and well known smtp servers
Cyril Bitterich: But there is a good Point in you proposal. Maybe you just wanted to reject the mail with a notification that you do not accept this mail because they are not sent via Hotmail. that's dangerous. my experience told me never to answer suspect spammers. clemens
Re: Mails vanished when remote2local via fetchmail
Karl Voit [EMAIL PROTECTED] wrote: Now here's my problem: When my fetchmail sends all mails from my provider-server (sbox) to my server (tux), the mails don't come to my account. In fact, I don't know, where they're delivered to anyway :( The biggest problem here is that you're re-injecting non-local messages via SMTP, which is fetchmail's default mode of operation. Perhaps try using a different POP3 mail retrieval program which has fewer bugs and doesn't cause mail loops and strange bounces -- my own "getmail", for instance. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
rejecting subscribe/unsubscribe requests
How does one setup qmail and ezmlm to allow subscribes and unsubscribes to be done ONLY by command line. I apologize if this is documented somewhere but I only found out how to prevent posts to the mailing lists itself. Brian
Re: rejecting subscribe/unsubscribe requests
Hand, Brian C. writes: How does one setup qmail and ezmlm to allow subscribes and unsubscribes to be done ONLY by command line. If you remove listdir/public, ezmlm-manage will stop responding to all administrative requests, including -subscribe, -unsubscribe, and -get. If you want -get to keep working, you can intercept delivery of the subscription messages. The foo-subscribe and foo-unsubscribe addresses are handled by the list's .qmail-default file - you can create .qmail-[un]subscribe[-default] files to handle any messages sent to those addresses. bouncesaying ought to be useful. If instead you want to drop these messages silently, remember that the .qmail files shouldn't be empty (that indicates that the system's default delivery method should be used - ./Mailbox, or whatever), and the first line can't be blank - `#' is the smallest no-op. I apologize if this is documented somewhere but I only found out how to prevent posts to the mailing lists itself. Hm - how do you do that? paul
RE: Moving vpopmail users
Apologies ... amazing what lack of sleep and frustration can do. I figured it out though. When I installed the new server, I put vpopmail in a different location and neglected to change the home directory in the vpasswd file. Thanks Charles -Original Message- From: Dave Sill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 05, 2000 12:19 PM To: [EMAIL PROTECTED] Subject: Re: Moving vpopmail users Charles Boening [EMAIL PROTECTED] wrote: I can get everything working just fine. It's when I try to copy my domains directory from my current production server that all goes bonkers. No kidding? Bonkers? Bummer... Perhaps if you were more specific about how exactly it went "bonkers" we could help. -Dave
Re: Masquerading while sending remote mail over ISP
On 05-Jul-00 Tetsu Ushijima wrote: [EMAIL PROTECTED] writes: When sending all mail as user me for remote hosts out of ./mailppp/ by: me@bbrade:~ maildirsmtp ./mailppp "" mail.arco.de bbrade I get following answer: It seems to me that this has nothing to do with masquerading issues. What are you trying to do? If you would like outgoing mail from your computer to be sent to ISP's SMTP server, you should read /usr/local/doc/serialmail/TOISP and follow the instructions. -- Tetsu Ushijima Thanks for the tip where to find the FM, I just had to change FROM: Header from [EMAIL PROTECTED] to [EMAIL PROTECTED] and add [EMAIL PROTECTED] to qmail-inject for the returnpath. Ciao B-))ernd -- E-Mail: [EMAIL PROTECTED] Date: 06-Jul-00 Time: 01:05:06 This message was sent by XFMail --
.qmail
I need a little help, I got finally got qmail installed and everything appears to working fine. The problem is when I telnet to localhost 25 and follow the direction from the TEST.deliver, I connect to the port and run all the commands but the mail does not get delivered. I took a look at the log and it states the following: deferral: uh-oh:_first_line_of_.qmail_file_is blank._(#4.2.1)/ I running Solaris 2.7 with deamontool, checkpassword, tcpserver and qmail 1.03. Has anyone ever seen this before and know how to fix it. I did a search for .qmail but did not find anything. Also can someone tell me the proper way to add Maildir to every new user I add. Thanks, Eddie Greer Network Systems Engineer University of California San Diego Ph: (858) 534.0526 Fax: (858) 534.7758 Pager: (619) 406.1055 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Eddie Greer Network Systems Engineer University of California San Diego Ph: (858) 534.0526 Fax: (858) 534.7758 Pager: (619) 406.1055 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
no more splogger
I want to move away from splogger w/o making the full jump (yet) to supervise and other daemontools... here is my qmail rc file: mail1.wlv# more /var/qmail/rc #!/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. ulimit -n 1024 exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ splogger qmail should i be able to replace splogger w/ a multilog entry? say like: 'multilog t s100 /var/log/qmail' instead of the splogger above? would this then write files into /var/log/qmail? thanks, mike. _NetZero Free Internet Access and Email__ http://www.netzero.net/download/index.html
Re: no more splogger
On Wed, Jul 05, 2000 at 05:27:05PM -0700, M.B. wrote: I want to move away from splogger w/o making the full jump (yet) to supervise and other daemontools... here is my qmail rc file: mail1.wlv# more /var/qmail/rc #!/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. ulimit -n 1024 exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ splogger qmail should i be able to replace splogger w/ a multilog entry? say like: 'multilog t s100 /var/log/qmail' instead of the splogger above? would this then write files into /var/log/qmail? I don't know about the correctness of that line, but before adding it in you would also want to add "setuidgid qmaill" before it. --Adam
Re: no more splogger
Adam McKenna wrote: On Wed, Jul 05, 2000 at 05:27:05PM -0700, M.B. wrote: I want to move away from splogger w/o making the full jump (yet) to supervise and other daemontools... here is my qmail rc file: mail1.wlv# more /var/qmail/rc #!/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. ulimit -n 1024 exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ splogger qmail should i be able to replace splogger w/ a multilog entry? say like: 'multilog t s100 /var/log/qmail' instead of the splogger above? would this then write files into /var/log/qmail? I don't know about the correctness of that line, but before adding it in you would also want to add "setuidgid qmaill" before it. Not true. qmail-start starts the logger as the log user (qmaill), eliminating the need for setuidgid (or setuser). To the original poster: Yes, that will work as you want it to, assuming that you have created a /var/log/qmail directory with the appropriate permissions (it should be owned, or at least readable, writable, and searchable, by qmaill). Mark -- Do not reply directly to this e-mail address -- Mark Mentovai UNIX Engineer Gillette Global Network
Re: no more splogger
On Wed, Jul 05, 2000 at 08:50:52PM -0400, Mark Mentovai wrote: I don't know about the correctness of that line, but before adding it in you would also want to add "setuidgid qmaill" before it. Not true. qmail-start starts the logger as the log user (qmaill), eliminating the need for setuidgid (or setuser). Are you sure about that? It doesn't say so in the man page. --Adam
RE: no more splogger
exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ /usr/local/bin/multilog t s100 /var/log/qmail qmail unfortunately the above does no logging for me... nor if i put some quotes in... exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ '/usr/local/bin/multilog t s100 /var/log/qmail' qmail permissions: dev10# ls -ld /var/log/qmail drwxr-xr-x 2 qmaill nofiles 512 Jul 5 16:40 /var/log/qmail and sliding the setuidgid qmaill before multilog didn't do any logging either. :( To the original poster: Yes, that will work as you want it to, assuming that you have created a /var/log/qmail directory with the appropriate permissions (it should be owned, or at least readable, writable, and searchable, by qmaill). _NetZero Free Internet Access and Email__ http://www.netzero.net/download/index.html
Re: no more splogger
Adam McKenna wrote: On Wed, Jul 05, 2000 at 08:50:52PM -0400, Mark Mentovai wrote: I don't know about the correctness of that line, but before adding it in you would also want to add "setuidgid qmaill" before it. Not true. qmail-start starts the logger as the log user (qmaill), eliminating the need for setuidgid (or setuser). Are you sure about that? It doesn't say so in the man page. Positive. The manpage doesn't say so explicitly (which is a surprise, considering the nature of most of the manpages supplied with qmail), but the source code does. Guess which wins? (In case the answer isn't obvious, I don't run setuidgid at all to start multilog on any of my mail servers, and multilog still runs as the qmail log user.) Don't confuse this with piping tcpserver's output to multilog (as in something like qmail-smtpd), for that, you still need setuidgid. qmail-start handles the pipes and UID/GID switching for qmail itself, when you start redirecting from shell command lines manually, you need to be a bit more explicit. Mark -- Do not reply directly to this e-mail address -- Mark Mentovai UNIX Engineer Gillette Global Network
RE: no more splogger
M.B. wrote: exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ /usr/local/bin/multilog t s100 /var/log/qmail qmail unfortunately the above does no logging for me... Get rid of the trailing qmail. It was an argument to splogger to tell it what program name to use. nor if i put some quotes in... exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ '/usr/local/bin/multilog t s100 /var/log/qmail' qmail You don't want the quotes. permissions: dev10# ls -ld /var/log/qmail drwxr-xr-x 2 qmaill nofiles 512 Jul 5 16:40 /var/log/qmail Permissions on /var/log? /var? (I'm assuming / is OK.) Mark -- Do not reply directly to this e-mail address -- Mark Mentovai UNIX Engineer Gillette Global Network
Re: no more splogger
On Wed, Jul 05, 2000 at 09:39:56PM -0400, Mark Mentovai wrote: Adam McKenna wrote: On Wed, Jul 05, 2000 at 08:50:52PM -0400, Mark Mentovai wrote: I don't know about the correctness of that line, but before adding it in you would also want to add "setuidgid qmaill" before it. Not true. qmail-start starts the logger as the log user (qmaill), eliminating the need for setuidgid (or setuser). Are you sure about that? It doesn't say so in the man page. Positive. The manpage doesn't say so explicitly (which is a surprise, considering the nature of most of the manpages supplied with qmail), but the source code does. Guess which wins? (In case the answer isn't obvious, I don't run setuidgid at all to start multilog on any of my mail servers, and multilog still runs as the qmail log user.) No, I believe you.. I just don't remember ever hearing that before. Well, at any rate, throwing it in there shouldn't break things.. I am pretty sure that I had it configured that way (am using svscan now, so qmail-start just logs to stdout.) --Adam
RE: no more splogger
M.B. wrote: exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ /usr/local/bin/multilog t s100 /var/log/qmail qmail unfortunately the above does no logging for me... Get rid of the trailing qmail. It was an argument to splogger to tell it what program name to use. Bingo. THANKS! what i now have is: exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ multilog t s500 /export/home/qmaillogs (since /var's permissions didn't look inviting) now how might i pipe this thru tai64nlocal to get some readable (by me) time stamps in there? mike. NetZero Free Internet Access and Email_ Download Now http://www.netzero.net/download/index.html Request a CDROM 1-800-333-3633 ___
RE: no more splogger
M.B. wrote: now how might i pipe this thru tai64nlocal to get some readable (by me) time stamps in there? Yup. tai64nlocal converts what it sees on stdin and places it on stdout, so instead of "cat /export/home/qmaillogs/current" (or similar), you can use "tai64nlocal /export/home/qmaillogs/current". Mark -- Do not reply directly to this e-mail address -- Mark Mentovai UNIX Engineer Gillette Global Network
Re: spam and well known smtp servers
On Wed, Jul 05, 2000 at 09:41:50PM +0200, clemensF wrote: that's dangerous. my experience told me never to answer suspect spammers. As I recall, the argument is that by responding, you confirm that the e-mail address is valid. I can't say I've dealt with enough spam to have relevant experience. -- David Benfell [EMAIL PROTECTED] ICQ 59438240 [e-mail first for access] --- There are no physicists in the hottest parts of hell, because the existence of a "hottest part" implies a temperature difference, and any marginally competent physicist would immediately use this to run a heat engine and make some other part of hell comfortably cool. This is obviously impossible. -- Richard Davisson [from fortune]
Re: Re[4]: The most secure POP server
Scott Gifford: Just a guess; if the provider that won't provide APOP can provide you with plaintext passwords, then I don't know what their excuse is. well i told you mom! first they asked what apop is and when i explained it and hinted i'd want it -- pause -- and then they said they would not change their setup just for me! :( clemens
Re: no more splogger
Adam McKenna: should i be able to replace splogger w/ a multilog entry? say like: 'multilog t s100 /var/log/qmail' instead of the splogger above? would this then write files into /var/log/qmail? yes. clemens
Re: no more splogger
On Thu, Jul 06, 2000 at 07:04:51AM +0200, clemensF wrote: Adam McKenna: should i be able to replace splogger w/ a multilog entry? say like: 'multilog t s100 /var/log/qmail' instead of the splogger above? would this then write files into /var/log/qmail? yes. clemens Hi, I didn't say that.. please be more careful with your quoting. --Adam
Re: no more splogger
M.B.: now how might i pipe this thru tai64nlocal to get some readable (by me) time stamps in there? qmail-start ./Maildir/ multilog t s500 !tai64nlocal /export/home/qmaillogs then every log that gets rotated out of business (current - @...) will have human readable timestamps. clemens