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] Sending faxes through email



Dear Bruno,

I do not think it is a problem with access file or local-host-names.

The problem is due to sendmail that does not forward the user@xxxxxxxxxxxxx to hylafax.

Could you tell me how to modify sendmail.cf directly instead of using m4 sendmail.mc > sendmail.cf?

What is the line in sendmail.cf that is LOCAL_DOMAIN(`localhost.localdomain')dnl in sendmail.cf
What is the lines in sendmail.cf that are:
FEATURE(delay_checks)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(allmasquerade)dnl
FEATURE(masquerade_entire_domain)dnl

Thanks,
Lorenzo


                              
                              
                              
                              
                           
   Lorenzo Allori
Systems Administrator
Office: +393491924516
Mobile: +393398612411
The Medici Archive Project
<lallori@xxxxxxxxxx>


-----Original Message-----
From: Bruno Santos <bvsantos@xxxxxxxxxxxxxxxx>
To: llallori@xxxxxxxxx
Date: Tue, 19 Jul 2005 16:53:59 +0100
Subject: Re: [hylafax-users] Sending faxes through email

> Allori Lorenzo wrote:
> 
> >Dear Bruno,
> >
> >I changed the file as you said (they should update the site), but i still find the same error:
> >
> >Jul 19 16:36:26 marmuri sm-mta[1862]: j6JEaPZ0001860: to=<asdadsads@xxxxxxxxxxxx>, 
> >ctladdr=<fax@xxxxxxxxxxxxxxx> (1000/100), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, 
> >pri=121146, relay=12312323.fax., dsn=5.1.2, stat=Host unknown (Name server: 12312323.fax.: host
> not 
> >found)
> >Jul 19 16:36:26 marmuri sm-mta[1862]: j6JEaPZ0001860: j6JEaQZ0001862: DSN: Host unknown (Name 
> >server: 12312323.fax.: host not found)
> >Jul 19 16:36:26 marmuri sm-mta[1862]: j6JEaQZ0001862: to=<fax@xxxxxxxxxxxxxxx>, delay=00:00:00, 
> >xdelay=00:00:00, mailer=local, pri=32341, dsn=2.0.0, stat=Sent
> >
> >and if i do a faxstat -s there are no jobs.
> >
> >What do you think?
> >
> >Thanks,
> >
> >Lorenzo
> >                           
> >                              
> >                              
> >                              
> >                              
> >                           
> >   Lorenzo Allori
> >Systems Administrator
> >Office: +393491924516
> >Mobile: +393398612411
> >The Medici Archive Project
> ><lallori@xxxxxxxxxx>
> >
> >
> >-----Original Message-----
> >From: Bruno Santos <bvsantos@xxxxxxxxxxxxxxxx>
> >To: llallori@xxxxxxxxx
> >Date: Tue, 19 Jul 2005 14:33:09 +0100
> >Subject: Re: [hylafax-users] Sending faxes through email
> >
> >  
> >
> >>Allori Lorenzo wrote:
> >>
> >>    
> >>
> >>>Hi Group,
> >>>
> >>>I tried to find a solution for sending emails from outlook or other e-mail clients.
> >>>
> >>>I followed the instruction I found in:
> >>>http://www.hylafax.org/howto/clients/sendmail-faxmail-mangling.php
> >>>
> >>>Slackware Linux 10.1.
> >>>I'm using sendmail as specified.
> >>>My hylafax version is 4.2.1.
> >>>
> >>>But it does not seem to work:
> >>>/var/log/maillog
> >>>
> >>>sm-mta[7603]: j6JBYu2v007602: to=root, ctladdr=<fax@xxxxxxxxxxxxxxx> (1000/100),
> delay=00:00:00,
> >>>delay=00:00:0
> >>>sm-mta[7605]: j6JBYxFg007605: from=<fax@xxxxxxxxxxxxxxx>, size=1788, class=0, nrcpts=1,
> >>>      
> >>>
> >>msgid=<00150
> >>    
> >>
> >>>sm-mta[7607]: j6JBYxFg007605: to=<lore.dihane@xxxxxxxxxxxxxx>, ctladdr=<fax@xxxxxxxxxxxxxxx> 
> >>>(1000/10
> >>>sm-mta[7607]: j6JBYxFg007605: j6JBYxFg007607: DSN: Host unknown (Name server: 0552349535.fax.:
> >>>      
> >>>
> >>host 
> >>    
> >>
> >>>not found)
> >>>
> >>>It seems it can't get the Fax application to work. The message is not forwarded to hylafax but
> >>>treated as a normal mail message.
> >>>
> >>>Do you have any suggestions?
> >>>
> >>>Thanks a lot,
> >>>Lorenzo
> >>>                          
> >>>                             
> >>>                             
> >>>                             
> >>>                             
> >>>                          
> >>>  Lorenzo Allori
> >>>Systems Administrator
> >>>Office: +393491924516
> >>>Mobile: +393398612411
> >>>The Medici Archive Project
> >>><lallori@xxxxxxxxxx>
> >>>
> >>>
> >>>
> >>>____________________ 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*
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>Hello. Lorenzo,
> >>The instructions on the site are wrong:
> >>the line they told to put:
> >>R$+ < @ $+ .FAX. >      $#fax $@ $: $1  user@xxxxxxxx
> >>replace with (or just remove the 2nd dot (.) ) like the next line.
> >>R$+ < @ $+ .FAX >       $#fax $@ $2 $: $1       user@xxxxxxxx
> >>
> >>restart sendmail and everything should work
> >>
> >>hope it works
> >>
> >>Cheers,
> >>
> >>Bruno Santos
> >>
> >>-- 
> >>Say no to Software Patents
> >>http://www.nosoftwarepatents.com/
> >>--
> >>Bruno Santos
> >>bvsantos@xxxxxxxxxxxxxxxx
> >>--
> >>Divisao de Informatica
> >>informatica@xxxxxxxxxxxxxxxx
> >>Tel: +351 272 000 155
> >>Fax: +351 272 000 257
> >>--
> >>Hospital Amato Lusitano
> >>geral@xxxxxxxxxxxxxxxx
> >>Tel: +351 272 000 272
> >>Fax: +351 272 000 257
> >>
> >>    
> >>
> >
> >
> >
> >____________________ 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*
> >
> >  
> >
> hello
> check to see your access file.
> should have the following line:
> server_hostname.domain   RELAY
> .domain    RELAY
> 
> your local-host-names
> (the coment in the beginning of the file is self explanatory)
> hostname
> hostname.domain
> 
> 
> check your sendmail.mc and add a line (if you dont have it done alredy):
> browse for the following line
> LOCAL_DOMAIN(`localhost.localdomain')dnl
> and add, just bellow the same, but replace localhost.localdomain with 
> your hostname.domain
> read the rest of the email before doing anything else.
> 
> if you need, i'll sent you my email configuration files, for you to see
> 
> after you change those files, you need to rebuild the configuration for 
> sendmail
> make
> m4 sendmail.mc > sendmail.cf
> newaliases
> /etc/init.d/sendmail restart (this is in fedora - check for slackware)
> 
> REMEMBER: after rebuilding the sendmail.mc to sendmail.cf, all your 
> configurations in sendmail.cf will be lost, so
> before doing the above lines, save a copy of your sendmail.cf, cause the 
> following lines are necessary to rebuild de access.db
> after doing it, just restore the file.
> 
> cheers,
> 
> Bruno Santos
> 
> PS: that is a miss-configuration of sendmail. check the folowing site, 
> that teaches how to configure sendmail. just dont do the masquerade stuff
> 
> FEATURE(delay_checks)dnl
> FEATURE(masquerade_envelope)dnl
> FEATURE(allmasquerade)dnl
> FEATURE(masquerade_entire_domain)dnl
> 
> check the site: is very nice
> http://www.linuxhomenetworking.com/linux-hn/sendmail.htm
> 
> cheers,
> 
> Bruno Santos
> 
> -- 
> Say no to Software Patents
> http://www.nosoftwarepatents.com/
> --
> Bruno Santos
> bvsantos@xxxxxxxxxxxxxxxx
> --
> Divisao de Informatica
> informatica@xxxxxxxxxxxxxxxx
> Tel: +351 272 000 155
> Fax: +351 272 000 257
> --
> Hospital Amato Lusitano
> geral@xxxxxxxxxxxxxxxx
> Tel: +351 272 000 272
> Fax: +351 272 000 257
> 



____________________ 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