Eduardo Soriano wrote:

> Currently we had a single network C1 covering 40 clients.
> 
> Recently I splitted this network keeping 15 clients on old C1
> and 25 moved to a new C2. Routing between C1 and C2
> is managed by a Linux system.
> 
> On C1 we have a DNS and an Internet connection running on Linux.
> 
> Everithing works fine. Clients on both subnetworks C1 and C2 can
> access samba server, Internet, server DB on C1 and the coffee machine.
> 
> A single exception: moved clients from subnetwork C1 to C2 can't 
> longer send mail.
> 
> Each mail sent from C2 reach the sendmail server and is returned
> back to the sender with the error messages:
> 
> Assume the sender was trying to send a message to [EMAIL PROTECTED]
> 
>    ----- The following addresses had permanent fatal errors -----
> <[EMAIL PROTECTED]>
> 
>    ----- Transcript of session follows -----
> 554 <[EMAIL PROTECTED]>... relay traffic prohibited
> 554 <[EMAIL PROTECTED]>... Service unavailable

You need to tell the sendmail on C1 that the hosts on C2 are yours
(i.e. that they are allowed to use it as a relay).

> Could be I need to declare the new subnetwork C2 to some
> sendmail configuration file.

Yep, but I don't know which one. The above error message doesn't
appear in my sendmail.cf (from the stock 8.9.3 distribution).

If you're using RedHat's sendmail.cf, you need to add the network
portion corresponding to C2 to the /etc/mail/ip-allow file (I think).

Otherwise, you'll need to look at sendmail.cf, find where that message
originates, figure out which class or map it is using for access
control, then find which file defines that class or map. If you can
find the message in sendmail.cf, but can't figure out which file
controls access, send me your sendmail.cf.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to