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] hylafax - mail to fax



Hi Michael,

Thanks for this valuable tip ;-)

So, I ran the m4. Sofar so good. I can't restart sendmail, since this is not running on my server. Well, yes and no. Let me explain. Sendmail is disabled on the server. This because of my mailserver Dmail (www.netwinsite.com). However, Dmail replaced the file sendmail with it's one sendmail. Because of this,
all scripts that refere to sendmail are beeing routed to Dmail.

What I like to test now is if Hylafax works with Dmail aswell. But I need some help here. I've been reading the mailfax man, but can't figure out how to work it out. The basic idea is to offer virtual domains that I have on my webserver the possibility to use the mail-to-fax server. Without to be worried about
abuse of the mail-to fax gateway I think I could create an account customer1@mydomain.com, where I enter a forwardingaddress to mailfax. Nobody but me knows what the forwarding address is, so therefore I don't need to be worried for abuse...

But how do I format the address. What are the steps I need to take to allow this customer1 to use the mail-to-fax.

Michael Engelhart wrote:

> Hi,
>
> I actually just got this working thanks to Dieter Kluenter was able to solve this.
>
> BTW, this appears to be a bug in either the shell script or maybe on the webpage.  I forget where i copied it from.  What happened in my case was that the second line of the .mc additions has an extra space which forces hylafax to try dialing the letters "pt" instead of the number sent as the email address.
>
> Here's where the error is.  In the web page or shell script it looks like this;
>
> define(`FAX_MAILER_ARGS',`faxmail -d -n -p 12 pt $u@$h $f')dnl
>
> Notice the "space" between the "12" and "pt".  this needs to be written as
> define(`FAX_MAILER_ARGS',`faxmail -d -n -p 12pt $u@$h $f')dnl
>
> I'm not sure who's in charge of making this change but this little typo cost me 3 days of fiddling with Hylafax.  This is the page with the typo on it:
>
> http://www.hylafax.org/howto/clients/sendmail-faxmail-mangling.php
>
> As for the other question, linux.mc is usually means sendmail.mc which is in you /etc directory possibly
>
> After you add the additions to sendmail.mc, make a backup copy of your sendmail.cf and run
>
> m4 /etc/sendmail.mc > /etc/sendmail.cf
>
> Restart sendmail, restart hylafax and run faxmodem and you should be in business...
>
> Hope this helps
>
> Mike
>
> On Friday, February 23, 2001, at 09:53 AM, Harry M. Aasterud wrote:
>
> > Hi there again,
> >
> > YES YES YES I'm faxing !!! Thank you !
> >
> > Next on my list was mail to fax installation. First barrier for me to encounter (as
> > a newbee) is :
> >
> > *****************************************
> > (part from the mail-to-fax.php)
> >
> > Now, there are two ways to configure sendmail .
> >
> >              I. You can either  add to your .mc file, that is linux.mc or
> > OS-Type.mc, or to
> >              your .m4 file the following:
> >
> >                      define(`FAX_MAILER_PATH',`/usr/bin/faxmail')dnl
> >                      define(`FAX_MAILER_ARGS',`faxmail -d -n -p 12 pt $u@$h $f')dnl
> >                      MAILER(`fax')dnl
> >
> >              While the path to faxmail might be different, depending on OS-Type and
> >              distribution, the arguments can be taken from man (1) faxmail.
> >              After adding to your mail.mc or m4 file, you have to translate the
> >              file with the m4 macros. That is
> >
> >                              # m4 mail.mc > sendmail.cf
> >
> > (end text)
> > *************************************************
> >
> > OK, where is the linux.mc file, and what is m4? I've been going through the mailing
> > list, but there was only one link to linux.mc, and that was this mail-to-fax.php.
> >
> > I'm using Dmail as linux mailserver. Dmail is configured to catch everything that is
> > beeing send via sendmail. So I wonder if I need to make my aliases in /etc/aliases,
> > or in Dmail... But that's for me to find out soon :-)
> >
> > Giulio Orsero wrote:
> >
> > > On Thu, 22 Feb 2001 21:52:13 +0100, you wrote:
> > >
> > > >login root
> > > >sendfax -d 12 34 56 78 config.test.
> > > >faxadduser -a 1234 -p 1234 root.
> > > >faxrm -d 1
> > > >"job 1 removed"
> > > >Why didn't faxrm asked my password
> > > Because any user can delete the jobs he submits himself without having
> > > to enter a password.
> > >
> > > >Although I configures my modem with ttyS0, a ps -aus results in faxsend -m cua0
> > > >send/q1.
> > > ls /var/spool/fax/etc
> > > do you see any filename with cua0 in it?
> > > if you use faxgetty check that it uses ttyS0
> > >
> > > >The faxnumber contained a 0, because it needs to dial out to a city line.
> > > >Problem here is that the fax doesn't goes out. Could cua0 be the cause of
> > > You have to see if a file in /var/spool/fax/log has been created. If so
> > > look at it, if not look at /var/log/messages for HylaFAX errors.
> > >
> > > Also, the "faxstat -sl" output, field S, should have R or S. If W you
> > > need either faxgetty or faxmodem, if D it hs been done.
> > >
> > > --
> > > giulioo@pobox.com
> >
> > Kind Regards,
> >
> >
> > Aasterud WebCom
> > Harry M. Aasterud      Tel.: +47 / 74 16 11 42
> > Utvik                  Faks: +47 / 74 16 11 43
> > NO-7730 Beitstad       http://www.aasterudweb.com
> > Norge - Norway
> >
> > **********************************************************************
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> >
> > This footnote also confirms that this email message has been swept by
> > Aasterud WebCom for the presence of computer viruses.
> > **********************************************************************
> >
> >
> >
> >
> > ____________________ HylaFAX(tm) Users Mailing List _______________________
> >  To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
> >

--
Med vennlig hilsen,
Kind Regards,
Beleefde groeten,
Reciba un cordial saludo,


Aasterud WebCom
Harry M. Aasterud      Tel.: +47 / 74 16 11 42
Utvik                  Faks: +47 / 74 16 11 43
NO-7730 Beitstad       http://www.aasterudweb.com
Norge - Norway

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
Aasterud WebCom for the presence of computer viruses.
**********************************************************************




____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions