Replacing sendmail with qmail

Anyone here use qmail as their MTA? I am following the Linux Electronic Mail HOW-TO and some bits don't add up...

        Adding the aliases - ok I have done that (as it asks in /etc/aliases). Except it also states you must "create each of these in ~aliases" - what is that!? Does he mean ~/aliases or just /etc/aliases or
        in the /var/qmail/aliases aswell. And the other thing - there is no rc file under /var/qmail/*

        Any ideas the version of qmail I am using is the source distro 1.03

        Cheers again dudes!

        Jim
Jim2000Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mixerfix122699Commented:
Hi,

  I am using qmail under Linux as my MTA. Qmail does NOT natively support /etc/aliases - it needs the fastforward package (also by Dan Bernstein).

  As for ~alias - it is the home directory of the "alias" user, normally /var/qmail/alias. You can use it by creating a series of files there, named:

..qmail-foo
..qmail-bar
..qmail-baz

These files should contain the addresses of the alias, preceded by an &, eg to associate mixerfix@bam.bam.boom with fixermix@bim.bam.bom, put "&fixermix@bim.bam.bom" in ~alias/.qmail-mixerfix on the machine responsible for the bam.boom domain.

This mode of aliasing (i.e. ~alias/.qmail-*) will work with or without the fastforward package.

The rc files are contained in the base disctrib, but for the life of me, i cannot remember what they're called.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mixerfix122699Commented:
ooooops! NOT ..qmail-foo, but .qmail-foo (i.e. ONLY ONE PERIOD).
0
Jim2000Author Commented:
Hmm I see ya. How (like sendmail) can I get qmail to que mail and then send it when I logon to my ISP.

For example. Local (LAN) user Jim@100-Acre-Wood.com wants to send an external mail (NET) to foo@bar.net however, if Jim is sending a mail to Stuart@100-Acre-Wood.com (which is again on the local LAN) it should arrive at his in box almost instantly.

Will increase points if you give me a good answer.

Cheers

Jim
0
mixerfix122699Commented:
No problem with that either...

serialmail (a package complementing qmail, also written by Dan Bernstein) allows you to do just that ;-).

I admit to not having used that, since I have a frame relay at home, but reports say that it works reasonably well.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.