I want local mail to be delivered immediately, including mail brought in by fetchmail. I want outgoing mail to be queued, to be delivered when cron says so. I don't want local mail from userA to userB on my local network to cause sendmail to dial up. What FEATUREs should I set up to accomplish these goals? Setting SENDMAIL_EXPENSIVE="yes" seems to queue all local mail, including that from fetchmail, but without it, local mail seems to cause a dialup. This must be a common scenario; what's the trick? TIA, Jim
On Mon, Dec 31, 2001 at 02:33:38AM -0800, Jim wrote:
What FEATUREs should I set up to accomplish these goals? Setting SENDMAIL_EXPENSIVE="yes" seems to queue all local mail, including that from fetchmail, but without it, local mail seems to cause a dialup. ---end quoted text---
Set this variable in /etc/rc.config.d/sendmail.rc.config SENDMAIL_ARGS="-bd -q30m -om" For me, this lets sendmail automatically deliver mail from fetchmail, but with SENDMAIL_EXPENSIVE="yes" I've got to manually clear the queue for outgoing mail.
On Mon, 31 Dec 2001 02:33:38 -0800 (PST) Jim <jimo@eskimo.com> wrote:
I want local mail to be delivered immediately, including mail brought in by fetchmail. I want outgoing mail to be queued, to be delivered when cron says so.
I don't want local mail from userA to userB on my local network to cause sendmail to dial up.
What FEATUREs should I set up to accomplish these goals? Setting SENDMAIL_EXPENSIVE="yes" seems to queue all local mail, including that from fetchmail, but without it, local mail seems to cause a dialup.
One thing you can do is to setup fetchmail so that it doesn't deliver through sendmail. You need to add: mda "/usr/bin/procmail -d %T" to your "options" in ~/.fetchmailrc For instance my .fetchmailrc looks something like: poll mail.domain.com protocol pop3 username peter password mysecretpassword options ssl mda "/usr/bin/procmail -d %T" This does not answer all of your problems.. just the fetchmail bit... HTH -- Viel Spaß Peter Nixon - nix@susesecurity.com SuSE Security FAQ Maintainer http://www.susesecurity.com/faq/ "If you think cryptography will solve the problem, then you don't understand cryptography and you don't understand your problem."
participants (3)
-
David Kanter
-
Jim
-
Peter Nixon