Professional Web Applications Themes

sending mail between local computers - FreeBSD

I have two FreeBSD boxes running sendmail, how would make it so mail can be sent from one box to the other? I have just managed to make them masquerade so I can send mail out on to the Internet. I did come across this on my 'quest': http://www.clanger9.org.uk/computer/explain.html ;-) -- /Xian "C lets you shoot yourself in the foot. C++ lets you reuse the bullet" Unknown Author...

  1. #1

    Default sending mail between local computers

    I have two FreeBSD boxes running sendmail, how would make it so mail can be
    sent from one box to the other?
    I have just managed to make them masquerade so I can send mail out on to the
    Internet.

    I did come across this on my 'quest':
    http://www.clanger9.org.uk/computer/explain.html
    ;-)

    --
    /Xian

    "C lets you shoot yourself in the foot. C++ lets you reuse the bullet"
    Unknown Author
    Xian Guest

  2. #2

    Default Re: sending mail between local computers

    On Thu, 7 Apr 2005, Xian wrote:
     

    Assuming they are both on your local network, as suggested in the
    subject... You shouldn't have to do anything with sendmail. Just
    configure the machines so each hostnames resolves, from the perspective
    of the other machine. You could either create an /etc/hosts file on each
    machine, or run DNS locally. Probably other ways as well. Let's say that
    their hostnames are foo and bar - make it so that from foo you can 'ping
    bar', and vice versa.

    Once that works, you ought to be able to log in to foo and send mail via
    your favorite MUA to 'ianbar' - note, that's just bar, not bar.com or
    anything. Likewise you ought to be able to log in to bar and send mail
    via your favorite MUA to 'ianfoo'. Assuming the user exists on both
    machines, of course.

    I'm doing something like this with my internal mail at home, and it
    works fine.
     

    Cute.

    --
    Chris Hill org
    ** [ Busy Expunging <|> ]
    Chris Guest

  3. #3

    Default Re: sending mail between local computers

    On Thursday 07 April 2005 02:19, Chris Hill wrote: 
    >
    > Assuming they are both on your local network, as suggested in the
    > subject... You shouldn't have to do anything with sendmail. Just
    > configure the machines so each hostnames resolves, from the perspective
    > of the other machine. You could either create an /etc/hosts file on each
    > machine, or run DNS locally. Probably other ways as well. Let's say that
    > their hostnames are foo and bar - make it so that from foo you can 'ping
    > bar', and vice versa.
    >
    > Once that works, you ought to be able to log in to foo and send mail via
    > your favorite MUA to 'ianbar' - note, that's just bar, not bar.com or
    > anything. Likewise you ought to be able to log in to bar and send mail
    > via your favorite MUA to 'ianfoo'. Assuming the user exists on both
    > machines, of course.
    >
    > I'm doing something like this with my internal mail at home, and it
    > works fine.

    >
    > Cute.
    >
    > --
    > Chris Hill org
    > ** [ Busy Expunging <|> ][/ref]

    That's exactly what I'm doing except the hosts are named hercules and pandora.
    A little exploring and I find that hercules can't telnet to pandora port 25
    and the other way too. This looks like the mail "Sendmail + No Response from
    Port 25" I just spotted on the list.

    --

    /Xian

    "Windows has detected that your mouse has moved. Reboot now for changes to
    take effect?"
    Unknown Author
    Xian Guest

Similar Threads

  1. Making ASMX Test available to non-local computers
    By Yaiz in forum ASP.NET Web Services
    Replies: 2
    Last Post: February 3rd, 03:01 PM
  2. sending attachment form local drive with mail()
    By Roy G. Vervoort in forum PHP Development
    Replies: 9
    Last Post: February 19th, 12:12 PM
  3. #25357 [Com]: Mail() function is loosing cahracters when sending mail
    By dj_canard at yahoo dot com in forum PHP Development
    Replies: 0
    Last Post: September 24th, 02:10 PM
  4. #25357 [NEW]: Mail() function is loosing cahracters when sending mail
    By pjsmith at microtech dot co dot gg in forum PHP Development
    Replies: 0
    Last Post: September 2nd, 11:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139