On Sat, Oct 24, 2009 at 09:44:07PM -0700, Mark Yieh wrote: > Hi I'm trying to set up sendmail as my home mail server but it's my > first time so I'm not sure what to do. > I know it's already installed and enabled in base but will only accept > requests from local host. > So I've added this flag in rc.conf.local to enable it it receive > external connections: > > sendmail_flags="-L sm-mta -bd -q30m" > > And I've also changed my router settings to forward all packets from > port 587 to my openbsd box. > And I've restarted the computer. > But I still can't set up an account on my Macintosh to access the > openbsd mail server. > What am I doing wrong? And does sendmail use the IMAP or POP protocol? > I prefer to use IMAP if possible. > > The name of my machine is zeus.my.domain and my ip is 24.6.209.32. > I don't have a domain name so I just use my ip. > > On my Macintosh I've used these settings to try to create the new > account. > Email Address: [email protected] > Incoming Mail Server: zeus.24.6.209.32 > > Here's the error message that I got from trying to set up that account > on my Macintosh. > > The IMAP server "zeus.24.6.209.32" is not responding. > Try checking the network connection, and that the server name is > correct. > Otherwise, the server might be temporarily unavailable. If you > continue, you might not be > able to receive messages. > > > Do I have to add a user account to my mail server? or do I > automatically have an account if I'm a user on the OpenBSD system? > > Thanks everyone... especially the OpenBSD Team for the best OS in the > world. >
Hi Mark, You will be in for quite an adventure. Sendmail is only one part of a fully fledged mail system. What sendmail does in OpenBSD is accept connections and deliver mail to the local mailbox or relay the mail to be delivered by another mail server. If you want to configure an IMAP mailbox for example I would use dovecot. Now, what else you need is dependent on your needs. So can you explain to me what you want to be able to do with your "mail system"? Feel free to send me a personal message if you need more help during configuration. I run a mail system on OpenBSD, which lets me send mail from anywhere in the world and read my mail from anywhere and it handles all mail destined to my domain, all in a secure fashion. Software I use to accomplish this is sendmail, cyrus-sasl, dovecot, procmail, fetchmail. You might want to read up on those. Regards, Ivo van der Sangen

