Re: [NEWBIE] Using external SMTP-Server for mail
On Thu, Jul 31, 2003 at 08:19:09AM +0200, [EMAIL PROTECTED] wrote: [...] > How do I set up mail in FreeBSD that it uses an external mail-server? In my > case I need to send the messages that will send my cron and some apps. But > our Systemadministrator will does not allow me to use the FreeBSD with sendmail > as server, he says that I have to use our M$ Exchange as mail server. If you want to get FreeBSD to forward your email to the MS-Exchange server, you have to: 1. make sure sendmail is running. (ie remove sendmail_* lines from /etc/rc.conf) 2. # cd /etc/mail 3. # cp freebsd.mc `hostname`.mc 4. edit `hostname`.mc and uncomment the following line: define(`SMART_HOST', `your.isp.mail.server') 5. replace `your.isp.mail.server' with your Exchange server. 6. # make 7. # make install 8. # sh /etc/rc.sendmail restart This will configure sendmail to send all non-local mail to the Exchange Server for further processing (eg: to send email to the 'Net). If you want to suck your email from the Exchange server, you'll have to install something like ports/mail/fetchmail. Cheers. -- Jonathan Chen <[EMAIL PROTECTED]> -- The Internet: an empirical test of the idea that a million monkeys banging on a million keyboards can produce Shakespeare ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [NEWBIE] Using external SMTP-Server for mail
On Thu, 31 Jul 2003 [EMAIL PROTECTED] wrote: > > Put the following lines in /etc/rc.conf: > > > > sendmail_enable="NO" > > sendmail_submit_enable="YES" > > > > FreeBSD will then run a sendmail daemon listening on the loopback > > interface for mail submission only. This sendmail process will not be > > visible from external hosts and will not receive any mail. > > Thx, > but this does not work. I've already tried it. Or can I tell sendmail to use > an SMTP-server? You can try to create the file /etc/mail/mailertable to specify which stmp server to use for your domain, put a line in there that looks like: example.org 192.168.1.25 Konrad Heuer ([EMAIL PROTECTED]) ___ ___ GWDG / __/__ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__//___// Germany ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [NEWBIE] Using external SMTP-Server for mail
> > On Thu, 31 Jul 2003 [EMAIL PROTECTED] wrote: > Put the following lines in /etc/rc.conf: > > sendmail_enable="NO" > sendmail_submit_enable="YES" > > FreeBSD will then run a sendmail daemon listening on the loopback > interface for mail submission only. This sendmail process will not be > visible from external hosts and will not receive any mail. Thx, but this does not work. I've already tried it. Or can I tell sendmail to use an SMTP-server? -- Peace, Matthias "LoCal" Schonder -- You can kill the revolutionary but you can't kill the revolution! COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [NEWBIE] Using external SMTP-Server for mail
On Thu, 31 Jul 2003 [EMAIL PROTECTED] wrote: > I've gotta question, which may seem very dumb for some of you, but I really > need to know. > > How do I set up mail in FreeBSD that it uses an external mail-server? In my > case I need to send the messages that will send my cron and some apps. But > our Systemadministrator will does not allow me to use the FreeBSD with sendmail > as server, he says that I have to use our M$ Exchange as mail server. > > Thank you very much in advance and sorry for the dumb question. Put the following lines in /etc/rc.conf: sendmail_enable="NO" sendmail_submit_enable="YES" FreeBSD will then run a sendmail daemon listening on the loopback interface for mail submission only. This sendmail process will not be visible from external hosts and will not receive any mail. Regards Konrad Heuer ([EMAIL PROTECTED]) ___ ___ GWDG / __/__ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__//___// Germany ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[NEWBIE] Using external SMTP-Server for mail
Hei :) I've gotta question, which may seem very dumb for some of you, but I really need to know. How do I set up mail in FreeBSD that it uses an external mail-server? In my case I need to send the messages that will send my cron and some apps. But our Systemadministrator will does not allow me to use the FreeBSD with sendmail as server, he says that I have to use our M$ Exchange as mail server. Thank you very much in advance and sorry for the dumb question. -- Peace, Matthias "LoCal" Schonder -- You can kill the revolutionary but you can't kill the revolution! COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"