RE: Configuring default 6.0 install to send mail
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brooke Landers Sent: Wednesday, November 09, 2005 6:38 PM To: freebsd-questions@freebsd.org Subject: Configuring default 6.0 install to send mail Hello list. I am learning FreeBSD and I'd like to know how to configure Sendmail to simply forward mail although it seems it's doing this by default. I can send mail, but it's being rejected since mylocalhost.mydomain.com doesn't resolve. I'm using internal hosts that will never have DNS entries. I'm looking for somewhere where I can specify that [EMAIL PROTECTED] can send mail as [EMAIL PROTECTED] I'm pretty sure that my mail would be accepted if I can do this. I don't want to set up a mail server, I'd just like to know how I can get my logs and admin mail forwarded to an external address. Set macro DS in /etc/mail/sendmail.cf to the real mailserver, reboot. DSfoo.example.com Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Configuring default 6.0 install to send mail
On 9 Nov 2005 at 19:20, Gayn Winters wrote: Check out section 22.8 of the Handbook regarding ssmtp. -gayn Acctually, it´s section 23.8 -- //| //|| // | // || -//--//---|| ARIO LOBO // //|| - [EMAIL PROTECTED] http://www.ipad.com.br ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring default 6.0 install to send mail
Brooke Landers wrote: Hello list. I am learning FreeBSD and I'd like to know how to configure Sendmail to simply forward mail although it seems it's doing this by default. I can send mail, but it's being rejected since mylocalhost.mydomain.com doesn't resolve. I'm using internal hosts that will never have DNS entries. I'm looking for somewhere where I can specify that [EMAIL PROTECTED] can send mail as [EMAIL PROTECTED] I'm pretty sure that my mail would be accepted if I can do this. I don't want to set up a mail server, I'd just like to know how I can get my logs and admin mail forwarded to an external address. I apologize for not sending this to a sendmail list, but I figured there may be something simple and specific to FreeBSD that I have overlooked. Thank you for any help :) BL If that's all you want to do the simplest thing is this (as root): cd /etc/mail vi aliases Look for the entry for root: uncomment it and add whatever external address you want after the colon. After saving and exiting: newaliases Now all system mail should be sent to the external address you specified in /etc/mail/aliases. Test it by doing this: mail -s Test root ctrl-d G ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring default 6.0 install to send mail
Brooke Landers wrote: Hello list. I am learning FreeBSD and I'd like to know how to configure Sendmail to simply forward mail although it seems it's doing this by default. I can send mail, but it's being rejected since mylocalhost.mydomain.com doesn't resolve. I'm using internal hosts that will never have DNS entries. I'm looking for somewhere where I can specify that [EMAIL PROTECTED] can send mail as [EMAIL PROTECTED] I'm pretty sure that my mail would be accepted if I can do this. I don't want to set up a mail server, I'd just like to know how I can get my logs and admin mail forwarded to an external address. I apologize for not sending this to a sendmail list, but I figured there may be something simple and specific to FreeBSD that I have overlooked. Uh, sorry for the noise on that last reply, everybody. I should have read more carefully BEFORE hitting send... Brooke, can you post what's output to your /var/log/maillog after you try to send from that box? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Configuring default 6.0 install to send mail
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brooke Landers Sent: Wednesday, November 09, 2005 6:38 PM To: freebsd-questions@freebsd.org Subject: Configuring default 6.0 install to send mail Hello list. I am learning FreeBSD and I'd like to know how to configure Sendmail to simply forward mail although it seems it's doing this by default. I can send mail, but it's being rejected since mylocalhost.mydomain.com doesn't resolve. I'm using internal hosts that will never have DNS entries. I'm looking for somewhere where I can specify that [EMAIL PROTECTED] can send mail as [EMAIL PROTECTED] I'm pretty sure that my mail would be accepted if I can do this. I don't want to set up a mail server, I'd just like to know how I can get my logs and admin mail forwarded to an external address. I apologize for not sending this to a sendmail list, but I figured there may be something simple and specific to FreeBSD that I have overlooked. Thank you for any help :) BL Check out section 22.8 of the Handbook regarding ssmtp. -gayn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Configuring default 6.0 install to send mail
Check out section 22.8 of the Handbook regarding ssmtp. -gayn Thanks very much Gary and Gayn for your help. I will go with ssmtp. Not that I have anything against Sendmail.. ;) BL _ FREE pop-up blocking with the new MSN Toolbar get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]