[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: One question
From: |
Rick Macdonald |
Subject: |
Re: One question |
Date: |
Tue, 18 Sep 2001 00:21:01 -0600 (MDT) |
On Mon, 17 Sep 2001, Alpesh Thakar wrote:
> Hi,
> My gnats-server is 192.168.6.40 and smtp server is 192.168.6.1 from where i
> am sending my mail.
> My question is, if I send one mail from alpesht@einfochips.com to
> xyz@einfochips.com, it will first go to bugs means go to gnats-server where
> i have configer. Then gnats-server will store it in to the database and it
> will forward it to xyz person. For that I have to first forward it to SMTP
> server and SMTP server directly forward it to xyz. How can I forward it to
> gnats-server to SMTP server??
> please tell me about it...
GNATS sends mail by running the sendmail program. The default is
# default: /usr/{lib,sbin}/sendmail -oi -t
but on our Solaris system it appears like this in the Makefile:
MAIL_AGENT = /usr/lib/sendmail -oi -t -f gnats@mycompany.com
The -f sets the "from" field of the email.
I don't know if I added the -f or if the configure did it.
Test sendmail on your gnats server machine on the command line. Create an
email in a file and run:
cat mail.file | /usr/lib/sendmail -oi -t
If you can't make this work then gnats will not work. If it doesn't work
then I don not know how to fix it.
The mail.file just can be:
from: alpesht@einfochips.com
to: alpesht@einfochips.com
Subject: test
This is a test.
Thanks