Find the answer to your Linux question:
Results 1 to 3 of 3
Hey guys, im trying to add the feature(`dnsbl')dnl to my sendmail.mc but when i run m4 this is a copy of the cf it gives me ... FOSTYPE(linux)FEATURE(local_procmail, /usr/bin/procmail)FEATURE(always_add_domain)FEATURE(smrsh)F EATURE(use_cw_file)FEATURE(redirect)FEATURE(virtus ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2003
    Posts
    4

    m4 or sendmail problem


    Hey guys, im trying to add the feature(`dnsbl')dnl to my sendmail.mc but when i run m4 this is a copy of the cf it gives me ...


    FOSTYPE(linux)FEATURE(local_procmail, /usr/bin/procmail)FEATURE(always_add_domain)FEATURE(smrsh)F EATURE(use_cw_file)FEATURE(redirect)FEATURE(virtus ertable, hash -o /etc/mail/virtusertable)FEATURE(access_db)FEATURE(blacklist_ recipients)FEATURE(dnsbl, blackholes.mail-abuse.org, "Rejected mail from blacklisted address " $&{client_addr} ". See http://www.mail-abuse.org/rbl/")FEATURE(dnsbl, dialups.mail-abuse.org, "Rejected mail from dial-up address " $&{client_addr} ". See http://www.mail-abuse.org/dul/")FEATURE(dnsbl, relays.mail-abuse.org, "Rejected mail from an open mail relay " $&{client_addr} ". See http://www.mail-abuse.org/rss/")FEATURE(dnsbl, relays.ordb.org, "Rejected mail from an open mail relay " $&{client_addr} ". See http://www.ordb.org/")#F EATURE(dnsbl, `inputs.orbz.org', `"Rejected mail from an open mail relay " $&{client_addr} ". See http://www.orbz.org/"')dnl
    FEATURE(dnsbl, outputs.orbz.org, "Rejected mail from an open mail relay " $&{client_addr} ". See http://www.orbz.org/")TRUST_AUTH_MECH(GSSAPI DIGEST-MD5 PLAIN LOGIN PAM)MAILER(smtp)


    i know that is completly the wrong format. Any one know how i can fix this?

    the command i ran to make the cf was 'm4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

    i ran a which m4 -a and it says /usr/bin/m4
    so i only have one version of m4 on the machine. It is sendmail version 8.12.9 which was compiled from source. any suggestions would be greatly appreciated.


    drew

  2. #2
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370
    hi

    did you make any changes to the basic sendmail.mc file? can you just run the basic sendmail.mc thorugh the m4 compiler and see whether it works...

  3. #3
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370
    hi,

    I read somewhere that the final sendmail.cf should be generated like:
    m4 <path-to-cf.m4> sendmail.mc > sendmail.cf
    I might be mistaken , maybe someone else can clarify this one.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •