From: Loki Harfagr on
Wed, 06 Jan 2010 20:11:04 -0800, Handover Phist did cat :

> Mr. B-o-B :
>> I was wondering if anyone had any good sendmail howto's laying around.
>>
>> I would like to setup a slackbox to accept our companies incomming smtp
>> mail, and then forward it on to our internal exchange server.
>>
>> Would the stock sendmail that comes with Slack be fairly easy to setup
>> to do this?
>>
>> Or would another mail programs be better?
>>
>> Any Thoughts would be great.
>>
>> Thanks,
>>
>> Bob
>
> I've been replacing Sendmail on Slack with Postfix for years now, and
> would recommend you do the same. I own an old version of the Bat Book
> you can just have as I never want to look at sendmail again. It just
> hurts too much.

Well, that's just the opposite to me, postfix hurts too much when
you want to achieve full fine grained control, but I reckon that
using sendmail for the OP purpose is probably not the best idea,
though he'd certainly find an ad-hoc .mc file in the sendmail-cf-8* package.

Now, the problem is not what sendmail could do wrong but *when* will the
OP add a wrong setting for a false idea ;D)
From: Mr. B-o-B on
On 1/7/2010 1:10 AM, Henrik Carlqvist wrote:
> "Mr. B-o-B"<mkebob1134(a)netscape.net> wrote:
>> I would like to setup a slackbox to accept our companies incomming smtp
>> mail, and then forward it on to our internal exchange server.
>
> As its single purpose is to forward emails to another server you are
> really only installing an smtp proxy. Once realized that is the case it
> seems clear to me that a proxy with some extra functionality might be an
> extra bonus.
>
> I have no experience from administrating assp myself, but if I were in
> your scenario I would have a look at assp: http://assp.sourceforge.net/
>
> regards Henrik

That projects looks pretty cool. I am going to download it today, and
see how it works.

Thanks,

Bob

--
We are building a fighting force of extraordinary magnitude.
We forge our tradition in the spirit of our ancestors.
You have our gratitude.
Those who oppose us will be sent to Detroit.
From: Aaron W. Hsu on
On Wed, 06 Jan 2010 14:13:10 -0500, Mr. B-o-B <mkebob1134(a)netscape.net>
wrote:

> I was wondering if anyone had any good sendmail howto's laying around.

I have some, as I use sendmail a lot, but I'm afraid many of them are
oriented towards desktop users.

> I would like to setup a slackbox to accept our companies incomming smtp
> mail, and then forward it on to our internal exchange server.

If all you want to do is forward mail onward, it's fairly easy to do this.

> Would the stock sendmail that comes with Slack be fairly easy to setup
> to do this?

Setting up any mail server correctly isn't exactly what I would call easy.
Sendmail isn't always the easiest thing to learn either, but it's well
tested and reliable. I've noticed a lot of people suggesting that Postfix
is a better solution. I disagree, but of course, you should feel free to
replace sendmail if you don't like it. However, I wouldn't do that on the
basis of someone saying that sendmail is not a valid solution at all, as
it is a very valid solution, and it is my preferred mail server.

> Or would another mail programs be better?

There may be simpler programs out there, and there may be ones that are
specifically designed for your purposes, but you have to answer that
question for yourself. What you want to do is very well within the range
of sendmail's normal application. You should look up relaying and learn
about how sendmail handles relaying. The usual sendmail documentation in
/usr/share/sendmail/cf has information about relaying all messages. doing
this isn't really that much different from having a sendmail relay station
on your desktop box that sends all the mail it receives out to another
machine.

You just have to be careful to make sure that your machine doesn't just
relay anything, or you'll be asking for spammers to take you for a messy
ride.

> Any Thoughts would be great.

My un-scientfic and personal reaction is, "Bah, all them postfix users are
crazy, sendmail rocks!" Then again, I've been using it for a while, and I
more or less know how to find out how to do what I want. Your mileage may
vary.

Aaron W. Hsu

--
A professor is one who talks in someone else's sleep.