Apache question

Robert Dege rdege at cse.Buffalo.EDU
Tue Nov 6 11:00:06 EST 2001



Mike, I am fine, how 'bout yerself?  I am quite busy.  I trying very hard
to have my frankenstein box done for the next meeting.  I "hope" to have
quake or with luck quake2 running.

-Rob

> btw dege, how the hell r u doing?
>
> mike
>
> --
> mike at hanulec.com				cell: 516.410.4478
> https://www.hanulec.com		      EFnet irc && aol im: hanulec
>
> On Wed, 31 Oct 2001, Darin Perusich wrote:
>
> > when apache fires up sendmail it will not be running in server mode,
> > it's pretty much the equivalent of using sendmail as a mail agent
> > instead of using an MTA.
> >
> > another sendmail trick i do on hardened servers attached directly to the
> > internet is to run sendmail via cron. running sendmail via cron every
> > hour or so to clean up anything that's queue'd up. when doing this only
> > only give sendmail the "-q", this will only process the queue once.
> > 	crontab entry
> > 	0 * * * * /usr/lib/sendmail -q
> >
> > to have your remote SMTP process outgoing mail modify your sendmail.cf
> > on the web server to forward all message to the remote.
> >
> > modify these lines to push ALL mail on your webserver to a remote SMTP
> >
> > # "Smart" relay host (may be null)
> > DSremote_server.$m
> >
> > # who I send unqualified names to (null means deliver locally)
> > DRremote_server.domain.com
> >
> > #
> > # YOU MAY OR MAY NOT WANT TO CHANGE THIS ON
> > #
> > # who gets all local email traffic ($R has precedence for unqualified
> > names)
> > DHremote_server.domain.com
> >
> >
> > Robert Dege wrote:
> > >
> > > I am building a few webpages on my linux server.  Within the web page
> > > page, I have it setup to send mail to me via a form.  But when the mail
> > > gets sent out, apache uses the local sendmail program.
> > >
> > > Where do I tell apache to use a remote sendmail server instead of using
> > > the localhost as a mailer daemon?  I plan on keeping sendmail inactive,
> > > but don't want to break my web forms.
> > >
> > > Dege
> > >
> > > Inside some of us is a thin person struggling to get out, but
> > > they can usually be sedated with a few pieces of chocolate cake.
> >
> > --
> > Darin Perusich
> > Unix Systems Administrator
> > Cognigen Corp.
> > darinper at cognigencorp.com
> >
> >
>
>



Dege

Inside some of us is a thin person struggling to get out, but
they can usually be sedated with a few pieces of chocolate cake.



More information about the nflug mailing list