Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.mail.sendmail > #284

Re: sendmail dns after fetchmail and procmail

From Andrzej Adam Filip <anfi@onet.eu>
Newsgroups comp.mail.sendmail
Subject Re: sendmail dns after fetchmail and procmail
Date 2011-06-04 06:57 +0200
Organization It's for me to know and for you to find out
Message-ID <3fcw26uy5d+B64@joseph.huge.strangled.net> (permalink)
References <4de91148$0$303$14726298@news.sunsite.dk> <8el8mo0ov3+B63@stephen.huge.strangled.net> <4de94e04$0$312$14726298@news.sunsite.dk>

Show all headers | View raw


"Luis P. Mendes" <luislupeXXX@gmailXXX.com> wrote:
> Fri, 03 Jun 2011 19:42:07 +0200, Andrzej Adam Filip escreveu:
>
>> "Luis P. Mendes" <luislupeXXX@gmailXXX.com> wrote:
>>> I've configured fetchmail to access remote mail servers with 'no dns'
>>> option enabled.
>>> In fetchmailrc I define: 'mda "/usr/bin/procmail -m .procmailrc -d %T"'
>>> Procmail should distribute mail to my '~/Mail' folder according to some
>>> rules.
>>> [...]
>> 
>> Do you mean /etc/fetchmailrc or ~/.fetchmailr?
>
> Hi, thank you for your help.
> I mean ~/.fetchmail/fetchmailrc

A) fetchmail with "direct procmail" can deliver to Maildir *without*
bothering sendmail.

B) *IF* you procmail script uses sendmail to send messages in response to
procesessed message and sendmail should not use DNS *THEN*

B1) add the following lines to sendmail.mc and generate/compile new sendmail.cf

dnl Do not check envelope sender address via DNS
FEATURE(`accept_unresolvable_domains')dnl
dnl Do not canonify email addresses (the process requires DNS lookups)
FEATURE(`nocanonify')dnl

B2) add the following lines to submit.mc and generate/compile new submit.cf

define(`confDIRECT_SUBMISSION_MODIFIERS',`C')dnl

C) Do you need (slackware specific) instructions how to generate
sendmail.cf and submit.cf?

-- 
[pl>en Andrew] Andrzej A. Filip : anfi@onet.eu : Andrzej.Filip@gmail.com
Next, upon a stool, we've a sight to make you drool.
Seven virgins and a mule, keep it cool, keep it cool.
  -- ELP, "Karn Evil 9" (1st Impression, Part 2)

Back to comp.mail.sendmail | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

sendmail dns after fetchmail and procmail "Luis P. Mendes" <luislupeXXX@gmailXXX.com> - 2011-06-03 16:52 +0000
  Re: sendmail dns after fetchmail and procmail Andrzej Adam Filip <anfi@onet.eu> - 2011-06-03 19:42 +0200
    Re: sendmail dns after fetchmail and procmail "Luis P. Mendes" <luislupeXXX@gmailXXX.com> - 2011-06-03 21:11 +0000
      Re: sendmail dns after fetchmail and procmail Andrzej Adam Filip <anfi@onet.eu> - 2011-06-04 06:57 +0200
        Re: sendmail dns after fetchmail and procmail "Luis P. Mendes" <luislupeXXX@gmailXXX.com> - 2011-06-04 11:59 +0000
  Re: sendmail dns after fetchmail and procmail Andrzej Adam Filip <anfi@onet.eu> - 2011-06-03 19:38 +0200

csiph-web