Date: Fri, 21 Apr 2006 17:07:14 +0200 From: "Ruben Bloemgarten" <rubenl@bloemgarten.demon.nl> To: "'Chezangla, Engineer, DrukNet'" <chezang@druknet.bt>, <ruben@bloemgarten.demon.nl> Cc: freebsd-questions@freebsd.org Subject: RE: hi Message-ID: <20060421150644.35BD843D48@mx1.FreeBSD.org> In-Reply-To: <web-18036160@druknet.bt>
next in thread | previous in thread | raw e-mail | index | archive | help
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:chezang@druknet.bt] Sent: April 21, 2006 12:47 PM To: ruben@bloemgarten.demon.nl Subject: Re: hi hi, this is what says the /var/log maillog: Apr 21 18:44:00 tswf sm-mta[1754]: k3LCi0fX001754: from=<operator@tswf.druknet.bt>, size=592, class=0, nrcpts=1, msgid=<200604211244.k3LCi0ef0 01743@tswf.druknet.bt>, 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=<operator@tswf.druknet.bt> (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" <rubenl@bloemgarten.demon.nl> 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: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] 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 >"freebsd-questions-unsubscribe@freebsd.org" > > > -- > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060421150644.35BD843D48>
