Re: system-aliases not found
From: Timothy Legant [EMAIL PROTECTED] Subject: Re: system-aliases not found Date: Fri, 16 Mar 2001 22:09:33 -0600 On Thu, Mar 15, 2001 at 11:54:23PM -0800, Eric Pretorious wrote: From: Ahmad Ridha [EMAIL PROTECTED] Subject: Re: system-aliases not found Date: Fri, 16 Mar 2001 14:28:49 +0700 1) Is 'eric' an existing username? 2) Is 'eric' able to receive e-mails addressed to him directly ([EMAIL PROTECTED])? Does he have the proper mailbox as mentioned in his .qmail file (or the default delivery one)? Ahmad: Yes - 'eric' is an existing username. Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]' in the Mailbox in /home/eric. Can you show us the contents of these files: /var/qmail/control/me .../defaulthost .../defaultdomain Tim: Sure: 1. me: pretorious.net 2. defaulthost: charlie 3. defaultdomain: pretorious.net Eric P. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: system-aliases not found
From: Greg White [EMAIL PROTECTED] Subject: Re: system-aliases not found Date: Fri, 16 Mar 2001 20:59:38 -0800 On Fri, Mar 16, 2001 at 10:09:33PM -0600, Timothy Legant wrote: On Thu, Mar 15, 2001 at 11:54:23PM -0800, Eric Pretorious wrote: SNIP Yes - 'eric' is an existing username. Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]' in the Mailbox in /home/eric. Can you show us the contents of these files: /var/qmail/control/me .../defaulthost .../defaultdomain Tim Try the following (to the OP): echo "[EMAIL PROTECTED]" ~alias/.qmail-root and then try to deliver to root. If that works, either me or defaulthost/defaultdomain is probably not correct... Greg: It doesn't seem to matter what I put in alias/.qmail-root - The messages just come back with the error: [EMAIL PROTECTED]: Sorry, no mailbox herre by that name. (#5.1.1) (I did try [EMAIL PROTECTED], though.) Hmmf. :^| Eric P. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: system-aliases not found
From: Ahmad Ridha [EMAIL PROTECTED] Subject: Re: system-aliases not found Date: Fri, 16 Mar 2001 15:31:06 +0700 At 11:54 PM 03/15/2001 -0800, Eric Pretorious wrote: From: Ahmad Ridha [EMAIL PROTECTED] Subject: Re: system-aliases not found Date: Fri, 16 Mar 2001 14:28:49 +0700 1) Is 'eric' an existing username? 2) Is 'eric' able to receive e-mails addressed to him directly ([EMAIL PROTECTED])? Does he have the proper mailbox as mentioned in his .qmail file (or the default delivery one)? Ahmad: Yes - 'eric' is an existing username. Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]' in the Mailbox in /home/eric. Eric P. Well, that's a wonder. Are you sure that you use Mailbox everywhere else? $HOME/Mailbox is an mbox file, right? PS: sorry for previous post, I clicked the send button by accident Ahmad: I don't understand. The Mailbox file in /home/eric receives messages for the user 'eric'. The system-alias file /var/qmail/alias/.qmail-root contains 'eric'. Mail messages bound for [EMAIL PROTECTED] should go directly to [EMAIL PROTECTED] - Shouldn't they? Do you suppose that qmail may be actually looking for a ~Mailbox file for root? Eric P. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
RE: system-aliases not found
From: "Virginia Chism" [EMAIL PROTECTED] Subject: RE: system-aliases not found Date: Fri, 16 Mar 2001 15:55:32 -0600 Shouldn't the system-alias file /var/qmail/alias/.qmail-root contain 'eric'? -Original Message----- From: Eric Pretorious [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 3:06 AM Subject: Re: system-aliases not found Ahmad: Yes - 'eric' is an existing username. Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]' in the Mailbox in /home/eric. Eric P. Virginia: I've also tried 'eric'... :^( Eric P. Los Gatos, CA _ Get your FREE download of MSN Explorer at http://explorer.msn.com
RE: HELP SMTP problem
From: vikas sinha [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 7:24 PM Subject: HELP SMTP problem I just installed qmail1.03-i386.rpm on my RedHat6.0(kernel 2.2.9) It seems SMTP is not working properly. When I try to send e-mail by pine. It complained "SMTP greeting failure: 421 SMTP connection went away". IF I try to telnet localhost 25, here is the response telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. When i Checked the /var/qmail/bin/qmail-smtpd status it showed 220 hostname ESMTP 502 unimplemenetd (#5.5.1) I'm experiencing something very similar: When telnet'ing to port 25 of localhost (i.e., `telnet localhost 25`) I also receive the message "Connection closed by foreign host." but not an entry in /var/log/messages. My configuration is slightly different: My RH-7.0 uses xinetd so the /etc/xinetd.d/smtp file has this entry (from the xinetd FAQ page: http://www.xinetd.org/faq.html#qmail)... service smtp { flags = REUSE NAMEINARGS socket_type = stream protocol= tcp wait= no user= qmaild server = /usr/sbin/tcpd server_args = /var/qmail/bin/tcp-env -R /var/qmail/bin/qmail-smtpd } ...and the /etc/hosts.allow file has a single entry... ALL:ALL Local delivery works between users though system-aliases (e.g., .qmail-root) do not. Please help. Eric P. Los Gatos, CA _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: Error 127: qmail-local.o
From: "Eric Pretorious" [EMAIL PROTECTED] Subject: Error 127: qmail-local.o Date: Wed, 14 Mar 2001 00:01:49 -0800 When compiling qmail, the compiler returns the message "make: *** [qmakil-local.o] Error 127" and exits. What does this error mean? How can I correct this? Eric P. Los Gatos, CA FWIW: After reading more of the error message, I learned that I had not installed the gcc when installing RH-7.0. After much frustration and pain, I succeeded in installing the gcc and compiling qmail. Eric P. Los Gatos, CA _ Get your FREE download of MSN Explorer at http://explorer.msn.com
system-aliases not found
I've created the system-aliases (/var/qmail/alias/): -re-r--r-- 1 root root .qmail-root -re-r--r-- 1 root root .qmail-postmaster -re-r--r-- 1 root root .qmail-MAILER-DAEMON Each has the same contenets: the username 'eric' but qmail doesn't forward the messages to the $HOME/Mailbox in /home/eric. /var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)" Any thoughts? Eric P. Los Gatos, CA _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: system-aliases not found
From: Ahmad Ridha [EMAIL PROTECTED] Subject: Re: system-aliases not found Date: Fri, 16 Mar 2001 14:28:49 +0700 1) Is 'eric' an existing username? 2) Is 'eric' able to receive e-mails addressed to him directly ([EMAIL PROTECTED])? Does he have the proper mailbox as mentioned in his .qmail file (or the default delivery one)? Ahmad: Yes - 'eric' is an existing username. Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]' in the Mailbox in /home/eric. Eric P. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: Error 127: qmail-local.o
Faried: I've discovered that gcc and glibc weren't installed during the last system upgrade. I think that this may be the culprit. I'm trying to install the .rpm files and will let you know if this resolves the problem. Thanks. Eric P. Los Gatos, CA From: Faried Nawaz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Error 127: qmail-local.o Date: Wed, 14 Mar 2001 00:08:54 -0800 Eric Pretorious wrote: When compiling qmail, the compiler returns the message "make: *** [qmakil-local.o] Error 127" and exits. type rm -f `cat TARGETS` make and paste the output here (or put it on a web site and mail us the url). _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: block unknown hosts
From: Charles Cazabon [EMAIL PROTECTED] Date: Tue, 13 Mar 2001 15:50:24 -0600 Charles Cazabon [EMAIL PROTECTED] wrote: My qmail is patched with the flame patches, http://www.flame.org/qmail/ Never heard of any "flame" patches. After going and looking at these, I'd say stay far, far away from them. Based on the example regular expression file the author claims to use, it appears the author knows little about SMTP or RFC822. In Dan's words, something like this would "bounce a huge amount of legitimate mail and a moderate amount of spam". Charles From the Web site www.flame.org/qmail/: Incoming MAIL FROM: addresses are verified to be returnable by requiring an MX or A record for the host given. Charles: Is there a method to verify that the "From:" field contains a working address before accepting the message? (I've heard of this approach somewhere...) Eric P. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: First time with qmail
Carlos: Did you install the daemontools? (ftp://cr.yp.to/daemontools/daemontools-0.70.tar.gz) This script is entirely dependant upon the daemontools package. WARNING: The daemontools package can cause serious headaches if you are not absolutely sure of what you are doing. Eric P. Los Gatos, CA From: "Ing. Carlos Alberto Dávila Cantú" [EMAIL PROTECTED] Date: Tue, 13 Mar 2001 20:17:23 -0600 #!/bin/sh PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin export PATH case "$1" in start) echo -n "Starting qmail: svscan" cd /var/qmail/supervise env - PATH="$PATH" svscan echo $! /var/run/svscan.pid echo "." ;; stop) echo -n "Stopping qmail: svscan" kill `cat /var/run/svscan.pid` echo -n " qmail" svc -dx /var/qmail/supervise/* echo -n " logging" svc -dx /var/qmail/supervise/*/log echo "." ;; esac exit 0 _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: First time with qmail
Carlos: Did you also create 'service' subdirectories and the 'run' scripts? (These are described further down the page from the actual script itself.) Make sure that all of the scripts and subdirectories have been created and that the permissions are correct. e.g., %/var/qmail/service ls -rl */* ...will show all of the scripts/subdirectories and their permissions in one convenient screenful. Eric P. Los Gatos, CA From: "Ing. Carlos Alberto Dávila Cantú" [EMAIL PROTECTED] Date: Tue, 13 Mar 2001 20:17:23 -0600 Hi, I recently install qmail in a SuSE 7.0 Linux. I follow the instructions of the document My life with qmail, but when I make the scripts for start, stop and restart for init.d, I can't execute this script in root user, I change the mode to 755 and I can´t execute this file. How can I do for execute this script: _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Error 127: qmail-local.o
When compiling qmail, the compiler returns the message "make: *** [qmakil-local.o] Error 127" and exits. What does this error mean? How can I correct this? Eric P. Los Gatos, CA _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Starting qmail from /etc/init.d/...
Hello! I've been trying to start qmail using a hacked version of the /etc/init.d/httpd script but the script - /etc/init.d/smtp - just hangs after echo'ing the message "Starting qmail: ". (`csh -cf '/var/qmail/rc'` works correctly.) I'm not familiar with shell scripting - could the error be caused because /var/qmail/rc doesn't return a value to `RETVAL=$?` ? (/etc/init.d/smtp stop works just great!) Thanks in advance! Eric P. Los Gatos, CA /etc/init.d/smtp: #!/bin/sh # # Startup script for the qmail mail transfer agent (MTA) # # description: The qmail package manages all e-mail messages # the come into or leave this server. # processes/daemons: /var/qmail/qmail-send #/var/qmail/splogger #/var/qmail/qmail-lspawn #/var/qmail/qmail-rspawn #/var/qmail/qmail-clean # config files: /var/qmail # Source function library. . /etc/rc.d/init.d/functions # Path to the qmail boot script. qmail=/var/qmail/rc RETVAL=0 # Until glibc's locale support is working right again, work around it. LANG=C # Change the major functions into functions. start() { echo -n "Starting qmail: " daemon ${qmail} RETVAL=$? echo [ $RETVAL = 0 ] touch /var/lock/subsys/smtp return $RETVAL } stop() { echo -n "Shutting down qmail: " killproc qmail-send RETVAL=$? echo [ $RETVAL = 0 ] rm -f /var/lock/subsys/smtp return $RETVAL } # See how we were called. case "$1" in start) start ;; stop) stop ;; restart) stop start ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac exit $RETVAL _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: pine Mailbox Can't open folder
in /usr/local/lib/pine.conf.fixed I've tried to edit my pine config before, but - believe me - there isn't any config at all. I've done a find -name "*pine*" and _no_ config at all?! Thomas: There are two configuration files for pine: The personal configuration file: $HOME/.pinerc and The system-wide configuration file: /etc/pine.conf (location may vary by distro.) I haven't had any success in modifying pine's behavior through changing these files either though. :^( Eric P. Los Gatos, CA _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: Starting qmail from /etc/init.d/...
From: "Todd A. Jacobs" [EMAIL PROTECTED] Replace "daemon ${qmail}" with "csh -cf '/var/qmail/rc'" and see what happens. The fact that qmail doesn't run right from sh/bash is mentioned in the docs. Replacing "daemon ${qmail}" with "csh -cf '/var/qmail/rc'" produces the same result: The command-line freezes after echoing "Starting qmail:". Replacing "daemon ${qmail}" with "/var/qmail/qmail-start ./Mailbox splogger qmail" produces the same result: The command-line freezes after echoing "Starting qmail:". What is the daemon function looking for from /var/qmail/rc? I don't believe that it's an exit status - I've tried appending "exit 0" and "exit 1" to the end of /var/qmail/rc but neither made a difference. Eric P. Los Gatos, CA _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: Starting qmail from /etc/init.d/...
CORRECTION TO PREVIOUS MESSAGE: The lines "return 0" and "return 1" were appended to /var/qmail/rc - not "exit 0" and "exit 1". From: "Todd A. Jacobs" [EMAIL PROTECTED] Replace "daemon ${qmail}" with "csh -cf '/var/qmail/rc'" and see what happens. The fact that qmail doesn't run right from sh/bash is mentioned in the docs. Replacing "daemon ${qmail}" with "csh -cf '/var/qmail/rc'" produces the same result: The command-line freezes after echoing "Starting qmail:". Replacing "daemon ${qmail}" with "/var/qmail/qmail-start ./Mailbox splogger qmail" produces the same result: The command-line freezes after echoing "Starting qmail:". What is the daemon function looking for from /var/qmail/rc? I don't believe that it's an exit status - I've tried appending "return 0" and "return 1" to the end of /var/qmail/rc but neither made a difference. Eric P. Los Gatos, CA _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: Starting qmail from /etc/init.d/...
Actually, I tried both: "exit #" "return #" and neither worked. :^( Eric P. Los Gatos, CA From: "Eric Pretorious" [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: Starting qmail from /etc/init.d/... Date: Mon, 12 Mar 2001 17:42:37 -0800 CORRECTION TO PREVIOUS MESSAGE: The lines "return 0" and "return 1" were appended to /var/qmail/rc - not "exit 0" and "exit 1". From: "Todd A. Jacobs" [EMAIL PROTECTED] Replace "daemon ${qmail}" with "csh -cf '/var/qmail/rc'" and see what happens. The fact that qmail doesn't run right from sh/bash is mentioned in the docs. Replacing "daemon ${qmail}" with "csh -cf '/var/qmail/rc'" produces the same result: The command-line freezes after echoing "Starting qmail:". Replacing "daemon ${qmail}" with "/var/qmail/qmail-start ./Mailbox splogger qmail" produces the same result: The command-line freezes after echoing "Starting qmail:". What is the daemon function looking for from /var/qmail/rc? I don't believe that it's an exit status - I've tried appending "return 0" and "return 1" to the end of /var/qmail/rc but neither made a difference. Eric P. Los Gatos, CA _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: Starting qmail from /etc/init.d/...
From: Seth David Schoen: /var/qmail/rc = #!/bin/sh exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Mailbox splogger qmail How about making this run qmail-start in the background? qmail-start ./Mailbox splogger qmail You might want to do something about the output, if any. Seth: Many thanks!!! That's definitely an improvement: qmail now starts quietly and runs in the background. What's left: To correctly report the status of starting-up. There may not be anything that can be done though. I guess that this functionality must come from the qmail-start binary? (It's possible to execute /var/qmail/rc multiple times thus effectively executing /var/qmail/bin/qmail-start multiple times without any complaint that qmail is already running. Eric P. Los Gatos, CA _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: pine Mailbox Can't open folder
The answer to this question is somewhat counterintuitive but it is in INSTALL.mbox file: * pine: Put "inbox-path=Mailbox" in your system-wide pine.conf... I followed the example given in the pine.conf comments - "...default is the local INBOX (/usr/spool/mail/$USER)" - and added "inbox-path=$HOME/Mailbox". Eric P. Los Gatos, CA From: "Eric Pretorious" [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: pine Mailbox Can't open folder Date: Mon, 12 Mar 2001 17:29:14 -0800 in /usr/local/lib/pine.conf.fixed I've tried to edit my pine config before, but - believe me - there isn't any config at all. I've done a find -name "*pine*" and _no_ config at all?! Thomas: There are two configuration files for pine: The personal configuration file: $HOME/.pinerc and The system-wide configuration file: /etc/pine.conf (location may vary by distro.) I haven't had any success in modifying pine's behavior through changing these files either though. :^( Eric P. Los Gatos, CA _ Get your FREE download of MSN Explorer at http://explorer.msn.com