Jonn,

Adding "mail.company.com" to smtprelay tab (if it were possible) would
permit ANYONE to relay through your server as long as they forged the from
address.  - Not desirable.

Your issue - I need clarification I think.  
Let me get this straight; 
You have Xmail server and squirrelmail on the same server - Yes?  
You wish to login to SM and send mail from a user at a domain you host -
Yes?

You need to distinguish between HTTP and SMTP.  If your users are using a
web browser to access SM, then they are using HTTP.  SM itself will use SMTP
to send the email to the MTA (your mail in this case).  So the bit that
Xmail is concerned with is between SM and Xmail, not SM and the rest of the
world.
Your smtprelay tab is probably requiring "127.0.0.1" "255.255.255.255", as
the IP address for localhost.
Alternately, configure SM to use Auth-SMTP and then the user will be
authenticated to send the email (at the SMTP level) and your problems will
be gone.

If you are not running Xmail & SquirrelMail on the same server, then the
above concept still works, but you won't use 127.0.0.1, you will use the IP
address of the local LAN.

Rob :-)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of jonn ah
Sent: Friday, July 29, 2005 3:15 PM
To: [email protected]
Subject: [xmail] smtp relay tab

Hi all,
 
I have the following in my smtp relay tab:
 
"192.168.1.0"  "255.255.255.0"
 
My problem is when I try to send mail to other domains via squirrelmail...it
says relaying is denied because my global ip is not in the smtp relay tab,
however its not practical to write global ips in the smtp relay for me since
my users normally use different ISPs to connect to squirrelmail...
 
Is there any possibility of instead of defining ip in the smtprelay tab,
i'll just put in my domain?
 
i.e.
 
"mail.company.com"
 
meaning,  all mails coming from this domain relay is acceptable...
 
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

-
To unsubscribe from this list: send the line "unsubscribe xmail" in the body
of a message to [EMAIL PROTECTED] For general help: send the line
"help" in the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to