Freminlins wrote: > Hello, > > I've always steered clear of using Sendmail (prefering Exim), but I thought > I would give it a try and am having real difficulties with something I think > should be simple. > > I want to keep running Exim on port 25. I want Sendmail to run on a > different port. So I am trying to use the "O DaemonPortOptions=Port=2525" > option. However, I have 6 cf files in /etc/mail - freebsd.cf, > mail.xxx.co.uk.submit.cf, freebsd.submit.cf, sendmail.cf, mail.xxx.co.uk.cfand > submit.cf. I've tried all sorts of combinations of adding the above option > to these files, but whenever I try to start Sendmail this error: > sm-mta[52968]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon0: > cannot bind: Address already in use. > > Which file(s) am I supposed to put this option into? I just don't > understand. Is it correct, also, that I have 6 cf files? I set this up as > per the handbook. At this rate I know why I've always used Exim :-) > > Thanks, > Frem.
In your freebsd.mc file, assuming that a 'hostname.mc' file does not exist, place the following command: DAEMON_OPTIONS(`Port=2525, Name=MTA') Save the file, and from that directory run: make all install restart That should do it. By the way, make sure to use the proper 'tic' marks. -- Gerard Seibert [EMAIL PROTECTED] I would rather have a bottle in front of me than a frontal lobotomy. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"