Hylafax Mailing List Archives

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

[hylafax-users] From and To Address on coverpage



I am having a serious issue with the To: and From: variables on the standard faxcover page.
I know hylafax, through sendmail, is receiving both to and from address in their full format,
george@xxxxxxxxxxxx, I can see this from the xferxfaxlog and from a faxlog which is created
through the notify script which I modified to create this logfile:


set - `date '+%Y%m%d,%H%M%S'`
fdate=$1
printf "%s,%s,%s,260,%s\n" "$fdate" "$mailaddr" "$number" "$npages" >>faxlog/log 2>&1;


tail -f log
20040831,195406,george@xxxxxxxxxxxx,12015551010,260,2
20040901,182217,root@xxxxxxxxxxx,12015551010,260,3
20040902,162349,admin@xxxxxxxxxxxxx,12015551010,260,3
20040902,164808,root@xxxxxxxxxxx,12015551010,260,2
20040902,164902,george@xxxxxxxxxxxx,12015551010,260,2


Any help is appreciated and Thanks.


Issue #1, fax.abc.com, this is the fax server:
When I send a fax locally from the fax server as a local user, the From: address only
contains the local sender name, george, and not the full email address, george@xxxxxxxxxxxx


This server, fax.abc.com, is a RH 9, running sendmail 8.12.8, and Hylafax 4.2. Below is the sendmail.mc:

define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`FAX_MAILER_PATH',`/usr/local/bin/faxmail')dnl
define(`FAX_MAILER_ARGS',`faxmail -d -p 10pt $u@$h $f')dnl
define(`confTO_IDENT', `0')dnl
dnl FEATURE(delay_checks)dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
MASQUERADE_AS(`fax2.abc.com')dnl
MAILER(fax)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl


Issue #2, cnc1.abc.com:
When I send a fax from a this server as a local user, george, to the fax server, fax.abc.com,
via sendmail, the From: address only contains the local sender name, george, and not the full
email address, geroge@xxxxxxxxxxxxx


This server, cnc1.abc.com, is a RH 9, running sendmail 8.12.10. Below is the sendmail.mc:

OSTYPE(`linux')
undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl
define(`FAX_RELAY', `fax.abc.com')dnl
define(`confTO_CONNECT', `1m')dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`confTO_IDENT', `0')dnl
dnl FEATURE(delay_checks)dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
Cwlocalhost.localdomain


Issue #3, radio.abc.com:
When I send a fax from a this server as a local user, george, to the fax server, fax.abc.com,
via sendmail, the From: address only contains the local sender name, george, and not the full
email address, george@xxxxxxxxxxxxx Also, the To: address is completly blank.


This server is a Sun 220R, Solaris 2.8, running sendmail 8.12.10. Below is the sendmail.mc:

divert(0)dnl
VERSIONID(`$Id: generic-solaris.mc,v 8.13 2001/06/27 21:46:30 gshapiro Exp $')
OSTYPE(solaris2)dnl
DOMAIN(generic)dnl
MAILER(local)dnl
MAILER(smtp)dnl
define(`FAX_RELAY', `fax.abc.com')dnl


I've removed most of the frivolous entries from the sendmail.cf for this post.

On the fax server, the /usr/local/lib/fax/hfaxd.conf is unmodified. The /var/spool/hylafax/etc/config
contains:


LogFacility:            local3
CountryCode:            1
AreaCode:               201
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
DestControls:           etc/destctrls
ServerTracing:          8075
NotifyCmd:              "bin/notify"
MaxTries:       2
MaxDials:       2

The config.ttyS5 and config.ttyS4 are exactly the same and contain:
(I've removed all modem-related stuff for this post.)

NotifyCmd:              "bin/notify"
CountryCode:            1
AreaCode:               201
FAXNumber:              201.555.5555
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
ServerTracing:          9
SessionTracing:         11
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      2
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        abc-com
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           2
ModemDialCmd:           ATDT9%s         # T for tone dialing



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



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services