Sir:

No offense intended, but I have many things to do, ahead of learning 
m4.   Would it be possible to see the results of your the changes 
below, in your sendmail.cf file?  I, too, have been looking for 
something like this. I tried the modifications to sendmail.cf and the 
startup command line suggested in another post on this thread.  
Great--sendmail queues the message.  However, it does a dns lookup 
before it will accept the message, which triggers diald to bring up 
the link.  (which I'm trying to avoid)

Thanks.  Again, no offense.  I work in the Windows world, with Linux 
a means to an end -- giving my network clients internet connectivity 
at a reasonable price.  I wish I could be in the Linux world all the 
time, but that's not possible, yet.

Charlie Shoemaker

I'm particularly



> Configuring sendmail is not that difficult..... !?!
> 
> I herewith enclose my sendmail.mc (m4 source file) for your perusab.
> The basic things you need to do, as you mentioned is to set the expensiv options to 
>delay frowarding of messages until the queue is run.
> The other thing you need to do is prevent sendmail from doing DNS lookups until 
>delivery time. For this you need s /etc/service.switch file.
> 
> My sendmail.mc file reads:
> 
> -----
> divert(-1)
> include(`../m4/cf.m4')
> define(`confDEF_USER_ID',``8:12'')dnl
> OSTYPE(`linux')dnl
> undefine(`UUCP_RELAY')dnl
> undefine(`BITNET_RELAY')dnl
> FEATURE(redirect)dnl
> FEATURE(always_add_domain)dnl
> FEATURE(use_cw_file)dnl
> FEATURE(local_procmail)dnl
> MAILER(procmail)dnl
> HACK(check_mail3,`hash -a@JUNK /etc/mail/deny')dnl
> HACK(use_ip,`/etc/mail/ip_allow')dnl
> HACK(use_names,`/etc/mail/name_allow')dnl
> HACK(use_relayto,`/etc/mail/relay_allow')dnl
> HACK(check_rcpt4)dnl
> HACK(check_relay3)dnl
> define(`SMART_HOST',smtp:pp3.shef.ac.uk)dnl
> LOCAL_NET_CONFIG
> R$* < @ $* . > $*     $#smtp $@ $2. $: $1 < @ $2. > $3
> FEATURE(genericstable,`btree -o genericstable')dnl
> FEATURE(virtusertable,`btree -o virtusertable')dnl
> define(`confCON_EXPENSIVE',yes)dnl
> define(`SMTP_MAILER_FLAGS',`e')dnl
> MAILER(smtp)dnl
> define(`confSERVICE_SWITCH_FILE',/etc/service.switch)dnl
> define(`confUSERDB_SPEC',/etc/userdb.db)
> ------
> 
> My service.switch file reads:
> 
> ---
> passwd files nis
> hosts files
> ---
> 
> Any more problems or if you need any more explanation about elements of the .mc file 
>above, please give me a shout.
> 
> Pieter
> 
> -- 
> Pieter Meiring
> Medical Imaging
> [EMAIL PROTECTED]
> --
> 
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to