From owner-freebsd-questions Tue Jan 6 15:44:26 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA08390 for questions-outgoing; Tue, 6 Jan 1998 15:44:26 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from citytel1.citytel.net (root@citytel1.citytel.net [204.244.99.66]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA08381 for ; Tue, 6 Jan 1998 15:44:21 -0800 (PST) (envelope-from kwoody@citytel.net) Received: from citytel.net (citytelprct93.citytel.net [204.244.99.46]) by citytel1.citytel.net (8.8.8/8.8.5) with ESMTP id PAA23063 for ; Tue, 6 Jan 1998 15:42:13 -0800 (PST) Received: from mybsd.net (mybsd.net [192.168.0.2]) by citytel.net (8.8.5/8.8.5) with SMTP id PAA04193 for ; Tue, 6 Jan 1998 15:31:57 -0800 (PST) Date: Tue, 6 Jan 1998 15:31:57 -0800 (PST) From: Kwoody X-Sender: kwoody@mybsd.net To: freebsd-questions Subject: mail question. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk How do I make it so that when I send a mail via pine and my connection is not up to wait until a connection is up then send any mail in the queue? I know sendmail -q will do that but how to make sendmail queue mail instead of sending it right away? I get mail via a little script with fetchmail so just putting in a sendmail -q in it will process the queue I know that. Mostly this bugs me when I'm dialed in repling to mail. If i have pine setup to use the bsd machine as the smtp server, I can send mail and it gets queued then when the connection is up a sendamil -q works fine. Also when in this configuration i cannot send any mail to anyone else that is in my ISP's domain (citytel.net) I get a user unknown error from pine. Why would that be? But change pine to use my ISP as the smtp server, try to send any mail while I'm dialed in pine times out with an unknown server error cause ppp cant dial out. (cause I'm dialed in) and it does not queue mail. And at the moment a sendmail -bp does not work. I issue the command and sendmail just seems to hang, though a ctrl-c stops it. there is nothing in /var/spool/mqueue. I guess what I'm saying is I want to use my ISP as the smtp server in pine, but have it queue mail until such a time a connection is up and I can process the queue with a sendmail -q in my script. I would like to use this so it works both in a dialup and when I'm sitting at the machine. Is this possible? Do I need to change sendmail.cf? After experimenting with a few different ways, I have finally figured out what i want to do and how to word it but not acutally how to put it all together. thanks! Keith