HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Sendmail faxmail mangling



It's at least worth a shot.  With all the different approaches to implementing HylaFax, it's hard to find the specific body of documentation that will best fit one's own approach.  Regardless of what the documentation says, your script appears to be parsing the To: information from in front of the @.

-Brian

-----Original Message-----
From: Lucas Burdick [mailto:lucas@xxxxxxxxxxxxxxxxxxxxxxx] 
Sent: Friday, November 12, 2010 12:19 PM
To: Alcorn, Brian C; hylafax-users@xxxxxxxxxxx
Subject: RE: [hylafax-users] Sendmail faxmail mangling

This is not how I understood the particular script to work though.  It comes from the User.Name@xxxxxxxxxxxxxx section of the HOWTO unless I'm reading the website incorrectly.

-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Alcorn, Brian C
Sent: Friday, November 12, 2010 8:58 AM
To: 'Lucas Burdick'; hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] Sendmail faxmail mangling

Place the phone number in front of the @, and whatever mail domain your server is receiving for after the @.  That should at least get the format correct

-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Lucas Burdick
Sent: Friday, November 12, 2010 11:49 AM
To: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] Sendmail faxmail mangling

Sorry about that garbage on the last email.

Yes, I have metamail. 

I realized that I, in fact,  DIDN'T have:

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

In my sendmail.mc but instead had:

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

Which was failing.  I fixed this and tried a fax to User.Name@xxxxxxxxxxxxxx and it is trying to send the fax using the User.Name as the TONUMBER.

Any ideas now?

Argh.
Thanks
Lucas

-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Lee Howard
Sent: Friday, November 12, 2010 5:41 AM
To: Lucas Burdick
Cc: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] Sendmail faxmail mangling

Lucas Burdick wrote:
>
> Hey Guys,
>
> In regards to the Hylafax+ HOWTO section.how I use my configuration to 
> send faxes using the mail2sendfax script? Right now my sendmail.mc 
> file has the following added to it:
>
> define(`FAX_MAILER_PATH',`/usr/bin/faxmail')dnl
>
> define(`FAX_MAILER_ARGS',`faxmail -d -n -p 12pt $u@$h $f')dnl
>
> MAILER(`fax')dnl
>
> This works perfectly to use to faxmail to send the fax.but I wanted to 
> use the script that is mentioned in the HOWTO. If I change that to read:
>
> define(`FAX_MAILER_PATH',`/usr/bin/mail2sendfax')dnl
>         define(`FAX_MAILER_ARGS',`mail2sendfax -d -n -p 12pt $u@$h $f')dnl
>         MAILER(`fax')dnl
>
> It fails to work. Can anybody direct me to some instructions for this?
>

The mail2sendfax script uses metamail. Have you got metamail?

Thanks,

Lee.


____________________ 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*



____________________ 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*


____________________ 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*



____________________ 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