HylaFAX The world's most advanced open source fax server

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

[hylafax-users] More info :Re: no cover sheet



On Saturday 03 November 2007 08:49:16 am johnf wrote:
> On Saturday 03 November 2007 07:24:44 am Dave Forrest wrote:
> > >From the friendly `man faxmail`:
> >
> > CONFIGURATION PARAMETERS
> >         faxmail    reads    configuration    information    from    the
> > files /usr/local/lib/fax/hyla.conf,   /usr/local/lib/fax/faxmail.conf,
> > and ~/.hylarc;  in  that order.
> >
> >      (snip)
> >
> >         The configuration parameters are explained below.  Most
> > parameters cor- respond to a command line option.  Parameter values
> > identified above as inches are converted according to the conventions
> > described above.
> >
> >         AutoCoverPage  Control whether or not a  cover  page  is
> > automatically generated for each job.
> >
> > I'd try adding
> >
> > AutoCoverPage: No
> >
> > to faxmail.conf per above.  There may be an issue as to whether it runs
> > in the chroot or not. It won't hurt to create the
> > usr/local/lib/fax/faxmail.conf in the chroot in addition to to /usr ....
> > just in case.  My chroot does not have a usr/ ...., anyway.
> >
> > --Dave
>
> Thanks Dave,
>
> I do have hyla.conf.  I have added 'AutoCoverPage:No'  at the bottom.  I
> still get a coversheet containing the following:
>
> At the very top (in a very small font) I get:
> >From Dean Services
>
> the day and date
> and page 1 of 2.
>
> I believe the above comes from config.ttyS2 file which
> contains "LocalIdentifiers"
>
> Then I get (in a much larger font)
> TO:
> FROM:
> SUBJECT:
> DATE:
>
> That is the end of the first sheet.
>
> The next sheet is my attachment (a PS file) from my email.
>
> >From faxmail(man)
> > Controls for specifying headers to be passed through in the formatted
> > text identify not only which headers but also the order in which the
> > headers should be emitted. faxmail initializes the set of headers to
> > retain to: ''To From Subject Cc Date''. If this order is acceptable then
> > additional headers can simply be added with the X-FAX-Headers directive;
> > e.g. ''X-FAX-Headers: Message-id''. If however a different order is
> > desired then the header set should be cleared with a ''clear'' header tag
> > and then completely specified in the desired order; for example, ..
> >
> > all header lines in the envelope can be suppressed by specifying
> > ''X-FAX-Headers: clear''; this is useful, for example, when the body of
> > the mail message contains a preformatted document that is to be
> > transmitted.
>
> So I added ''X-FAX-Headers: clear''  to hyla.conf
>
> But I still get the
> TO:, FROM:, etc. and more importantly I get two sheets of paper.
>
> BTW I can't find "sendfax" being used anywhere.  I do see in my master.cf
>
> > fax unix - n n - - pipe
> > flags= user=faxmail argv=/usr/local/bin/faxmail.sh ${user}
>
> in faxmail.sh
>
> > cat > /tmp/faxmail-$$.msg
> > exec /usr/local/bin/faxmail-ifax -n "$@" < /tmp/faxmail-$$.msg
>
> My guess "faxmail-ifax" is the real "faxmail"
>
> Also of interest my "hyla.conf" is in "/etc/hylafax"
> I'm using SUSE 10.2
>
> I can't seem to get rid of the first page.  What do I do next?  I need
> help!

If I put "Headers : clear" in hyla.conf.  I get a bounced email.  "fax" no 
such user.  This infomation tells me that the 'From' string  in the header is 
being used as the identity.
> If no sender identity is provided on the command line then faxmail will
> extract it from the ''From'' line in the envelope.




-- 
John Fabiani


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions