send email with mail command
Hello, I tested the mail command in console and my question is, it is possible to indicate the MAIL FROM: [EMAIL PROTECTED] ? Thank you :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: send email with mail command
Olivier Regnier wrote: Hello, I tested the mail command in console and my question is, it is possible to indicate the MAIL FROM: [EMAIL PROTECTED] ? Thank you :) Not sure about mail(1); manpage says environment variable REPLYTO is honored; you might try to modify the headers to add the -f [EMAIL PROTECTED] switch. That said, I have EMAIL defined here because mutt's manpage says it can be used for exactly what you are asking about, and plain mail(1) seems to honor that in a local test. You might give it a try; either define it in your shell resource scripts or your ~/.mailrc. BTW, if you're wanting to use mail from console, I'd recommend mutt over mail(1) any day of the week, unless you have some mitigating circumstance HTH, Kevin Kinsey -- One difference between a man and a machine is that a machine is quiet when well oiled. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mail command
Just lately ive noticed my mail command via putty no longer works an ls shows tape# ls -l /usr/bin/mail -r-xr-xr-x 3 root wheel 0 Mar 20 15:34 /usr/bin/mail Which to me looks ok ive no idea how to fix the file as im quite new to freebsd and typing mail produces no output what so ever Terry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail command
Just lately ive noticed my mail command via putty no longer works an ls shows tape# ls -l /usr/bin/mail -r-xr-xr-x 3 root wheel 0 Mar 20 15:34 /usr/bin/mail Which to me looks ok ive no idea how to fix the file as im quite new to freebsd A zero size mail command looks ok to you? -Don ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail command
Just lately ive noticed my mail command via putty no longer works an ls shows tape# ls -l /usr/bin/mail -r-xr-xr-x 3 root wheel 0 Mar 20 15:34 /usr/bin/mail Which to me looks ok ive no idea how to fix the file as im quite new to freebsd A zero size mail command looks ok to you? I suppose it would help if I mentioned how to fix it. If you want to fix this, you will want to either copy the command from an identical working system, or go into /usr/src/usr.bin/mail and type make make install -Don ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: conf/62230: log-in-vain issues it's msg every time 'mail' command is used.
I disagree with you on this. Log-in-vain purpose in life is to interrogate attempts from the external interface, not the localhost internal functions, which this clearly is what is happening. Sure there are work around solutions for this bug. If you think this is such an trivial annoyance bug that it's does not warrant attention, then just come out and say so, and not beat around the bush with work around solutions in an poor effort to conceal your reluctance to perform system maintenance activities. From what little documentation is published on Log-in-vain, it is not functioning correctly, period. Anybody look at the percentage of bug reports that get closed right out of hand to the ones that really get serious attention? Maybe there is some thing wrong with the evaluation criteria you people use to evaluate bug reports like this one. This is not an single event but an attitude that is too common among the people who review newly filed bug reports. It does nothing to foster confidence in the bug report system, or for that matter in the quality of the overall FBSD system. Just my observations of the over all bug reporting system, it stinks and needs to be readdressed so it's more amiable to really getting bugs fixed and not passing the buck, offering work around solutions. Just because there are many work around solutions does not warrant not fixing the bug causing the problem in the first place. No use beating an dead horse who can't hear what being said anyway. -Original Message- From: Ceri Davies [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:22 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: conf/62230: log-in-vain issues it's msg every time 'mail' command is used. Synopsis: log-in-vain issues it's msg every time 'mail' command is used. State-Changed-From-To: open-closed State-Changed-By: ceri State-Changed-When: Mon Feb 2 08:20:36 PST 2004 State-Changed-Why: This is not a problem with the log in vain code, which is doing exactly as it's supposed to do, but rather with the configuration of your mail related daemons. As suggested by Bjoern A. Zeeb, you should sent a post to [EMAIL PROTECTED] asking for help on configuring your system to resolve these issues. http://www.freebsd.org/cgi/query-pr.cgi?pr=62230 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: conf/62230: log-in-vain issues it's msg every time 'mail' command is used.
On Mon, Feb 02, 2004 at 12:39:08PM -0500, JJB wrote: I disagree with you on this. Log-in-vain purpose in life is to interrogate attempts from the external interface, not the localhost internal functions, which this clearly is what is happening. That's simply not true. $ grep vain /etc/defaults/rc.conf log_in_vain=0 # =1 to log connects to ports w/o listeners. If you think this is such an trivial annoyance bug that it's does not warrant attention, then just come out and say so, and not beat around the bush with work around solutions in an poor effort to conceal your reluctance to perform system maintenance activities. It's not that I don't think it's a bug that warrants attention; I don't think it's a bug at all. Thanks also for your diatribe. I don't agree with any of that either. Ceri -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sending email via PHP mail command in jail
Just in case anyone was following this thread, esmtp in the ports works beautifully. Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sending email via PHP mail command in jail
On Tue, Dec 16, 2003 at 02:05:04PM -0700, Brent Wiese wrote: Just in case anyone was following this thread, esmtp in the ports works beautifully. Has that sorted you out then? I was thinking you could make use of the php.ini setting: sendmail_path to set the sendmail_path on a per-user / vhost basis in your httpd.conf file: virtualhost ip:port servername domain.com ... other directives php_admin_value sendmail_path sendmail -f [EMAIL PROTECTED] /virtualhost For this to work in Exim - sorry don't know about postfix - you'd need to add the user the httpd was running as (www) as a 'trusted_user' in the Exim config - no doubt this would be the same in postfix. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - personal weblog http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sending email via PHP mail command in jail
On Sun, Dec 14, 2003 at 07:52:39PM -0700, Brent Wiese wrote: I have a 4.9 system running various jails. My clients want to be able to send confirmation emails via PHP's mail() command. Postfix doesn't seem to install right in the jail. I found a program called mini-sendmail and compiled it to use a relay server I have... It works fine from command line, but terminates oddly when called from php. Any suggestions? I don't need an SMTP daemon running, just the ability to send confirmation messages. Like I mentioned above, I have a relay box I can use if the solution is something like mini-sendmail. Thanks, Brent put SMTP = my.relay.mail.box into your /usr/local/etc/php.ini Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sending email via PHP mail command in jail
put SMTP = my.relay.mail.box into your /usr/local/etc/php.ini It was my understanding this only worked in the Windows version of PHP... That's according to PHP.net's site and the comments in the php.ini file. I just added it and the test is still failing. Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sending email via PHP mail command in jail
I have a 4.9 system running various jails. My clients want to be able to send confirmation emails via PHP's mail() command. Postfix doesn't seem to install right in the jail. I found a program called mini-sendmail and compiled it to use a relay server I have... It works fine from command line, but terminates oddly when called from php. Any suggestions? I don't need an SMTP daemon running, just the ability to send confirmation messages. Like I mentioned above, I have a relay box I can use if the solution is something like mini-sendmail. Thanks, Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]