Re: svscan help
Hi, > env: invalid option - - P > ... > env - PATH="$PATH" svscan & Is there really a blank between the - and the P of PATH? My env ignores any options behind the first -, e.g. $ env - -P PATH="/bin" ls env: -P: No such file or directory $ env - PATH="/bin" -P ls env: -P: No such file or directory and the only way to get the above message is by having $ env -PATH="/bin" ls env: invalid option -- P Try `env --help' for more information. claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: restart without rebooting
Hi, > Sent to the list in case some poor soul on Solaris (or other platform, > who knows?) actually used this advice these too: HP-UX: http://devresource.hp.com/STK/man/11.00/killall_1m.html AIX: http://www.unet.univie.ac.at/aix/cmds/aixcmds3/killall.htm Tru64Unix: http://www.tru64unix.compaq.com/faqs/publications/base_doc/DOCUMENTATION/V50_HTML/MAN/MAN8/0181.HTM So really beware of just executing killall -HUP qmail without consulting the man page of your particular Unix. claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: qmail-remote (cry wolf?)
Hi, > > [Summary: Some systems leave the fd_sets alone when select times out.] > I think it isn't relevant. qmail-remote doesn't seem to use select, It does. timeoutread.c: int timeoutread(t,fd,buf,len) int t; int fd; char *buf; int len; { fd_set rfds; struct timeval tv; tv.tv_sec = t; tv.tv_usec = 0; FD_ZERO(&rfds); FD_SET(fd,&rfds); if (select(fd + 1,&rfds,(fd_set *) 0,(fd_set *) 0,&tv) == -1) return -1; if (FD_ISSET(fd,&rfds)) return read(fd,buf,len); errno = error_timeout; return -1; } When select returns -1 (error case) everything is fine. When select returns 0, i.e. in the timeout case, read is called if select has not cleared the fd bit out of rfds. So if there really exist OS which do not clear the bits, then qmail will potentially block in read on those OS. > As to different OS behaviour, Solaris 2.6 (and 7) both say: > and errorfds arguments are not modified. If the timeout > interval expires without the specified condition being true > for any of the specified file descriptors, the objects > pointed to by the readfs, writefs, and errorfds arguments > have all bits set to 0. On Solaris the above code would work without flaws. > whereas SunOS 4.1.4 (my usual 'old bsd system' benchmark) says: > descriptor sets. 0 indicates that the time limit referred > to by timeout expired. On failure, select() returns -1, > sets errno to indicate the error, and the descriptor sets > are not changed. It doesn't tell explicitly what it does when it returns 0, but as it's mentioned only in the error case, that the bits are not cleared, one supposes that in timeout situations they are cleared, and thus qmail will not have any problems. claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: suddenly cannot receive email
Hi, > killall -SIGHUP qmail though it's off-topic, but so that nobody who later reads this thread in the archive will accidently bringdown it's system, this note: Depending on the Unix-Flavour you use killall will not kill only the processes named qmail but all processes. There exists implementations of killall which do not read any arguments except the signal name and send it really to *ALL* processes on your box. claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: applying big-todo patch
Hi, > mentions exactly what they did to apply it. Thanks a bunch. man patch and if patch does not exist on your system: http://www.gnu.org/directory/patch.html claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: OT: where are you from
Hi, > what does .to stand for, as in [EMAIL PROTECTED]? http://www.iana.org/cctld/cctld-whois.htm claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: POP accounts??
Hi, > `echo 'e-macro.com' >> /var/qmail/control/locals` > `echo 'e-macro.com' >> /var/qmail/control/locals` I suppose one of these two lines should read echo 'e-macro.com' >> /var/qmail/control/rcpthosts claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: Where do I find the logs
Hi, > Is there an easy way to convert these filenames to dates etc. (or any $ ls @* | awk '{ print $1" "$1 }' | tai64nlocal 2001-03-01 01:37:43.797816500.s @40003a9d99f72f8db6b4.s 2001-03-01 12:23:38.729794500.s @40003a9e315a2b7fc7c4.s 2001-03-01 12:40:21.697936500.s @40003a9e35452999aa74.s 2001-03-01 15:01:18.184211500.s @40003a9e564e0afad82c.s 2001-03-01 16:16:05.419022500.s @40003a9e67d518f9c6a4.s 2001-03-01 16:57:46.746902500.s @40003a9e719a2c84d3e4.s 2001-03-01 17:45:59.996518500.u @40003a9e7ce73b65aa64.u 2001-03-01 20:06:52.296409500.s @40003a9e9dec11aad99c.s 2001-03-01 20:09:49.077417500.s @40003a9e9e9d049d4c1c.s The name is the creation time of the file, so in the above case the first file will contain logs older than 2001-03-01 01:37:43 claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: Some newbies issue
Hi, > Due to i'm first time setting up such server i do not know what when > wrong. i try sending [EMAIL PROTECTED] and [EMAIL PROTECTED] > from my pacific.net.sg (ISP) account both mails bounced back to my The bounce messages could help in determine what was the problem. > netphuture.com MX mail.netphuture.com010 $ dnsmx netphuture.com 10 mail.netphuture.com $ dnsip mail.netphuture.com 202.156.122.40 $ telnet 202.156.122.40 25 Trying 202.156.122.40... Here I don't get any response. If you want to receive mail, your host needs to be permanently connected to the Internet and listening to port 25 for incoming mail. Is qmail-smtpd running ? claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
qmail-0.0.0.0.patch not found
Hi, www.qmail.org mentions Scott Gifford's patch making qmail recognize 0.0.0.0 as local IP address. But the link to the patch http://www.tir.com/~sgifford/qmail/qmail-0.0.0.0.patch is invalid: Not Found The requested URL /~sgifford/qmail/qmail-0.0.0.0.patch was not found on this server. Does anybody know, where the actual place for this file is? claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: Which is better - tcpserver running as root or checkpassword setuid root?
Hi, > b) have tcpserver run as a nobody, thus have qmail-popup run as a On all Unix I know, you couldn't do that, because tcpserver has to bind to port 110 for pop, and only root has the permission to bind to ports below 1024. claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: SOMEONE GET ME OFF THIS LIST
Hi, > Here is the problem- I've got about 18 different alias's that all point to one >mailbox, and i have no clue which one was used to subscribe as that was about 3 years >ago..since we have consolodated > mail systems I also now have no access to send mail from any of those alias >addresses... Look at the header of this mail you receive from the list. You should see something like Return-Path: <[EMAIL PROTECTED]> ^^ where you can see the e-mail address the mailing list manager thinks it sends the mail to. The = stands for @. In this case it would be [EMAIL PROTECTED] claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: OT: getting help with tcpserver
Hi, > I am having problems using tcpserver, I am trying to run sshd under it. That's whatI use: # more /service/sshd/run /service/sshd/log/run :: /service/sshd/run :: #!/bin/sh exec env - tcpserver -v -H -R -P -l0 0 22 /usr/sbin/sshd -f /etc/ssh/sshd_config -i 2>&1 :: /service/sshd/log/run :: #!/bin/sh exec /usr/bin/setuidgid qmaill /usr/bin/multilog t /var/log/sshd claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: qmail pop no longer works
Hi, > ac.d4a.net is being announced in the DNS as 203.164.92.195. Is that > correct? > I can't get a connection to port 25 on that machine -- something is With tcpdump running and telnetting to port 25 of that address I see: 12:37:54.262380 ubr1-pos1-0.mirnd1.nsw.optushome.com.au > dog.eschle.com: icmp: host co3018450-a.mirnd1.nsw.optushome.com.au unreachable - admin prohibited filter Offending pkt: [|tcp] (DF) (ttl 42, id 61644) (ttl 231, id 521) and according to tracroute, it's the last host vefore the destination who sends that: 21 r1-pos0-0-0.rivrw1.nsw.excitehome.net.au (203.164.3.26) 657 ms 549 ms 535 ms 22 ubr1-pos1-0.mirnd1.nsw.optushome.com.au (203.164.3.146) 550 ms 562 ms 563 ms 23 co3018450-a.mirnd1.nsw.optushome.com.au (203.164.92.195) 571 ms 580 ms 577 ms So whoever maintains ubr1-pos1-0.mirnd1.nsw.optushome.com.au (203.164.3.146) has probably put in some filtering there during the last few days. claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: new to list, install questions
Hi, > > smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env > > tcp-env /var/qmail/bin/qmail-smtpd > parameter #7 (don't ask me why you have to specify the path and the > name separately -- botch, botch). I suppose the name is what is passed as argv[0] to the process. This may be different, than the filename, and there are programs who act differently according to what argv[0] contains. claudio -- Claudio Nieder,Symmetrix AG,Seefeldstr. 231,CH-8008 Zürich phn:+411 381 8880 mailto:[EMAIL PROTECTED] http://www.symmetrix.ch fax:+411 381 2127
Re: MX question related to diff. A and MX record
Hi, > Create a file called e.g. "virtualdomains": > ... > zone "virtual1.com" in { type master; file "virtualdomains"; } Nice solution for not having to have n instances of the same stuff. One thing still bothers me. This gets me n hosts with an A mapping to the same IP-address, with the consequence, that the reverse-mapping 1.2.3.4 PTR will point to just one of the n hosts. What's the general opinion on how "legal" this is? claudio -- Claudio Nieder,Symmetrix AG,Seefeldstr. 231,CH-8008 Zürich phn:+411 381 8880 mailto:[EMAIL PROTECTED] http://www.symmetrix.ch fax:+411 381 2127
Re: MX question related to diff. A and MX record
Hi, > > Is there any other solution which avoid mapping of multiple domains to > > the same IP-address and is legal? > No. Well, yes, map multiple domains each to its own IP address. Given you have enough IP-addresses. When is the big switch to IPv6 gonna take place ? claudio -- Claudio Nieder,Symmetrix AG,Seefeldstr. 231,CH-8008 Zürich phn:+411 381 8880 mailto:[EMAIL PROTECTED] http://www.symmetrix.ch fax:+411 381 2127
Re: MX question related to diff. A and MX record
Hi, > ... > mail and web services for a number of virtual domains. Thus for each > ss that and is nevertheless correct?uch domain I have > ... I'm not only too dumb to understand DNS, but also to use an editor. This should say > ... > mail and web services for a number of virtual domains. Thus for each > such domain I have > ... claudio -- Claudio Nieder,Symmetrix AG,Seefeldstr. 231,CH-8008 Zürich phn:+411 381 8880 mailto:[EMAIL PROTECTED] http://www.symmetrix.ch fax:+411 381 2127
Re: MX question related to diff. A and MX record
Hi, > > domain.com MX 25 smtp.domain.com > > domain.com CNAME www.domain.com > a CNAME entry may have no other ressource records or I'll get errors That interests me too. Let's say I've got server.xy.ch which provides mail and web services for a number of virtual domains. Thus for each ss that and is nevertheless correct?uch domain I have domain.ch CNAME server.xy.ch and have setup the web server to accept http://domain.ch and the mail server accepts [EMAIL PROTECTED] addresses. Now for some reason, I want to migrate the web server to web.xy.ch while keeping mail on server.xy.ch. What would be the correct solution? I would have also attempted the MX/CNAME construct shown above, as domain.com MX server.xy.ch domain.com A has the obvious disadvantage, that you replicate the ip address of web.xy.ch multiple times, once for each such virtual domain. And I wouldn't have supposed, that while with an A/MX pair mailers do prefer MX over A, they wouldn't do it in a CNAME/MX configuration. Is there any other solution which avoid mapping of multiple domains to the same IP-address and is legal? claudio -- Claudio Nieder,Symmetrix AG,Seefeldstr. 231,CH-8008 Zürich phn:+411 381 8880 mailto:[EMAIL PROTECTED] http://www.symmetrix.ch fax:+411 381 2127
Re: Force mailqueue to send?
Hi, > > killall -ALRM qmail-send > > All you linux folks: Please don't suggest using killall without warning. and IRIX folks. It happened to me, used to the IRIX behaviour, to bring down an HP-UX 9 workstation. claudio -- Claudio Nieder,Symmetrix AG,Seefeldstr. 231,CH-8008 Zürich phn:+411 381 8880 mailto:[EMAIL PROTECTED] http://www.symmetrix.ch fax:+411 381 2127