l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2009 Oct 01 18:23

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Un-relaying postfix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Un-relaying postfix

On Thu, 2009-10-01 at 05:35 -0700, Gandalf Parker wrote:
> On Wed, 30 Sep 2009, Bill Kendrick wrote:
> > Do I simply remove the "relayhost" line from postfix's "main.cf" config file
> > and restart it?
> My main.cf just has
> relayhost =
> and works directly.
> But for sending, do you need to do that? Ive always understood it that 
> you dont have to have a full daemon running to send. So in this case 
> you should be able to bypass it in some specific scripted cases.
> Have you tried doing direct calls to sendmail sending email to yourself on 
> another system to see if it goes out without relay?
> Im abit surprised PostFix is running on that system at all if its set up 
> to relay. I hope they are using its capabilties in some way. At the moment 
> Im fighting with PostFix because its being abit of a hog on my system. Im 
> trying desperately to teach it to be a tiny tiny server.

Some programs that send mail (most notably mutt) don't speak SMTP --
they just call sendmail and let sendmail do the dirty work. If that's
all you're trying to do, then there are several different sendmail
replacements that can do that without starting a daemon, for example
ssmtp, nullmailer, and esmtp.

On the other hand, it can also be convenient to configure all local
programs to contact localhost:25 when they want to send. If you want to
do that, you need a daemon.
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.