On Sunday 08 December 2002 11:28 am, Kelsey Hartigan Go wrote:
> > 2. Mail Server which we have setup is Sendmail. When I
> > try sending mails using Outlook Express, thru my SMTP
> > mail server I get an error, but when I divert the same
> > mail thru my ISPs SMTP server, it just goes without
> > any error. The settings used are the same, except the
> > SMTP server Protocols are changed in the Outlook
> > Express. Hence, If you can pls help me sort out this
> > prob.
>
> hmmm. is the ip address of client (outlook express) registered in the
> server for relay?

Ratnakar, by this Kelsey means, in your sendmail configuration (on
my boxes, the sendmail config files are in /etc/mail) is the IP number
(or IP subnet, or domain) of the client's computer in your access
file (on my box, /etc/mail/aliases) and have you created access.db
from the aliases file (cd /etc/mail/aliases;makemap hash access < access).

By default, sendmail won't allow clients to relay through it if they're
not in the access db (unless you've got a *really* old sendmail :).

another possibility, look at the error message.  is the error message
being generated by YOUR server or by your upstream ISP's
server.  some ISPs disallow direct port 25 access from downstream.
this is an anti-spam feature.  if your ISP blocks direct port 25 upstream
access except through their SMTP server, then you will need to
configure your SMTP server to relay through their SMTP server.
This means you'll need to set your ISP's SMTP server as your
smarthost (in postfix it's called relayhost).

if you use sendmail.mc,

    define(`SMART_HOST',`smarthost.myisp.com')

and then generate the sendmail.cf

if you use sendmail.cf, I think its:

DS smarthost.myisp.com

NOTE: i don't use sendmail.mc, i just copied that example from 
somewhere else.  i think DS is right for sendmail.cf, but i'm
not absolutely sure about that anymore.  i used that long ago,
but lately i use postfix since that's what comes with Mandrake.

good luck.

tiger

-- 
Gerald Timothy Quimpo  tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"
                   Veritas liberabit vos.
                   Doveryai no proveryai.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to