Message-ID: <3A2AF6ED.5030206@superonline.com> Date: Mon, 04 Dec 2000 03:44:13 +0200 From: Tuncay Baskan <tbaskan@superonline.com> Subject: Choosing an MTA Hello all, I'm in a position to choose a good mail server. My goals are security (of course) and mantaining mailing lists easily. I have never had experience on administrating a mail server before. I know, nothing in computer technology can be clearly stated as "good" or "bad". There is always a trade-off. I only want to learn some very valuable experiences of yours about MTAs. Best regards from Istanbul.
Message-Id: <4.3.2.7.0.20001203192420.03073df0@claborn.net> Date: Sun, 03 Dec 2000 19:25:29 -0600 From: wilson@claborn.net (Jonathan Wilson) Subject: Re: [SLE] Choosing an MTA we went over this recently on the RH mailing list. Here's my $0.02: At 11:35 AM 12/1/2000 -0800, you wrote:
On 1 Dec 2000 dave-mlist@bfnet.com wrote:
Most qmail users, including myself, see this as a feature for qmail: the sendmail way is the hard way.
The sendmail configuration is the hard way. But Postfix is easier to configure, IMHO
Users new to an MTA (basically
anyone that has to ask which one they should use) will have a much easier learning curve with qmail configs than with sendmail configs.
postfix is command line compatible with sendmail, not config file compatible. The goal is to make sure the countless scripts out there that rely on '/usr/lib/sendmail' still work with postfix without the burden of sendmail configs.
Bingo! <p>>I personally use postfix, and find it safe, efficient, well documented Almost ...I had some trouble finding enough info on "Competely Virtual Hosting"
and well supported. It almost always does exactly what I want with no config changes. When I do make config changes, it is usually to just one or two lines in the well documented and very plain configuration file.
Agreed
I tried qmail before I tried postfix and didn't like it. It was a while ago, but if I remember I decided that I wasn't ready for maildir and qmail required maildir. I also was addicted to procmail, and I didn't think qmail supported procmail. I don't know if they support mbox and procmail now (or if I just couldn't figure out how to set them up back then), but now I've transitioned to using maildir with postfix (no procmail) and am happy, but what the hell, maybe I'll give qmail another try.
So my recommendation to the original questioner is this ... try both qmail and postfix.
Yeah.
See which one suits your fancy. Use it. Just please don't use sendmail <grin>.
Right on, dude! <p>>Frankly I don't understand why RedHat installs sendmail by default when
postfix is probably far cheaper for them to support.
Me neither, it's sick of them to make sendmail default. They're probably afraid of what will happen, though, if they decide to make either postfix or qmail the deafult :-)
thornton
<p>At 03:44 AM 12/4/2000 +0200, you wrote:
Hello all, I'm in a position to choose a good mail server. My goals are security (of course) and mantaining mailing lists easily. I have never had experience on administrating a mail server before.
I know, nothing in computer technology can be clearly stated as "good" or "bad". There is always a trade-off.
I only want to learn some very valuable experiences of yours about MTAs.
Best regards from Istanbul.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Message-ID: <008a01c05df7$9c2eec40$0100a8c0@9> From: "Dennis" <dlbt@pacific.net.sg> Date: Mon, 4 Dec 2000 21:39:20 +0800 Subject: Re: [SLE] Choosing an MTA Hey, it's me again, also in the midst of working on MTA for my project website. Try looking at sendmail and really have to chicken out with the thousand of lines.... :( How to get postfix working? any man or how-to that I can refer to? Help please, appreciated. :) Dennis @Singapore <p><p>> we went over this recently on the RH mailing list. Here's my $0.02:
At 11:35 AM 12/1/2000 -0800, you wrote:
On 1 Dec 2000 dave-mlist@bfnet.com wrote:
Most qmail users, including myself, see this as a feature for qmail: the sendmail way is the hard way.
The sendmail configuration is the hard way. But Postfix is easier to
configure, IMHO
Users new to an MTA (basically
anyone that has to ask which one they should use) will have a much easier learning curve with qmail configs than with sendmail configs.
postfix is command line compatible with sendmail, not config file compatible. The goal is to make sure the countless scripts out there that rely on '/usr/lib/sendmail' still work with postfix without the burden of sendmail configs.
Bingo!
I personally use postfix, and find it safe, efficient, well documented
Almost ...I had some trouble finding enough info on "Competely Virtual
Hosting"
and well supported. It almost always does exactly what I want with no config changes. When I do make config changes, it is usually to just one or two lines in the well documented and very plain configuration file.
Agreed
I tried qmail before I tried postfix and didn't like it. It was a while ago, but if I remember I decided that I wasn't ready for maildir and
qmail
required maildir. I also was addicted to procmail, and I didn't think qmail supported procmail. I don't know if they support mbox and procmail now (or if I just couldn't figure out how to set them up back then), but now I've transitioned to using maildir with postfix (no procmail) and am happy, but what the hell, maybe I'll give qmail another try.
So my recommendation to the original questioner is this ... try both qmail and postfix.
Yeah.
See which one suits your fancy. Use it. Just please don't use sendmail <grin>.
Right on, dude!
Frankly I don't understand why RedHat installs sendmail by default when postfix is probably far cheaper for them to support.
Me neither, it's sick of them to make sendmail default. They're probably afraid of what will happen, though, if they decide to make either postfix or qmail the deafult :-)
thornton
At 03:44 AM 12/4/2000 +0200, you wrote:
Hello all, I'm in a position to choose a good mail server. My goals are security (of course) and mantaining mailing lists easily. I have never had experience on administrating a mail server before.
I know, nothing in computer technology can be clearly stated as "good" or "bad". There is always a trade-off.
I only want to learn some very valuable experiences of yours about MTAs.
Best regards from Istanbul.
Date: Mon, 4 Dec 2000 13:57:55 -0500 From: Corvin Russell <corvinr@sympatico.ca> Message-ID: <20001204135755.A1379@cloud.of.unknowing.org> Subject: Re: [SLE] Choosing an MTA The manual and FAQ are available at www.postfix.org. If you have a straightforward setup, which means a hostname that maps to a static IP, and particularly if that machine is the mailhost for the whole domain, then postfix setup is trivial. Just make sure the $myorigin, $myhostname, and $mydomain values are correct. Postfix will work out of the box. Yast will also do this for you. Personally, I set POSTFIX_CREATECF to "no" in /etc/rc.config and do it by hand. If you have a slightly different requirement, you may end up banging your head on the wall, but it will be for a shorter time than if you had used sendmail. <p><p><p>On Mon, Dec 04, 2000 at 09:39:20PM +0800, Dennis wrote:
Hey, it's me again, also in the midst of working on MTA for my project website. Try looking at sendmail and really have to chicken out with the thousand of lines.... :(
How to get postfix working? any man or how-to that I can refer to? Help please, appreciated. :)
Dennis @Singapore
<p> -- Corvin Russell <corvinr@sympatico.ca>
Date: Mon, 4 Dec 2000 15:00:07 -0500 From: Corvin Russell <corvinr@sympatico.ca> Message-ID: <20001204150007.A1432@cloud.of.unknowing.org> Subject: sample Postfix configuration for home-user newbies Postfix is definitely aimed at people who are running larger mailservers, however, as we all discover when we install linux on our home computer, as soon as we use unix mail clients we need an MTA. There is no HOW-TO-like document for the home user who is not really interested in running a mailserver. So I will just explain my setup and how I did it. I use Postfix, Mutt, and Fetchmail. Fetchmail retrieves my mail from the ISP's server. It is ridiculously easy to configure with the graphical fetchmailconf utility. Postfix does local delivery and also delivers outbound mail, or rather, hands it to my ISP for delivery. Now, while I have a domain name, I have not gotten around to switching to an ISP that will give me a static IP (I will do soon), nor am I interested in fiddling with dynamic ip hosting. So that was my problem with postfix. To solve it I configured postfix with a simple canonical rewriting rule. Is it kosher/halal? I really don't know. But it was the first thing I tried and it worked. Probably if I submitted my configuration to the postfix-users group, I would get a hiding. But they don't need to know :-) Now, rather than look at the big long file in /etc/postfix/main.cf, we can use the command 'postconf -n' to print out all the uncommented lines. We get alphabetically listed output that looks like so: <p>alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin daemon_directory = /usr/lib/postfix debug_peer_level = 2 default_destination_concurrency_limit = 10 default_privs = nobody default_transport = smtp home_mailbox = Maildir/ inet_interfaces = $myhostname, localhost local_destination_concurrency_limit = 2 mail_owner = postfix mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost mydomain = unknowing.org myhostname = cloud.of.unknowing.org myorigin = sympatico.ca program_directory = /usr/lib/postfix queue_directory = /var/spool/postfix relay_domains = $mydestination, $virtual_domains, sympatico.ca relayhost = smtp1.sympatico.ca relocated_maps = hash:/etc/postfix/relocated smtpd_sender_restrictions = hash:/etc/postfix/access transport_maps = hash:/etc/postfix/transport virtual_maps = hash:/etc/postfix/virtual #Now, the same output with my comments. ________________________________________________________ alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases #These lines just source the system alias file/db. Remember, after #changing /etc/aliases, you must execute 'postalias #/etc/aliases'. 'postfix reload' updates postfix immediately, #otherwise there is a one minute delay. canonical_maps = hash:/etc/postfix/canonical #This sources the canonical map file, where you tell Postfix how to #rewrite specified addresses. 'postmap /etc/postfix/canonical ; #postfix reload' after changing. command_directory = /usr/sbin #This is system-specific, but here is where this commands are in #SuSE. Postfix commands are named the same as Sendmail commands. #This allows Postfix to be a 'drop-in' replacement for Sendmail. daemon_directory = /usr/lib/postfix debug_peer_level = 2 #Home user probably doesn't need to fiddle with this. default_destination_concurrency_limit = 10 #Home user: no need to fiddle with this. default_privs = nobody #This has to do with Postfix's running privileges. On that subject, #make sure to edit /etc/postfix/master.cf to chroot as much as #possible. See below. default_transport = smtp #Not likely you will need to change this. home_mailbox = Maildir/ #I use Maildir for preference, the default is unix mbox inet_interfaces = $myhostname, localhost #As you can see, I have postfix configured *not* to listen on any #external ports. Since I have fetchmail collect my mail, there is no #need to have posftix listening as daemon. This is just an added #security risk. local_destination_concurrency_limit = 2 mail_owner = postfix #Don't need to fiddle with these. mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost #This specifies all the domains postfix will deliver for. Since #Fetchmail collects my mail, and since fetchmail is configured to #replace the remote address with my local address, I don't need to #consider sympatico.ca as a destination. <p>mydomain = unknowing.org #This is my domain. But don't try sending mail to it! myhostname = cloud.of.unknowing.org #Ditto myorigin = sympatico.ca #This specifies the address that postfix will make it look like my #mail came from. Since I am the only user on this box, and since i #have only one ISP account, this will not present problems for me. If #your setup is different, you might have to tweak. program_directory = /usr/lib/postfix queue_directory = /var/spool/postfix relay_domains = $mydestination, $virtual_domains, sympatico.ca #There is no instance in which I would really relay mail for #sympatico.ca (or anyone else). That could probably be removed. relayhost = smtp1.sympatico.ca #This tells postfix not to attempt to deliver the mail itself. #Instead, it hands the mail to smtp1.sympatico.ca. This saves time #and system expense for DNS lookups, retries etc. Might as well let #your ISP do that, your box will not do it better. relocated_maps = hash:/etc/postfix/relocated smtpd_sender_restrictions = hash:/etc/postfix/access transport_maps = hash:/etc/postfix/transport virtual_maps = hash:/etc/postfix/virtual #I don't use any of the above. #One final note. AFAIK the only header that is important for routing #or DNS lookups (and so for anti-spam measures etc.) is the #return-path header at the very top of the email. This should be set #by the last MTA to hand off the mail, i.e. the penultimate MTA in the #chain. Normally, this is your ISP's MTA. It should always be the #address that you will receive mail at. If this is not happening, your #configuration is wrong. All the other things can be fiddled with. #Ideally, the message ID will be globally unique, and the best way to #ensure this is to use a hostname that is known to be unique. But in #practice it matters little and the chance of harmful ambiguity is #pitiably small. Correct me if I am wrong, but I believe this ID is #set by the MUA. An alternate way of setting it is to use your whole #email address as the identifying portion. Normally, this will be #unique. But don't ask me where or how to do it. <p>___________________________________________________ #Then, to complete my setup I have one line in /etc/postfix/canonical: root root@cloud.of.unknowing.org #This prevents mail to root from being rewritten with $myorigin. #Otherwise my mail would go to root@sympatico.ca (which is probably #/dev/null) #and one line in /etc/aliases, in addition to all the other lines: root: corvinr@cloud.of.unknowing.org #This sends mail to root to my user account. In both these cases, I #might have used the environment variables ($localhost e.g.), but to #forestall any ambiguity I did not. Of course, that is more work when #these variables are changed. Btw, on a related topic, your /etc/hosts, #/etc/host.conf, and /etc/resolv.conf must all be properly configured #for postfix to work. With the SuSE installation there are no other #issues, however, on FreeBSD I had to mkdir /var/spool/postfix/etc and #chmod it to 755, then copy /etc/services to /var/spool/postfix/etc/ #and chmod that to 444. <p><p>Finally, I believe you should make sure to edit /etc/postfix/master.cf so that it looks like the following, i.e. chroot as much as possible (gurus please correct): # SPECIFY ONLY PROGRAMS THAT ARE WRITTEN TO RUN AS POSTFIX DAEMONS. # ALL DAEMONS SPECIFIED HERE MUST SPEAK A POSTFIX-INTERNAL PROTOCOL. # # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (50) # ========================================================================== smtp inet n - y - - smtpd pickup fifo n n y 60 1 pickup cleanup unix - - y - 0 cleanup qmgr fifo n - y 5 1 qmgr rewrite unix - - y - - trivial-rewrite bounce unix - - y - 0 bounce defer unix - - y - 0 bounce smtp unix - - y - - smtp showq unix n - y - - showq error unix - - y - - error local unix - n n - - local cyrus unix - n n - - pipe flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} uucp unix - n n - - pipe flags=F user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail# ($recipient) ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=F. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient <p><p><p><p> -- Corvin Russell <corvinr@sympatico.ca>
website. Try looking at sendmail and really have to chicken out with the thousand of lines.... :(
How to get postfix working? any man or how-to that I can refer to? Help please, appreciated. :)
Dennis @Singapore
we went over this recently on the RH mailing list. Here's my $0.02:
At 11:35 AM 12/1/2000 -0800, you wrote:
On 1 Dec 2000 dave-mlist@bfnet.com wrote:
Most qmail users, including myself, see this as a feature for qmail: the sendmail way is the hard way.
The sendmail configuration is the hard way. But Postfix is easier to configure, IMHO
Users new to an MTA (basically
anyone that has to ask which one they should use) will have a much easier learning curve with qmail configs than with sendmail configs.
postfix is command line compatible with sendmail, not config file compatible. The goal is to make sure the countless scripts out there
rely on '/usr/lib/sendmail' still work with postfix without the burden of sendmail configs.
Bingo!
I personally use postfix, and find it safe, efficient, well documented
Almost ...I had some trouble finding enough info on "Competely Virtual Hosting"
and well supported. It almost always does exactly what I want with no config changes. When I do make config changes, it is usually to just one or two lines in the well documented and very plain configuration file.
Agreed
I tried qmail before I tried postfix and didn't like it. It was a while ago, but if I remember I decided that I wasn't ready for maildir and qmail required maildir. I also was addicted to procmail, and I didn't think qmail supported procmail. I don't know if they support mbox and procmail now (or if I just couldn't figure out how to set them up back then), but now I've transitioned to using maildir with postfix (no procmail) and am happy, but what the hell, maybe I'll give qmail another try.
So my recommendation to the original questioner is this ... try both qmail and postfix.
Yeah.
See which one suits your fancy. Use it. Just please don't use sendmail <grin>.
Right on, dude!
Frankly I don't understand why RedHat installs sendmail by default when postfix is probably far cheaper for them to support.
Me neither, it's sick of them to make sendmail default. They're
Message-ID: <002e01c05e89$937c47e0$6401a8c0@adventus.cxm> From: "Anurag Jalan" <a_jalan@vsnl.com> Date: Tue, 5 Dec 2000 12:34:14 +0530 Subject: Re: [SLE] Choosing an MTA Hi Dennis, I am no Linux guru, but a script called install-sendmail had me up and running in no time .........look it up at freshmeat.net It works well with sendmail 8.9.3 and 8.10 ...all you have to do is answer a few questions and you're done..... bye Anurag ----- Original Message ----- From: "Dennis" <dlbt@pacific.net.sg> To: <suse-linux-e@ns2.SuSE.com>; "Jonathan Wilson" <wilson@claborn.net> Sent: Monday, December 04, 2000 7:09 PM Subject: Re: [SLE] Choosing an MTA <p>> Hey, it's me again, also in the midst of working on MTA for my project that probably
afraid of what will happen, though, if they decide to make either postfix or qmail the deafult :-)
thornton
At 03:44 AM 12/4/2000 +0200, you wrote:
Hello all, I'm in a position to choose a good mail server. My goals are security
(of course) and mantaining mailing lists easily. I have never had experience on administrating a mail server before.
I know, nothing in computer technology can be clearly stated as "good"
or "bad". There is always a trade-off.
I only want to learn some very valuable experiences of yours about
MTAs.
Best regards from Istanbul.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (5)
-
a_jalan@vsnl.com
-
corvinr@sympatico.ca
-
dlbt@pacific.net.sg
-
tbaskan@superonline.com
-
wilson@claborn.net