worng domain name in email header

1998-06-19 Thread Tony Langdon


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.




Automatic Email fetcher

1998-06-19 Thread Tony Langdon


It's 19 Jun 98  17:10:16,
We'll return to [EMAIL PROTECTED] and All's
discussion of Automatic Email fetcher

 ra Does anyone know of a program that will dial into an ISP (like maybe
 ra one specifies ppp1), initiate POP and SMTP downloads, and SMTP uploads,
 ra and after all such traffic has completed, drops the connection?

 ra I know what the steps are manually.  But I want to setup a cron job
 ra that will do this for me, especially for those times when I have to
 ra spend a few days out-of-town.  The asynchronous nature of some of these
 ra operations, is what's stopping me from doing it with a script file.

You could probably cobble something up with diald and some clever ip-up
scripting.

The ip-up script would have to do the following:

Run a fetch process to pick up your POP mail.
Run sendmail -q to flush sendmail's queue.

diald would be configured to bring up the interface at a specific time,
or alternatively, a cron job triggers a dummy event that will initiate
the connection (e.g. a one off ping).  After traffic stups, diald will
shut down the link after a specified idle time (and alternatively, it
could be configured to shut down the link after a certain time, to
handle the case of a connection "sticking" open.

I haven't tried this, but it should work.

.. It's not the bullet that kills you, it's the hole!
--
|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.




How to put a carriage return in Send field?

1998-06-18 Thread Tony Langdon


It's 18 Jun 98  16:17:46,
We'll return to [EMAIL PROTECTED] and All's
discussion of How to put a carriage return in "Send" field?

 he I'm not sure, but I think you put a ^M (Control-M) between single
 he quotes.
 he Simon Gao wrote:

\r does the trick, if I recall correctly.

.. Dangerous Job #1: Impulse Engine Exhaust Inspector
--
|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

1998-06-18 Thread Tony Langdon


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.




SMPT: We do not relay.

1998-06-17 Thread Tony Langdon


It's 17 Jun 98  11:32:40,
We'll return to [EMAIL PROTECTED] and All's
discussion of SMPT: We do not relay.

 lo It seems you have some anti spam rules engaged on your system, there
 lo is already a quite nice email in my box from this list explaining what
 lo it is  so I'll skip over that.  (Congrats to the newborn on the list,
 lo btw!)
 lo However, if you are using RedHat Linux 5.1 as your dialin server it
 lo comes with some anti-forwarding rules in it's sedmail.cf file.

 lo Try looking at http://www.redhat.com/support and looking in the RHL
 lo 5.1 Users Guide which explains what spam is and what the specific rules
 lo are in the sendmail.cf file.   If you installed support documentation,
 lo it will also be in /usr/doc/HTML or it is on the CD if you have it.

 
  I have about 15 dialin users.  All accounts are ppp.   Since I do not
  have a permenant IP I don't offer email.  However,  I have paticular
  free email service from www.netaddress.com that also uses a pop3 server.
 
  Why dialin users configure thier mail clients as folows:
  outgoing (SMPT) mail.ohiocounty.net  - me (netaddress.com has no
  SMPT)
  incomming (POP3) pop.netaddress.com
  email address: [EMAIL PROTECTED]
  reply to email address: [EMAIL PROTECTED]
 
  Now here is the problem:
  Whenever a dialin user tries to send mail it a popup reply that says
  "The server responded: We do not relay."  This *only* happens for
  dialin.   I can send mail from the this terminal just fine.  This
  terminal has the same configuration as the dialin user would have.

As I have installed anti spam support on Red Hat 4.2 by hand (with the
aid of docs from an email security site), I may be able to offer some
form of explanation.

It could be that the dialin user's IP address doesn't have a reverse DNS
entry, so all sendmail knows about the dialin user is the IP address.
Or the dialins (for some strange reason) are in a different domain.

I don't know how Red Hat have configured the anti relay measures, but if
it's anything like mine, there should be a class definition (a FW line
comewhere in /etc/sendmail.cf) which points to a file where you can add
domains or IP addresses that are to be considered local.  Add the
relevant entries for the dialups in the file, so sendmail knows that
these are "local" systems, and things should be fine.

One thing I love about sendmail is that if it's possible, there's every
chance sendmail can do it.  The trick is getting it to do so.  I
reccommend the O'Reilly Sendmail book, for anyone wanting to learn how
to get the most out of it.

.. I've never seen the Catskill Mountains, but I have seen'em kill mice.
--
|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.




SMPT: We do not relay.

1998-06-17 Thread Tony Langdon


It's 17 Jun 98  21:04:00,
We'll return to Tony Langdon and [EMAIL PROTECTED]'s
discussion of SMPT: We do not relay.

 TL As I have installed anti spam support on Red Hat 4.2 by hand (with the
 TL aid of docs from an email security site), I may be able to offer some
 TL form of explanation.

Meanwhile, I caused myself the same problem... forgot to add localhost
as a local machine, so sendmail complained, until I fixed it. :-)

.. CP/M, For when computers Did work, without playing.
--
|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.




Problem just don't leave me alone ;-))

1998-05-27 Thread Tony Langdon


It's 26 May 98  12:43:40,
We'll return to [EMAIL PROTECTED] and All's
discussion of Problem just don't leave me alone ;-))

 im impu: But unfortunately, I get this error as soon as I try to launch
 im cIRCus (IRC)
 im Using cIRCus resource directory: /usr/lib/circus
 im Xlib: connection to "localhost.localdomain:0.0" refused by server
 im Xlib: Client is not authorized to connect to Server
 im couldn't connect to display "localhost.localdomain:0.0"

 im While I run it just fine while logged on as root.

Ahh, a totally different problem.  Looks like you have a permissions
problem on your X server.  xhosts may help here, but it'd be better if
you consulted an X guru, to make sure. :-)  The error message is
definitely your X server refusing permission for the client to use the
display, and is not a PPP problem at all.

.. "Bother," said Pooh, as the pin fell out the grenade.
--
|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.




networking help

1998-05-26 Thread Tony Langdon


It's 26 May 98  17:23:55,
We'll return to [EMAIL PROTECTED] and All's
discussion of networking help

 sc One Machine is running Winblows 95 and the other one is running RH 4.2
 sc I want to basically set up the RH box so it a firewall and it dials
 sc into the ISP and the 95 proxies through the LAN.

 sc can someone tell me the basic down and dirty on this ?

I could say "2 words", namely "IP Masquerading".

The best place to go is the IP Masquerade Mini HowTo.  If you have the
HowTos installed on your system, look there, otherwise you'll find them
online as part of the Linux Documentation Project (there is a link from
www.linux.org).

Shouldn't be too hard to setup (I haven't tried yet, but might fiddle
with it at work one day - I have a subnet at home, so don't need to
masquerade :) ).

.. Everyone hates me because I'm paranoid.
--
|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.




Problem just don't leave me alone ;-))

1998-05-25 Thread Tony Langdon


It's 26 May 98  01:47:17,
We'll return to [EMAIL PROTECTED] and All's
discussion of Problem just don't leave me alone ;-))


 im Note:  I created a group call PPP  and I did chown root:PPP pppd   and
 im chmod  pppd (according to somebody else's suggestion) but didn't
 im make any difference.

Did you put your normal user login in the PPP group?  You need to edit
/etc/group to do this (can't remember if the X tools will do this as
well).

So the line in /etc/group will read:

ppp:all the usual junk yourlogin

(i.e. put your login name as the last thing on the line).

 im Its becoming very annoying as I only can connect while root so, when I
 im go to IRC or something, I get "don't connect as root" and disconnects
 im me.

Until you get it fixed, there is a simple workaround.  Login as root,
get your PPP connection up, then type:

su - yourlogin

At which point, you should be logged in as yourself, and can IRC
happily. :-)

.. Oxymoron: Clearly Confused
--
|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.




About /etc/ppp

1998-05-16 Thread Tony Langdon


It's 17 May 98  03:15:02,
We'll return to [EMAIL PROTECTED] and All's
discussion of About /etc/ppp

 ba I am haveing enormous trouble setting up PPP and I am
 ba getting very frustrated.
 ba Can someone please send me the contents of their /etc/ppp/
 ba directory or let me log on to their computer and check it
 ba out.

Can you describe your problem?  We may be able to help out from that.

.. Trial and error is still faster than reading the docs.
--
|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.




How to configure Linux to use ISP's proxy server

1998-04-29 Thread Tony Langdon


It's 30 Apr 98  05:51:27,
We'll return to [EMAIL PROTECTED] and All's
discussion of How to configure Linux to use ISP's proxy server

 an connection working. I can ping the DNS and browse the WWW pages on my
 an ISP's server. I now need to set up Linux so that it can send requests
 an to the ISP's proxy server and gain access to the WWW beyond the proxy
 an server.
 an I remembered that Netscape had the facility to specify a proxy server
 an and tried to set that up using the named domain name. Netscape said
 an that the host didn't exist (I wasn't online at the time), so I put in
 an the numerical IP address of the proxy server. Netscape accepted this,
 an but when I fired up pppd and got the connection, it didn't recognise
 an the host.

Netscape is where you setup the proxy details.  You need both the
hostname (or IP) of the proxy and the port it listens on for proxy
requests.  Common ports are 8080 snd 80.  It's worth checking your ISP's
web pages, as many ISPs have this sort of information online for their
customers.  BTW, DON'T enter anything in the Socks proxy box, unless
your ISP specifically says so.  Most ISPs don't have a Socks proxy for
users, as it's not needed (Socks is most commonly used in corporate
firewalls).

 an I presume I now have to set up the details of the proxy server within
 an a file in /etc or /etc/ppp , but I don't know where to add it.

No, Netscape is the only place you need to enter the information.  (Just
did it yesterday after installing Netscape under X myself :) ).


.. Originator out of cigarettes:  Taglines may become irrational..
--
|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.