|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Sendmail
Hi all,
What steps do I need to take in order to get sendmail working on my webserver? I want to send and recive email from my workstation and I've got a domainname and a static ip address. Thanks in advance |
|
||||
Not much: indeed it should be working out-of-the-box. When you try, what fails?
(edit: you may want to read my post Using mail.... Some of the masquerades in there may make things neater, but should not be required.)
__________________
The only dumb question is a question not asked. The only dumb answer is an answer not given. Last edited by robbak; 5th October 2008 at 07:25 AM. |
|
|||
From the afterboot man page
Code:
Sendmail OpenBSD ships with a default /etc/mail/localhost.cf file that will work for simple installations; it was generated from openbsd-localhost.mc in /usr/share/sendmail/cf. Please see /usr/share/sendmail/README and /usr/share/doc/smm/08.sendmailop/op.me for information on generating your own sendmail configuration files. For the default installation, sendmail is configured to only accept connections from the local host and to not accept connections on any external interfaces. This makes it possible to send mail locally, but not receive mail from remote servers, which is ideal if you have one central incoming mail machine and several clients. To cause sendmail to accept external network connections, modify the sendmail_flags variable in /etc/rc.conf.local to use the /etc/mail/sendmail.cf file in accordance with the comments therein. This file was generated from openbsd-proto.mc. Note that sendmail now also listens on port 587 by default. This is to implement the RFC 2476 message submission protocol. You may disable this via the no_default_msa option in your sendmail .mc file. See /usr/share/sendmail/README for more information. Code:
# For normal use: "-L sm-mta -bd -q30m", and note there is a cron job sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
You will also need to make sure you have an MX record in place.. If not, once you get Sendmail (I use Postfix--much easier IMHO) configured you will be able to send email but not receive it unless you have an MX record in place.. It would help us if we knew what your final goal was.. hth rk
__________________
All posts sent on ReCycled Electrons... |
|
|||
I agree 100% on that. I don't know why Sendmail is even maintained or shipped anymore. Postfix is saner and easier. Postfix and Exim now dominate the non-MS MTA market, for good reason.
|
|
|||
Hey! Don't make fun of cyanide until you've tried it. You never hear complaints from those who have actually tried it, have you?
|
|
|||
Someone should not have to be a wizard with some obscure language (m4) which is only used in one particular application (sendmail) to be able to configure an ordinary mail server. That's why sendmail is not so widely used anymore. No wizardry is needed for Postfix.
|
|
|||
Here is a page that really helped me with sendmail:
http://www.sacrideo.us/Sacrificum_De...il_openbsd.txt This may not help the OP |
|
|||
Ironically, the first ever project in my Unix life was Sendmail configuration. It was a project at school in Unix subject. In this project, we were acting like "hosting provider", and required to install, config, secure and maintain dns, mail, file and web services.
At that time, I didnt know Sendmail is that hard Sounds like I did a good job, havent got any customer's complaint. Oh wait, who is my customer? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sendmail host name lookup failure | ducu_00 | General software and network | 9 | 21st January 2009 02:42 AM |
sendmail dont boot | dejabu18 | FreeBSD Ports and Packages | 0 | 8th October 2008 02:07 PM |
sendmail vs qmail vs postfix vs exim | graudeejs | General software and network | 6 | 22nd July 2008 03:25 PM |
Using sendmail in a cron job | erehwon | OpenBSD General | 6 | 15th May 2008 09:03 PM |
Sendmail, issues... | pcfxer | FreeBSD General | 2 | 8th May 2008 10:07 AM |