Re: worng domain name in email header
Hi agin Tony, Thanks for patients! I insert the "ohiocounty.net" into the "sendmail.cw" file and it seems to of taken care of the problem. I got one more question for you. Tony Langdon wrote: Actually, you can define users _not_ to be masqueraded (root, Postmaster, MAILER-DAEMON sometimes are set as not masqueraded). Everyone else will have the masqueraded domain as part of their email address. Are these individual setting at the sendmail config level? -- robert -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.
worng domain name in email header
It's 19 Jun 98 20:05:23, We'll return to [EMAIL PROTECTED] and All's discussion of worng domain name in email header rw All mail that goes through my SMPT is referanced as rw (user)@office.ohiocounty.net it is supposed to be rw (user)@ohiocounty.net. If I try to send mail to an account with rw (user)@ohiocounty.net it gets returned to me (or whoever sends it). rw Even the mail daemon has an address of rw [EMAIL PROTECTED] rw any suggestion on this? rw Well I don't except incoming mail other that an occasional return rw receipt. But I did (for the dial users) include a line that maps the rw 'mail.ohiocounty.net' to the SMTP server. This also the dialin server, rw ftp, www, etc. ... No probs. rw ; rw ; Zone file for Ohiocounty.Net rw ; rw ; rw @ IN SOA office.ohiocounty.net. root.ohiocounty.net. ( rw 1998042400 ; serial, todays date + todays rw serial # rw 8H ; refresh, Hours, Seconds rw 2H ; retry rw 1W ; expire rw 1D) ; minimum TTL rw ; rw NS office ; Inet Address of NameServer rw MX 10 mail ; Primary Mail Exchanger rw ; rw localhost A 127.0.0.1 rw ftp A 192.168.1.1 rw www A 192.168.1.1 rw office A 192.168.1.1 rw mailA 192.168.1.1 rw office_two A 192.168.1.90 rw dial-up A 192.168.1.100 rw ttyc0 A 192.168.1.101 rw ttyc1 A 192.168.1.102 rw ttyc2 A 192.168.1.103 rw ttyc3 A 192.168.1.104 rw ttyc4 A 192.168.1.105 rw ttyc5 A 192.168.1.106 rw ttyc6 A 192.168.1.107 rw ttyc7 A 192.168.1.108 ~ Dialup users fetching mail won't need to to do the last two steps (since their isp will be holding the mail), but instead, should make sure rw I am thier ISP. However, (to apply this) I guess your saying this is rw not nesscary since netaddress.com (a free email server) will be rw holding their mail. I just relay it. A SMTP, that is all I do. Depends on what email address they're going to be using. You indicated you wanted mail to be handled by ohiocounty.net". Unless you have an arrangement with your upstream feed for them to hold your users mail (which I doubt if you're using only smtp), you'd need to setup a MX record for this domain. ohiocounty.net. MX 10 mail I'm not sure if the way you have it is legal, I use the syntax in my example at work (the trailing dot means not to append the default domain). important addresses such as MAILER-DAEMON and root aren't masqueraded (don't want to go impersonating your ISP, do you? :) ). There is a space provided for this, which should be easily found from the comments in sendmail.cf. rw thanks agin ;-) I suspect my original solution (with the masquerading and /etc/sendmail.cw) is one suitable for your situation. .. If speed scares you, use Windows. -- |Fidonet: Tony Langdon 3:632/367.2 |Internet: [EMAIL PROTECTED] | | Standard disclaimer: The views of this user are strictly his own. -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.
worng domain name in email header
It's 18 Jun 98 16:13:22, We'll return to [EMAIL PROTECTED] and All's discussion of worng domain name in email header rw I don't know if this a sendmail problem or network configuration rw problem. rw All mail that goes through my SMPT is referanced as rw (user)@office.ohiocounty.net it is supposed to be rw (user)@ohiocounty.net. If I try to send mail to an account with rw (user)@ohiocounty.net it gets returned to me (or whoever sends it). rw Even the mail daemon has an address of rw [EMAIL PROTECTED] rw any suggestion on this? By default, sendmail pulls out the hostname of the machine it's running on and puts it in the from: header. This is a common problem for dialup users who fetch mail from a POP server, or networks where you want mail to go to the domain, not the host. If you use Netscape locally, you can fix it in Netscape. If you use a shell based mail agent (e.g. elm, pine), you can get sendmail to masquerade as any domain you want. In /etc/sendmail.cf, there is a line to configure masquerading. Simply add the desired domain after this in the space provided for masquerading (the line beginning with DM) and remove any leading hash (#) to uncomment the line. DMohiocounty.net Also, you'll have to add ohiocounty.net to /etc/sendmail.cw, if you are running the machine as a mail server for a domain, so incoming mail to ohiocounty.net is treated as local mail. Finally, make sure you have the appropriate MX records in your DNS, so other hosts know where to send mail for your domain. Dialup users fetching mail won't need to to do the last two steps (since their isp will be holding the mail), but instead, should make sure important addresses such as MAILER-DAEMON and root aren't masqueraded (don't want to go impersonating your ISP, do you? :) ). There is a space provided for this, which should be easily found from the comments in sendmail.cf. The Red Hat manual does have some examples of common configurations (at least with RH 4.2 it did). .. Enough research will tend to support your theory. -- |Fidonet: Tony Langdon 3:632/367.2 |Internet: [EMAIL PROTECTED] | | Standard disclaimer: The views of this user are strictly his own. -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.
Re: worng domain name in email header
Tony Langdon wrote: It's 18 Jun 98 16:13:22, We'll return to [EMAIL PROTECTED] and All's discussion of worng domain name in email header rw I don't know if this a sendmail problem or network configuration rw problem. rw All mail that goes through my SMPT is referanced as rw (user)@office.ohiocounty.net it is supposed to be rw (user)@ohiocounty.net. If I try to send mail to an account with rw (user)@ohiocounty.net it gets returned to me (or whoever sends it). rw Even the mail daemon has an address of rw [EMAIL PROTECTED] rw any suggestion on this? By default, sendmail pulls out the hostname of the machine it's running on and puts it in the from: header. This is a common problem for dialup users who fetch mail from a POP server, or networks where you want mail to go to the domain, not the host. If you use Netscape locally, you can fix it in Netscape. If you use a shell based mail agent (e.g. elm, pine), you can get sendmail to masquerade as any domain you want. In /etc/sendmail.cf, there is a line to configure masquerading. Simply add the desired domain after this in the space provided for masquerading (the line beginning with DM) and remove any leading hash (#) to uncomment the line. DMohiocounty.net Also, you'll have to add ohiocounty.net to /etc/sendmail.cw, if you are running the machine as a mail server for a domain, so incoming mail to ohiocounty.net is treated as local mail. Finally, make sure you have the appropriate MX records in your DNS, so other hosts know where to send mail for your domain. Well I don't except incoming mail other that an occasional return receipt. But I did (for the dial users) include a line that maps the 'mail.ohiocounty.net' to the SMTP server. This also the dialin server, ftp, www, etc. ... ; ; Zone file for Ohiocounty.Net ; ; @ IN SOA office.ohiocounty.net. root.ohiocounty.net. ( 1998042400 ; serial, todays date + todays serial # 8H ; refresh, Hours, Seconds 2H ; retry 1W ; expire 1D) ; minimum TTL ; NS office ; Inet Address of NameServer MX 10 mail ; Primary Mail Exchanger ; localhost A 127.0.0.1 ftp A 192.168.1.1 www A 192.168.1.1 office A 192.168.1.1 mailA 192.168.1.1 office_two A 192.168.1.90 dial-up A 192.168.1.100 ttyc0 A 192.168.1.101 ttyc1 A 192.168.1.102 ttyc2 A 192.168.1.103 ttyc3 A 192.168.1.104 ttyc4 A 192.168.1.105 ttyc5 A 192.168.1.106 ttyc6 A 192.168.1.107 ttyc7 A 192.168.1.108 ~ Dialup users fetching mail won't need to to do the last two steps (since their isp will be holding the mail), but instead, should make sure I am thier ISP. However, (to apply this) I guess your saying this is not nesscary since netaddress.com (a free email server) will be holding their mail. I just relay it. A SMTP, that is all I do. important addresses such as MAILER-DAEMON and root aren't masqueraded (don't want to go impersonating your ISP, do you? :) ). There is a space provided for this, which should be easily found from the comments in sendmail.cf. thanks agin ;-) -- robert -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.