Mailinglist Archive: opensuse (3675 mails)
| < Previous | Next > |
Re: [SLE] fetchmail vs sendmail-expensive
- From: Peter Nixon <nix@xxxxxxxxxxxxxxxx>
- Date: Wed, 2 Jan 2002 00:22:28 +0200
- Message-id: <20020102002228.5012ede6.nix@xxxxxxxxxxxxxxxx>
On Mon, 31 Dec 2001 02:33:38 -0800 (PST)
Jim <jimo@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
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."
Jim <jimo@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
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."
| < Previous | Next > |