![]() |
Ok, I got the first problem fixed by changing the sendmail -ffax ... to sendmail -ruser@mydomain. Now I would like to send the mail with the fax attached as pdf. I copied the to files http://www.hylafax.org/howto/faxrcvd/faxrcvd-pdf http://www.hylafax.org/howto/faxrcvd/faxrcvd-mail-pdf into the folder. Then I altered the faxrcvd-pdf <snip> if faxrcvd-mail "$FILE" "$DEVICE" "$COMMID" "$MSG" "$TOADDR" fax "$TRUNCFILE.pdf | \ /usr/sbin/sendmail $TOADDR; then rm -f @spool/@TRUNCFILE.pdf fi <snip> to.... <snip> if faxrcvd-mail "$FILE" "$DEVICE" "$COMMID" "$MSG" "$TOADDR" me@xxxxxxxxxxxx "$TRUNCFILE.pdf | \ /usr/sbin/sendmail $TOADDR; then rm -f @spool/@TRUNCFILE.pdf fi <snip> And then changed the names as described. But it doesn't work, what a'm I doing wrong ? Rasmus -----Original Message----- From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Stokholm, Rasmus Sent: 8. september 2004 16:45 To: procadas@xxxxxxxxx; hylafax-users@xxxxxxxxxxx Subject: Re: [hylafax-users] Problem sending notification mail There is no FROMADDR but I think I should be able to edit this line ) | 2>&1 $SENDMAIL -ffax -oi $TOADDR to ) | 2>&1 $SENDMAIL -fuser@xxxxxxxxxxxx -oi $TOADDR but it doesn't work and I don't get an error message any more. I suspect that It append @linux.site to my user@xxxxxxxxxxxx so I get a fucked up address like user@xxxxxxxxxxxx@linux.site which ofcourse is rejected. But since it doesn't exist I don't get an error message. Rasmus -----Original Message----- From: Pedro Rocadas [mailto:procadas@xxxxxxxxx] Sent: 8. september 2004 16:08 To: Stokholm, Rasmus; hylafax-users@xxxxxxxxxxx Subject: RE: [hylafax-users] Problem sending notification mail dit the faxrcvd script and I think if you change the var FROMADDR will solve your problem. I'm assuming that you are using 4.2.0 release. If not, look at the faxrcvd script for the FROM field. --- rasmus.stokholm@xxxxxxxxxxxxx wrote: > > Hi Pedrdo, > > I already did that it works, except for the from > address fax@xxxxxxxxxxx > Some spam filter stops the mail because > fax@xxxxxxxxxx is not a real > email. > But I can't find where to change it. > > Br Rasmus > > -----Original Message----- > From: hylafax-users-bounce@xxxxxxxxxxx > [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf > Of Pedro Rocadas > Sent: 8. september 2004 15:46 > To: hylafax-users@xxxxxxxxxxx > Subject: Re: [hylafax-users] Problem sending > notification mail > > Re-reading your message, I turned out that maybe you > only want send the messages to a single address. If > this is the case, edit the /etc/aliases (in Red Hat, > but I think this is valid to SuSE too) and change > the > Faxmaster. Run newaliases after the changes. Cheers. > > > Pedro > > > P.S. But FaxDispatch is the best thing to use. > > --- rasmus.stokholm@xxxxxxxxxxxxx wrote: > > > I installed hylafax on a suse 9.1 > > > > And it works fine, but when I receive a fax I > wan't > > to send a mail to an > > extern mail address like me@xxxxxxxxxxxxx > > > > But when I do that, the mail gets stopped at the > > gateway because my > > sender is fax@xxxxxxxxxx and it not a valid email. > > > > The question is how do is change the sender(from > > addr) of the > > notification mail ? > > > > > > > > Br Rasmus > > > > > > > > This message is for the designated recipient only > > and may contain privileged, proprietary, or > > otherwise private information. If you have > received > > it in error, please notify the sender immediately > > and delete the original. Any other use of the > email > > by you is prohibited. > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > > ____________________ 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* > > > > This message is for the designated recipient only > and may contain privileged, proprietary, or > otherwise private information. If you have received > it in error, please notify the sender immediately > and delete the original. Any other use of the email > by you is prohibited. > __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. ____________________ 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* This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. ____________________ 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*