SMTP stupid question
Hi all Well I've very classic question but google/mail-archive don't give me a answer. I want to configure a FreeBSD box without sendmail-daemon but I want all all mail sent to my smtp-server. For that I put sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=YES I'm change in my /etc/mail/freebsd.submit.mc the ligne FEATURE(`msp', `[the_adresse_of_my_smtp_server]')dnl use make;make install to build the good sendmail.cf But I think that's not a good solution. Because : 1/ It's work only for root (I'v got a message about permission when I try to send a email when I'm not root) 2/ My smtp-server try to re-send to me the email to root (example for cron message etc. is send to [EMAIL PROTECTED]). I forget to tell I'm not controling the smtp-server. Regards. -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Heure local/Local time: Jeu 7 jui 2007 11:46:08 CEST ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMTP stupid question
On Thu, 7 Jun 2007 11:58:31 +0200, Albert Shih wrote: I want to configure a FreeBSD box without sendmail-daemon but I want all all mail sent to my smtp-server. For that I put sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=YES I haven't used FEATURE(`msp') before, but you'll need to enable the last three lines above. By default, FreeBSD should be configured properly if you don't include _any_ of the above lines in your /etc/rc.conf at all. Grep for 'sendmail' in /etc/defaults/rc.conf and you'll see what is already configured. On a new system, all you should have to do to set up mail is (if in single user mode you have to set hostname first): cd /etc/mail make edit your.host.name.submit.mc make install make start If you are running 'make' on a running system after editing freebsd.submit.mc you won't actually be installing the right file cheers, -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMTP stupid question
At 05:58 AM 6/7/2007, Albert Shih wrote: I want to configure a FreeBSD box without sendmail-daemon but I want all all mail sent to my smtp-server. I usually disable sendmail completely, as you have done. Then install ssmtp from the ports. It's simple, secure, and only needs about 4 lines of config file to do what you want. -RW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]