[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: smail (again..... sheesh..)



mickyb@es.co.nz (Michael Beattie) writes:

> Okay... over the last 2-3 months I have been subscribed to this list, I
> have noticed a predominant percentage of messages are about smail, and
> it's configuration.
> 
> Obviously, I have a question. What I would like to know is what are
> peoples opinion's on their own configurations, and what the pro's and
> con's are. One I can think of; Daniel's rewriting of /etc/smail/config
> every login, versus having visible_name set to your ISP's domain, to
> have a valid hostname. (All of these questions relate to dial-up 
> configurations)

Well, I can give you some advantages/disadvantages of what I do.  The
advantage is that Sender: addresses are always correct in some sense,
and the envelope From: address seems to be written correctly as
well.  The disadvantage is that re-running smailconfig breaks this
setup (or rather, anything you get by running smailconfig is wiped out 
at the next ip-up).  It's probably the wrong thing to do for someone
whose box only ever has one user who's sending mail.

> Another question is, what is better: using a smarthost for all mail, or
> for mail that fails? opinions here....

Well... any mail composed while offline is just going to end up going
through the smarthost anyway, so why not use a smarthost all the time?
The only time I'd consider not using a smarthost for all mail (for a
dialup ppp box) would be when one's smarthost was notoriously slow.

> What would people suggest in my situation, where my ISP's SMTP server
> does not mind invalid hostnames? should I just use it as a smarthost,
> and forget about visible_name? I have not understood how to set up a
> smarthost, how is this done?

Yep.  Setting this situation up is easy - in smailconfig choose the
"internet site" option, give your ISP's name as your visible name, and
enter their smtp server as your smarthost.  Or, if you insist on
editing your /etc/smail/routers file directly, replace all routes with 
this one:

smart_host:
        driver=smarthost, transport=smtp;
        path=your.isps.smtp.server


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: