[ale] Sendmail relay problem

sangell at nan.net sangell at nan.net
Thu Jun 13 08:51:31 EDT 2002



That might work internally but what about from outside of that network. I
have the mail server behind a firewall on a 192.168.0.x subnet, am port
forwarding to the mail box and am using dynamic DNS have a registered
domain pointing to my network. I am wanting select individuals to be able
to connect to the server via the internet and whatever client they wish to
use.
Won't adding the "192.168.0     RELAY"  only help me if I am at home? Maybe
I am missing something in the way sendmail authorizes relaying but that
looks like it would only work on the local subnet.

\_\_\_\_\_\_\_\_\_\_\_/_/_/_/_/_/_/_/_/_/_/
\_    Steve Angell,  MCSE, CCNA           _/
\_    MIS Operations Manager               _/
\_    TSYS Debt Management             _/
\_    Norcross, GA                                   _/
\_    Phone 770-409-5570                    _/
\_    Fax      770-416-1752                   _/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/


                                                                                                                        
                    cfowler                                                                                             
                    <cfowler at outpostsen       To:     sangell at nan.net                                                   
                    tinel.com>                cc:     ale at ale.org                                                       
                                              Subject:     Re: [ale] Sendmail relay problem                             
                    06/13/2002 08:26 AM                                                                                 
                                                                                                                        
                                                                                                                        




192.168.2       RELAY

make clean
make
/etc/rc.d/init.d/sendmail restart


test

[root at moses new2]# telnet 192.168.2.254 25
Trying 192.168.2.254...
Connected to 192.168.2.254.
Escape character is '^]'.
220 skylab.outpostsentinel.com ESMTP Sendmail 8.11.2/8.11.2; Thu, 13 Jun
2002 08:17:45 -0400
helo test.com
250 skylab.outpostsentinel.com Hello moses [192.168.2.5], pleased to
meet you
mail from: <cfowler at linuxiceberg.com>
250 2.1.0 <cfowler at linuxiceberg.com>... Sender ok
rcpt to: <cfowler at linuxiceberg.com>
250 2.1.5 <cfowler at linuxiceberg.com>... Recipient ok
data
354 Enter mail, end with "." on a line by itself
Test Email
.
250 2.0.0 g5DCI3x29298 Message accepted for delivery
quit
221 2.0.0 skylab.outpostsentinel.com closing connection
Connection closed by foreign host.
[root at moses new2]#



On Thu, 2002-06-13 at 07:59, sangell at nan.net wrote:
> I am setting up my first e-mail server using sendmail and am having one
> problem in the configuration with regards to relaying. I can send mail to
> anywhere while local on the box, but when I try to send through a mail
> client to any domain other than the local it says relaying is not
allowed.
> I have edited the etc/mail/access file to include the following:
>
>
> localhost.localdomain         RELAY
> localhost           RELAY
> 127.0.0.1           RELAY
> mydomain.com                                   RELAY
>
> Again everything else works perfectly with the exception of relaying from
> clients.
>
> Thanks,
>
> \_\_\_\_\_\_\_\_\_\_\_/_/_/_/_/_/_/_/_/_/_/
> \_    Steve Angell,  MCSE, CCNA           _/
> \_    MIS Operations Manager               _/
> \_    TSYS Debt Management             _/
> \_    Norcross, GA                                   _/
> \_    Phone 770-409-5570                    _/
> \_    Fax      770-416-1752                   _/
> \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should
be
> sent to listmaster at ale dot org.
>
>
>







---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list