Maxim Khitrov wrote:
Hi everyone,

I have what I hope is a rather simple question. I'm not very familiar
with this area of system administration, so hopefully someone here can
point me in the right direction. I just got myself a FreeBSD VPS to
host a few of my websites. I need the processes on the server (PHP,
for example) to be able to send e-mail via /usr/sbin/sendmail. The
thing is that I don't actually want to run a mail server. My vps is
severely limited on disk space, and any mail I get I'll forward to my
gmail account anyway. I can obviously configure sendmail or postfix to
do this for me, but this seems a bit excessive for what I'm trying to
do. The mail load will be very light, and I'd prefer to conserve disk
space. Is there a port, perhaps, that will simply forward all mail
transmitted to /usr/sbin/sendmail to the destination SMTP server? The
only other thing it has to be able to do is use the aliases file to
determine the real e-mail of root, for example.

Like I said, I'm not too familiar with setting up mail servers, so if
this makes no sense to you please suggest an alternative. Just to
recap, I don't need local mail storage and I don't need the server to
accept mail from anything other than the local processes running on
the server. Just need it to read the destination e-mail address (or
get it via aliases), connect to the MX server for that domain, and
transmit the message. If there isn't any simple daemon that will do
this, can you recommend either how to configure sendmail or something
like postfix to do this? The idea is to minimize resource usage (disk
space, memory, cpu time).

Sounds to me you just have to enter the proper aliases (in /etc/mail/aliases), run "newaliases", and you're done, i.e. point everything to your own e-mail address?
_______________________________________________ mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to