Re: Help with /usr/share/sendmail-cf/m4/proto.m4 - fax macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Robert Moskowitz wrote:
OK.  Digging into this...

sendmail.m4 has the lines:

      define(`FAX_MAILER_PATH',`/usr/bin/faxmail')dnl
      define(`FAX_MAILER_ARGS',`faxmail -d -n -p 12pt $u@$h $f')dnl
      MAILER(`fax')dnl

proto.m4 has:

`R$+ < @ $+ .FAX. >     $#fax $@ $2 $: $1               user@xxxxxxxx',
`ifdef(`FAX_RELAY',
`R$*<@$+.FAX.>$* $: $>MailerToTriple < $F > $1 <@$2.FAX.> $3 user@xxxxxxxx',

sendmail.cf has:

R$+ < @ $+ .FAX. >  $#fax $@ $2 $: $1               user@xxxxxxxx

If the To: header is:  joe@xxxxxxxxxxxxxxx

creates a -d argument of:  >joe<@2201.fax.foo.com.

changing the proto.m4 to:


`R$+ < @ $+ .FAX. >     $#fax $@ $2 $: $1               user@host',
`ifdef(`FAX_RELAY',
`R$*<@$+.FAX.>$* $: $>MailerToTriple < $F > $1 <@$2> $3 user@host',

makes no difference....

Try changing that to:

`ifdef(`FAX_RELAY',
`R$*<@$+.fax.foo.com.>$* $: $>MailerToTriple < $F > $1 <@$2.fax.foo.com>
 $3     user@xxxxxxxxxxxxxxxx',
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux