Sendmail: Make doesn't make sendmail.cf from sendmail.mc

Jerry Feldman gaf-mNDKBlG2WHs at public.gmane.org
Fri Mar 18 07:32:42 EDT 2011


I just looked at make, and there is NOT a default make.
for target; do
  case "$target" in
    *.db)
      makedb "$target"
      ;;
    *.cf)
      makecf "$target"
      ;;
    all)
      makeall
      ;;
    aliases)
      makealiasesdb
      ;;
    clean)
      rm -f *.db *~ aliasesdb-stamp
      ;;
    start|stop|restart)
      service sendmail "$target"
      ;;
    *)
      echo "Don't know how to make $target"
      exit 2
  esac
done


On 03/17/2011 10:05 PM, John Abreau wrote:
> I haven't done this in years, but I seem to recall that "make" by itsel=
f
> didn't do anything in /etc/mail, at least on CentOS. I always did
>
>     cd /etc/mail ; sudo make sendmail.cf
>
>
>
> On Thu, Mar 17, 2011 at 9:13 PM, Don Levey <don.levey-KealBaEQdz4 at public.gmane.org> wrote:
>> This is something that I figured would at least show an error, but I g=
et no output.  I make a change to sendmail.mc, run "make -C /etc/mail" as=
 I always have done, but for some reason today I get no newly built cf fi=
le.
>>
>> Has anyone ever run into this sort of thing before?  I can edit the fi=
le by hand, but I'd rather not if i can at all avoid it...
>>
>> Thanks for any help,
>>  -Don Levey
>>
>> p.s. Sendmail 8.14.4, Make 3.81
>> _______________________________________________
>> Discuss mailing list
>> Discuss-mNDKBlG2WHs at public.gmane.org
>> http://lists.blu.org/mailman/listinfo/discuss
>>
>
>


--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846



_______________________________________________
Discuss mailing list
Discuss-mNDKBlG2WHs at public.gmane.org
http://lists.blu.org/mailman/listinfo/discuss





More information about the Discuss mailing list