I want mail to be sent only when I run sendmail -q (would hopefull send whats in the mail queue) This is to avoid constant dialups I havent had time to actually take my friends Juergens advise yet, because actually following the docs is going to take some time although from what the comments read... I think Im on the rite track ;-) this is from /etc/rc.config.d/sendmail.rc.config # sendmail will only queue email in /var/spool/mqueue and will only start # to deliver it if "sendmail -q" is run # SENDMAIL_EXPENSIVE="yes" # # sendmail will not try to canonify hostnames in your email # so much less DNS-queries are send # you probably want to enable this on a SENDMAIL_EXPENSIVE system. # Don't forget to add the local, the mail hub, smart, and mail relay host # with their IP addresses and the corresponding Full Qualified Domain Names # to /etc/hosts # SENDMAIL_NOCANONIFY="yes" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This is going to be a job, Ill post my (hopefull) success thanks for the thought rob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jethro Cramp wrote:
dizzy73 wrote:
SENDMAIL_EXPENSIVE="yes" SENDMAIL_NOCANONIFY="yes"
any ideas on this. Many thanks for the insight on the new location of sendmail variables
rob
Rob,
I'm know next to nothing about sendmail but I think it is the line "SENDMAIL_EXPENSIVE="yes" that is causing the problem. Try setting it to "no".
Maybe someone with a bit more knowledge can confirm/deny this.
Regards,
Jethro