SLUG Mailing List Archives
Re: [SLUG] Sendmail help
- To: Simon Bryan <sbryan@xxxxxxxxxxxxxxx>
- Subject: Re: [SLUG] Sendmail help
- From: Tony Green <tgreen@xxxxxxxxxxxxxx>
- Date: Tue Sep 4 09:38:05 2001
- Cc: slug@xxxxxxxxxxx
* This one time, at band camp, Simon Bryan said:
> Hi all,
> I want to be able to send mail from one internal mailserver to another (our
> main server which is visible on the internet).
Should be fairly easy
> I have tried many combinations of sendmail configurations on both machines
> but have had no luck.
Welcome to sendmail!
> If I Ieave the cf file alone, mail is sent to our ISP system and then
> bounced as the domain of the sender does not exist.
Yep - thats to be expected unless the machine you are sending from has
an externally resolvable DNS entry
> If I try to masquerade as the original domain, then the mail doesn not get
> sent as the user does not exist.
Because you are trying to deliver that locally I would guess (or the
user on the remote end doesn't exist
> I believe what happens is that the first
> system then beleives it is the same as the main one and tries to send the
> mail to itself and the users do not exist on this system. I have got it to
> work by creating the user and then putting a .forward file in the home
> directory. But I don't want to add all the users to this system.
You can set up the LUSER_RELAY (sends all seemingly local users that
don't exist onto a specified machine) or set the slave machine to
forward ALL mail to the external machine.
Which is the best is hard to say as you haven't given the required
Free free to contact me off list on this email address and I'll walk
you though it - then you can post a solution! ;-)
> This is not very clear.....!
sendmail is seldom clear but its worth the battle - you'll know how mail
really works in the end (this is not the queue for an MTA flame war)
GnuPG Key : 1024D/B5657C8B
Key fingerprint = 9ED8 59CC C161 B857 462E 51E6 7DFB 465B B565 7C8B
Imagine working in a secure environment and finding the string
_NSAKEY in the OS binaries without a good explanation
-Alan Cox 04/05/2001