1. read the readme in /etc/mail
2. follow the instructions in /etc/mail/README 
(hint: it's instruction set 1, the line beginning with: Designate an
alternative host for the submission agent to contact...) 
3. make sure the mail server you are submitting to accepts relay from your
system 

Good luck, 

Ruben  

-----Original Message-----
From: Chezangla, Engineer, DrukNet [mailto:[EMAIL PROTECTED] 
Sent: April 21, 2006 12:47 PM
To: [EMAIL PROTECTED]
Subject: Re: hi


hi,
this is what says the /var/log maillog:

Apr 21 18:44:00 tswf sm-mta[1754]: k3LCi0fX001754: 
from=<[EMAIL PROTECTED]>, size=592, class=0, 
nrcpts=1, msgid=<200604211244.k3LCi0ef0
[EMAIL PROTECTED]>, proto=ESMTP, daemon=IPv4, 
relay=localhost.druknet.bt [127.0.0.1]
Apr 21 18:44:00 tswf sendmail[1743]: k3LCi0ef001743: 
to=operator, ctladdr=operator (2/5), delay=00:00:00, 
xdelay=00:00:00, mailer=relay, pri=3
0295, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent 
(k3LCi0fX001754 Message accepted for delivery)
Apr 21 18:44:00 tswf sm-mta[1755]: k3LCi0fX001754: 
to=root, ctladdr=<[EMAIL PROTECTED]> (2/5), 
delay=00:00:00, xdelay=00:00:00, mailer=


as us said yes m not running mailserver on the local 
machine.

so to tell sendmail submit the message to my mail server, 
which file in /etc/mail should i modify or how to modify,

plez give me the whole steps please. I have spent lot of 
time trying to figure out what is wrong , but couldn't, so 
ur help at this stage is highly appreciated.

che.



On Fri, 21 Apr 2006 12:25:43 +0200
  "Ruben Bloemgarten" <[EMAIL PROTECTED]> wrote:
> Have you configured sendmail yet? Take a look in 
>/var/log/maillog and see
> what it says. Just as a wild guess I'm assuming you're 
>not running a
> mailserver on the local machine which means you have to 
>tell sendmail where
> to submit the messages, you can do this in /etc/mail. 
> 
> Good luck, 
> Ruben 
> 
> -----Original Message-----
>From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf 
>Of Chezangla,
> Engineer, DrukNet
> Sent: April 21, 2006 12:06 PM
> To: freebsd-questions@freebsd.org
> Subject: hi
> 
> I'm using:
> 
> freeBSD-5.x
> PHP-5.x
> Mysql-4.x
> Apache-2.x
> 
> I want to use php mail() to send mails using php script. 
>I 
> have configure in /usr/local/etc/php.ini the 
>sendmail_path 
> as
> 
> sendmail_path=/usr/sbin/sendmail -t -i &
> 
> when i send email, the mail is sent, i.e if(mail()) 
> returns true. But I don't receive the mail at all, at 
>the 
> given receipent address.
> 
> what could be wrong, any ohter configurations to be 
>made?,
> 
> plez help me.
> 
> regd. cheza
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> Get a free DrukNet e-mail account and stay in touch
> http://www.druknet.bt    
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
>"[EMAIL PROTECTED]"
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.4.4/320 - Release 
>Date: 04/20/2006
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.4.4/320 - Release 
>Date: 04/20/2006
> 
> 

+++++++++++++++++++++++++++++++++++++++++++++++++++
Get a free DrukNet e-mail account and stay in touch
http://www.druknet.bt    


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date: 04/20/2006

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date: 04/20/2006
 

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to