Re: Help with setting up a mail server
On 23 July 2010 10:12, Odhiambo Washington wrote: > On Thu, Jul 22, 2010 at 8:28 PM, Jerry wrote: > > > On Thu, 22 Jul 2010 17:28:00 +0300 > > Odhiambo Washington articulated: > > > > > On Thu, Jul 22, 2010 at 4:52 PM, Jerry > > wrote: > > > > > > > On Thu, 22 Jul 2010 13:32:36 +0100 > > > > krad articulated: > > > > > > > > > > > > > yep I know exim is sendmail cli compatible, but the output from > > sendmail > > > > is > > > > > not the same on exim (interactive prompt). You can probably get > > similar > > > > > output from sendmail, but with most things sendmail it is archaic > and > > > > > obfuscated. > > > > > > > > With Postfix installed, using "sendmail -bv" works quite well. > > > > > > > > > > With Postfix installed and configured or just installed? I just > > installed. > > > > > > [w...@mail ~]$ ls -al /usr/local/sbin/sendmail > > > -rwxr-xr-x 1 root wheel 202361 Jul 22 17:23 /usr/local/sbin/sendmail > > > [w...@mail ~]$ /usr/local/sbin/sendmail -bv odhia...@gmail.com > > > postdrop: warning: unable to look up public/pickup: No such file or > > > directory > > > Mail Delivery Status Report will be mailed to . > > > > > > [w...@mail ~]$ /usr/local/sbin/sendmail -d -bv odhia...@gmail.com > > > sendmail: illegal option -- d > > > sendmail: illegal option -- d > > > sendmail: fatal: usage: sendmail [options] > > > > > > [w...@mail ~]$ exim -bt odhia...@gmail.com > > > odhia...@gmail.com > > > router = dnslookup, transport = remote_smtp > > > host gmail-smtp-in.l.google.com [209.85.227.27] MX=5 > > > host alt1.gmail-smtp-in.l.google.com [74.125.39.27] MX=10 > > > host alt2.gmail-smtp-in.l.google.com [74.125.53.27] MX=20 > > > host alt3.gmail-smtp-in.l.google.com [74.125.95.27] MX=30 > > > host alt4.gmail-smtp-in.l.google.com [74.125.65.27] MX=40 > > > > > > I cannot post the output that comes with -d here, it's so much that > > trying > > > to feed the trawl will get it chocked:-) > > > > > > > > > > > > For starters, you are using the wrong sendmail. You need to use the > > Postfix 'sendmail' version. > > > > $ which sendmail > > /usr/sbin/sendmail > > > > I have Postfix installed and running. Sorry, I thought that was obvious. > > > > Typing: "man sendmail" should show this at the top of the page: > > > > "NAME sendmail - Postfix to Sendmail compatibility interface" > > > > If not, then something is configured incorrectly. By the way, in order > > to run Postfix, you have to completely shutdown the base system's > > 'sendmail' > > > > cat /etc/rc.conf > > > > # Shutdown sendmail > > sendmail_enable="NO" > > sendmail_msp_queue_enable="NO" > > sendmail_outbound_enable="NO" > > sendmail_submit_enable="NO" > > > > #Start Postfix > > postfix_enable="YES" > > > > > Looks like you are trying to coax me into running Postfix! I am an Exim-er > by blood :-) > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > "If you have nothing good to say about someone, just shut up!." > -- Lucky Dube > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > don't do it!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Thu, Jul 22, 2010 at 8:28 PM, Jerry wrote: > On Thu, 22 Jul 2010 17:28:00 +0300 > Odhiambo Washington articulated: > > > On Thu, Jul 22, 2010 at 4:52 PM, Jerry > wrote: > > > > > On Thu, 22 Jul 2010 13:32:36 +0100 > > > krad articulated: > > > > > > > > > > yep I know exim is sendmail cli compatible, but the output from > sendmail > > > is > > > > not the same on exim (interactive prompt). You can probably get > similar > > > > output from sendmail, but with most things sendmail it is archaic and > > > > obfuscated. > > > > > > With Postfix installed, using "sendmail -bv" works quite well. > > > > > > > With Postfix installed and configured or just installed? I just > installed. > > > > [w...@mail ~]$ ls -al /usr/local/sbin/sendmail > > -rwxr-xr-x 1 root wheel 202361 Jul 22 17:23 /usr/local/sbin/sendmail > > [w...@mail ~]$ /usr/local/sbin/sendmail -bv odhia...@gmail.com > > postdrop: warning: unable to look up public/pickup: No such file or > > directory > > Mail Delivery Status Report will be mailed to . > > > > [w...@mail ~]$ /usr/local/sbin/sendmail -d -bv odhia...@gmail.com > > sendmail: illegal option -- d > > sendmail: illegal option -- d > > sendmail: fatal: usage: sendmail [options] > > > > [w...@mail ~]$ exim -bt odhia...@gmail.com > > odhia...@gmail.com > > router = dnslookup, transport = remote_smtp > > host gmail-smtp-in.l.google.com [209.85.227.27] MX=5 > > host alt1.gmail-smtp-in.l.google.com [74.125.39.27] MX=10 > > host alt2.gmail-smtp-in.l.google.com [74.125.53.27] MX=20 > > host alt3.gmail-smtp-in.l.google.com [74.125.95.27] MX=30 > > host alt4.gmail-smtp-in.l.google.com [74.125.65.27] MX=40 > > > > I cannot post the output that comes with -d here, it's so much that > trying > > to feed the trawl will get it chocked:-) > > > > > > > For starters, you are using the wrong sendmail. You need to use the > Postfix 'sendmail' version. > > $ which sendmail > /usr/sbin/sendmail > > I have Postfix installed and running. Sorry, I thought that was obvious. > > Typing: "man sendmail" should show this at the top of the page: > > "NAME sendmail - Postfix to Sendmail compatibility interface" > > If not, then something is configured incorrectly. By the way, in order > to run Postfix, you have to completely shutdown the base system's > 'sendmail' > > cat /etc/rc.conf > > # Shutdown sendmail > sendmail_enable="NO" > sendmail_msp_queue_enable="NO" > sendmail_outbound_enable="NO" > sendmail_submit_enable="NO" > > #Start Postfix > postfix_enable="YES" > > Looks like you are trying to coax me into running Postfix! I am an Exim-er by blood :-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Thu, Jul 22, 2010 at 09:52:53AM -0400, Jerry typed: > On Thu, 22 Jul 2010 13:32:36 +0100 > krad articulated: > > > > yep I know exim is sendmail cli compatible, but the output from sendmail is > > not the same on exim (interactive prompt). You can probably get similar > > output from sendmail, but with most things sendmail it is archaic and > > obfuscated. > > With Postfix installed, using "sendmail -bv" works quite well. Unneeded. Same works with base sendmail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Thu, 22 Jul 2010 13:28:54 -0400 Jerry wrote: > For starters, you are using the wrong sendmail. You need to use the > Postfix 'sendmail' version. > > $ which sendmail > /usr/sbin/sendmail > > I have Postfix installed and running. Sorry, I thought that was > obvious. > > Typing: "man sendmail" should show this at the top of the page: > > "NAME sendmail - Postfix to Sendmail compatibility interface" On FreeBSD /usr/sbin/sendmail is a link to mailwrapper(8), which is a part of the base system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Thu, 22 Jul 2010 17:28:00 +0300 Odhiambo Washington articulated: > On Thu, Jul 22, 2010 at 4:52 PM, Jerry wrote: > > > On Thu, 22 Jul 2010 13:32:36 +0100 > > krad articulated: > > > > > > > yep I know exim is sendmail cli compatible, but the output from sendmail > > is > > > not the same on exim (interactive prompt). You can probably get similar > > > output from sendmail, but with most things sendmail it is archaic and > > > obfuscated. > > > > With Postfix installed, using "sendmail -bv" works quite well. > > > > With Postfix installed and configured or just installed? I just installed. > > [w...@mail ~]$ ls -al /usr/local/sbin/sendmail > -rwxr-xr-x 1 root wheel 202361 Jul 22 17:23 /usr/local/sbin/sendmail > [w...@mail ~]$ /usr/local/sbin/sendmail -bv odhia...@gmail.com > postdrop: warning: unable to look up public/pickup: No such file or > directory > Mail Delivery Status Report will be mailed to . > > [w...@mail ~]$ /usr/local/sbin/sendmail -d -bv odhia...@gmail.com > sendmail: illegal option -- d > sendmail: illegal option -- d > sendmail: fatal: usage: sendmail [options] > > [w...@mail ~]$ exim -bt odhia...@gmail.com > odhia...@gmail.com > router = dnslookup, transport = remote_smtp > host gmail-smtp-in.l.google.com [209.85.227.27] MX=5 > host alt1.gmail-smtp-in.l.google.com [74.125.39.27] MX=10 > host alt2.gmail-smtp-in.l.google.com [74.125.53.27] MX=20 > host alt3.gmail-smtp-in.l.google.com [74.125.95.27] MX=30 > host alt4.gmail-smtp-in.l.google.com [74.125.65.27] MX=40 > > I cannot post the output that comes with -d here, it's so much that trying > to feed the trawl will get it chocked:-) > > For starters, you are using the wrong sendmail. You need to use the Postfix 'sendmail' version. $ which sendmail /usr/sbin/sendmail I have Postfix installed and running. Sorry, I thought that was obvious. Typing: "man sendmail" should show this at the top of the page: "NAME sendmail - Postfix to Sendmail compatibility interface" If not, then something is configured incorrectly. By the way, in order to run Postfix, you have to completely shutdown the base system's 'sendmail' cat /etc/rc.conf # Shutdown sendmail sendmail_enable="NO" sendmail_msp_queue_enable="NO" sendmail_outbound_enable="NO" sendmail_submit_enable="NO" #Start Postfix postfix_enable="YES" -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Thu, Jul 22, 2010 at 4:52 PM, Jerry wrote: > On Thu, 22 Jul 2010 13:32:36 +0100 > krad articulated: > > > > yep I know exim is sendmail cli compatible, but the output from sendmail > is > > not the same on exim (interactive prompt). You can probably get similar > > output from sendmail, but with most things sendmail it is archaic and > > obfuscated. > > With Postfix installed, using "sendmail -bv" works quite well. > With Postfix installed and configured or just installed? I just installed. [w...@mail ~]$ ls -al /usr/local/sbin/sendmail -rwxr-xr-x 1 root wheel 202361 Jul 22 17:23 /usr/local/sbin/sendmail [w...@mail ~]$ /usr/local/sbin/sendmail -bv odhia...@gmail.com postdrop: warning: unable to look up public/pickup: No such file or directory Mail Delivery Status Report will be mailed to . [w...@mail ~]$ /usr/local/sbin/sendmail -d -bv odhia...@gmail.com sendmail: illegal option -- d sendmail: illegal option -- d sendmail: fatal: usage: sendmail [options] [w...@mail ~]$ exim -bt odhia...@gmail.com odhia...@gmail.com router = dnslookup, transport = remote_smtp host gmail-smtp-in.l.google.com [209.85.227.27] MX=5 host alt1.gmail-smtp-in.l.google.com [74.125.39.27] MX=10 host alt2.gmail-smtp-in.l.google.com [74.125.53.27] MX=20 host alt3.gmail-smtp-in.l.google.com [74.125.95.27] MX=30 host alt4.gmail-smtp-in.l.google.com [74.125.65.27] MX=40 I cannot post the output that comes with -d here, it's so much that trying to feed the trawl will get it chocked:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Thu, 22 Jul 2010 13:32:36 +0100 krad articulated: > yep I know exim is sendmail cli compatible, but the output from sendmail is > not the same on exim (interactive prompt). You can probably get similar > output from sendmail, but with most things sendmail it is archaic and > obfuscated. With Postfix installed, using "sendmail -bv" works quite well. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On 22 July 2010 12:26, Ruben de Groot wrote: > On Wed, Jul 21, 2010 at 07:35:48PM +0100, krad typed: > > > > while we are on the topic of debugging I would recomend exim as an MTA. I > > manage a few large enterprise mail systems with 10M + active accounts. A > lot > > of them are legacy systems that we gained through acquisitions. I > generally > > have to support them until we can get the accounts migrated onto the main > > platform. They are a mixture of exim, postfix, qmail, and sendmail, and > > quite often are in a poor state when we first get our hands on them. I > have > > to say when you are getting mail routing issues exim is by the far the > > easiest to debug mainly due to the -bt option. When you combine it with > the > > debug flag it produced a very detailed output on the mail routing. I have > > never found such a feature in all the other MTA's above. > > Actually, the -bt option comes from sendmail originally ;) > > yep I know exim is sendmail cli compatible, but the output from sendmail is not the same on exim (interactive prompt). You can probably get similar output from sendmail, but with most things sendmail it is archaic and obfuscated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Wed, Jul 21, 2010 at 07:35:48PM +0100, krad typed: > > while we are on the topic of debugging I would recomend exim as an MTA. I > manage a few large enterprise mail systems with 10M + active accounts. A lot > of them are legacy systems that we gained through acquisitions. I generally > have to support them until we can get the accounts migrated onto the main > platform. They are a mixture of exim, postfix, qmail, and sendmail, and > quite often are in a poor state when we first get our hands on them. I have > to say when you are getting mail routing issues exim is by the far the > easiest to debug mainly due to the -bt option. When you combine it with the > debug flag it produced a very detailed output on the mail routing. I have > never found such a feature in all the other MTA's above. Actually, the -bt option comes from sendmail originally ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On 21 July 2010 16:24, Cristiano Deana wrote: > On Tue, Jul 20, 2010 at 3:26 PM, Aryeh M. Friedman > wrote: > > > I am a consultant and was retained by my client to setup qmail or exim > > on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record > > and MX record) we have been unable to send or receive mail. > > steps: > > a) check if your dns are correct: > # dig yourdomain.com mx > (eg:) > mail.yourdomain.com > # telnet mail.yourdomain.com 25 > > does it reply or not? > > a) reply > check if your mta is cofigured correctly: > telnet mail.yourdomain.com 25 # write: > ehlo gmail.com > mail from: aryeh.fried...@gmail.com > rcpt to: example_u...@yourdomain.com > data > Subject: Test > . > > does it reply with a > 2XX code? with a 4XX code? 5XX code? > > b) doesn't reply > does mail.yourdomain.com resolve to your mailserver's IP? > is your daemon runnig? > > p.s > if you give us more REAL information (domain, ip, etc) we can hel you more. > > > > -- > Cris, member of G.U.F.I > Italian FreeBSD User Group > http://www.gufi.org/ > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > while we are on the topic of debugging I would recomend exim as an MTA. I manage a few large enterprise mail systems with 10M + active accounts. A lot of them are legacy systems that we gained through acquisitions. I generally have to support them until we can get the accounts migrated onto the main platform. They are a mixture of exim, postfix, qmail, and sendmail, and quite often are in a poor state when we first get our hands on them. I have to say when you are getting mail routing issues exim is by the far the easiest to debug mainly due to the -bt option. When you combine it with the debug flag it produced a very detailed output on the mail routing. I have never found such a feature in all the other MTA's above. The configs are also very readable unlike sendmail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Tue, Jul 20, 2010 at 3:26 PM, Aryeh M. Friedman wrote: > I am a consultant and was retained by my client to setup qmail or exim > on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record > and MX record) we have been unable to send or receive mail. steps: a) check if your dns are correct: # dig yourdomain.com mx (eg:) mail.yourdomain.com # telnet mail.yourdomain.com 25 does it reply or not? a) reply check if your mta is cofigured correctly: telnet mail.yourdomain.com 25 # write: ehlo gmail.com mail from: aryeh.fried...@gmail.com rcpt to: example_u...@yourdomain.com data Subject: Test . does it reply with a 2XX code? with a 4XX code? 5XX code? b) doesn't reply does mail.yourdomain.com resolve to your mailserver's IP? is your daemon runnig? p.s if you give us more REAL information (domain, ip, etc) we can hel you more. -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Wed, 21 Jul 2010 08:54:44 +0300 Odhiambo Washington articulated: > I doubt anyone makes a choice on an MTA (or any other software) based > on it's RFC-compliance. > In my experience, it's normally boils down to: > > 1. It has the features that I want > 2. I can swim with it in times of toruble Microsoft has been claiming for years that adherence to standards is not a requirement. While they are certainly entitled to their opinion, I would definitely disagree. A quick perusal of http://slashdot.org/ would tend to discredit your remark that, "doubt anyone makes a choice on an MTA (or any other software) based on it's RFC-compliance" statement. As always, selection of tools and their suitability to the task is left up to the end user. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ One man's constant is another man's variable. Alan J. Perlis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On 7/20/10, Odhiambo Washington wrote: > On Tue, Jul 20, 2010 at 11:50 PM, Jerry wrote: >> On Tue, 20 Jul 2010 21:03:55 +0300 >> Odhiambo Washington articulated: >> >> >>> On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman >>> wrote: >>> > On Tue, 20 Jul 2010 09:33:28 -0400 >>> > Jerry wrote: >>> > >>> >> On Tue, 20 Jul 2010 09:26:44 -0400 >>> >> Aryeh M. Friedman articulated: >>> >> >>> >> > I am a consultant and was retained by my client to setup qmail or >>> >> > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS >>> >> > (A record and MX record) we have been unable to send or receive >>> >> > mail. The client has/had a working script for installing qmail on >>> >> > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using >>> >> > the same VPS provider who this 7.1-STABLE install script worked >>> >> > under. I have tried everything I can think of to make it work >>> >> > including asking obvious questions on -questi...@. >>> >> > >>> >> > I informed the client that the task is likely beyond me capabilities >>> >> > but I would help recruit someone who would be able to do it at a >>> >> > reasonable fee paid to them (I am acting as a no cost middle man on >>> >> > this [I am helping the client for free since I was unable to get it >>> >> > done]). >>> >> > >>> >> > Please send any ideas and/or offers to do the job >>> >> >>> >> I would seriously suggest that you consider installing Postfix. It is >>> >> in the ports tree, is well maintained and works out of the box. The >>> >> Postfix forum will be glad to give you any advice you need for setting >>> >> up and securing your mail server. Qmail is no longer supported by its >>> >> author and can be a nightmare to maintain. >>> >> >>> > >>> > We had also tried sendmail and couldn't get that working either so I >>> > suspect it is a general config issue not a MTA one. (I have set >>> > sendmail up about 30 times in the past so I know a little bit about it) >>> >>> Exim is a very good choice. Forget the Postfix suggestions. It's >>> Sendmail's brother:-) >> >> At least Postfix is fully RFC compliant, as opposed to Exim. >> >> SEE: RFC 2034 (SMTP enhanced status codes), RFC 3461-4 (delivery status >> notifications), RFC 1652 (8-bit MIME including 8->7bit conversion) >> among others. > > I doubt anyone makes a choice on an MTA (or any other software) based > on it's RFC-compliance. > In my experience, it's normally boils down to: > > 1. It has the features that I want > 2. I can swim with it in times of toruble I for one like to know that it is RFC compliant. it's a reason RFCs are made, so there can be standardization... So yes, I do choose based on compliance. (anyone use Firefox over IE at work because Firefox "works better"?) "Did you get my email?" "no, but i get everyone elses, let's check the logs and find out why" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Tue, Jul 20, 2010 at 11:50 PM, Jerry wrote: > On Tue, 20 Jul 2010 21:03:55 +0300 > Odhiambo Washington articulated: > > >> On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman >> wrote: >> > On Tue, 20 Jul 2010 09:33:28 -0400 >> > Jerry wrote: >> > >> >> On Tue, 20 Jul 2010 09:26:44 -0400 >> >> Aryeh M. Friedman articulated: >> >> >> >> > I am a consultant and was retained by my client to setup qmail or >> >> > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS >> >> > (A record and MX record) we have been unable to send or receive >> >> > mail. The client has/had a working script for installing qmail on >> >> > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using >> >> > the same VPS provider who this 7.1-STABLE install script worked >> >> > under. I have tried everything I can think of to make it work >> >> > including asking obvious questions on -questi...@. >> >> > >> >> > I informed the client that the task is likely beyond me capabilities >> >> > but I would help recruit someone who would be able to do it at a >> >> > reasonable fee paid to them (I am acting as a no cost middle man on >> >> > this [I am helping the client for free since I was unable to get it >> >> > done]). >> >> > >> >> > Please send any ideas and/or offers to do the job >> >> >> >> I would seriously suggest that you consider installing Postfix. It is >> >> in the ports tree, is well maintained and works out of the box. The >> >> Postfix forum will be glad to give you any advice you need for setting >> >> up and securing your mail server. Qmail is no longer supported by its >> >> author and can be a nightmare to maintain. >> >> >> > >> > We had also tried sendmail and couldn't get that working either so I >> > suspect it is a general config issue not a MTA one. (I have set >> > sendmail up about 30 times in the past so I know a little bit about it) >> >> Exim is a very good choice. Forget the Postfix suggestions. It's >> Sendmail's brother:-) > > At least Postfix is fully RFC compliant, as opposed to Exim. > > SEE: RFC 2034 (SMTP enhanced status codes), RFC 3461-4 (delivery status > notifications), RFC 1652 (8-bit MIME including 8->7bit conversion) > among others. I doubt anyone makes a choice on an MTA (or any other software) based on it's RFC-compliance. In my experience, it's normally boils down to: 1. It has the features that I want 2. I can swim with it in times of toruble -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Tue, 20 Jul 2010 21:03:55 +0300 Odhiambo Washington articulated: > On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman > wrote: > > On Tue, 20 Jul 2010 09:33:28 -0400 > > Jerry wrote: > > > >> On Tue, 20 Jul 2010 09:26:44 -0400 > >> Aryeh M. Friedman articulated: > >> > >> > I am a consultant and was retained by my client to setup qmail or > >> > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS > >> > (A record and MX record) we have been unable to send or receive > >> > mail. The client has/had a working script for installing qmail on > >> > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using > >> > the same VPS provider who this 7.1-STABLE install script worked > >> > under. I have tried everything I can think of to make it work > >> > including asking obvious questions on -questi...@. > >> > > >> > I informed the client that the task is likely beyond me capabilities > >> > but I would help recruit someone who would be able to do it at a > >> > reasonable fee paid to them (I am acting as a no cost middle man on > >> > this [I am helping the client for free since I was unable to get it > >> > done]). > >> > > >> > Please send any ideas and/or offers to do the job > >> > >> I would seriously suggest that you consider installing Postfix. It is > >> in the ports tree, is well maintained and works out of the box. The > >> Postfix forum will be glad to give you any advice you need for setting > >> up and securing your mail server. Qmail is no longer supported by its > >> author and can be a nightmare to maintain. > >> > > > > We had also tried sendmail and couldn't get that working either so I > > suspect it is a general config issue not a MTA one. (I have set > > sendmail up about 30 times in the past so I know a little bit about it) > > Exim is a very good choice. Forget the Postfix suggestions. It's > Sendmail's brother:-) At least Postfix is fully RFC compliant, as opposed to Exim. SEE: RFC 2034 (SMTP enhanced status codes), RFC 3461-4 (delivery status notifications), RFC 1652 (8-bit MIME including 8->7bit conversion) among others. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ The wise shepherd never trusts his flock to a smiling wolf. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
Message: 24 Date: Tue, 20 Jul 2010 14:05:13 -0400 From: Jerry McAllister Subject: Re: Help with setting up a mail server To: Odhiambo Washington Cc: "Aryeh M. Friedman" , freebsd-questions@freebsd.org Message-ID: <20100720180513.gb46...@gizmo.acns.msu.edu> Content-Type: text/plain; charset=iso-8859-1 On Tue, Jul 20, 2010 at 09:03:55PM +0300, Odhiambo Washington wrote: > On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman > wrote: > > On Tue, 20 Jul 2010 09:33:28 -0400 > > Jerry wrote: > > > >> On Tue, 20 Jul 2010 09:26:44 -0400 > >> Aryeh M. Friedman articulated: > >> > >> > I am a consultant and was retained by my client to setup qmail or > >> > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS > >> > (A record and MX record) we have been unable to send or receive > >> > mail. The client has/had a working script for installing qmail on > >> > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using > >> > the same VPS provider who this 7.1-STABLE install script worked > >> > under. I have tried everything I can think of to make it work > >> > including asking obvious questions on -questi...@. > >> > > >> > I informed the client that the task is likely beyond me capabilities > >> > but I would help recruit someone who would be able to do it at a > >> > reasonable fee paid to them (I am acting as a no cost middle man on > >> > this [I am helping the client for free since I was unable to get it > >> > done]). > >> > > >> > Please send any ideas and/or offers to do the job > >> > >> I would seriously suggest that you consider installing Postfix. It is > >> in the ports tree, is well maintained and works out of the box. The > >> Postfix forum will be glad to give you any advice you need for setting > >> up and securing your mail server. Qmail is no longer supported by its > >> author and can be a nightmare to maintain. > >> > > > > We had also tried sendmail and couldn't get that working either so I > > suspect it is a general config issue not a MTA one. (I have set > > sendmail up about 30 times in the past so I know a little bit about it) > > Exim is a very good choice. Forget the Postfix suggestions. It's > Sendmail's brother:-) Sendmail comes from a good family. jerry > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > "If you have nothing good to say about someone, just shut up!." > -- Lucky Dube At the risk of starting a flame war, I think sendmail gets a bad rap. It's not been the most widely used MTA for the last few decades because it sucks. It's about personal preference. Now I know this may be redundant advice but I used to run an MTA and enjoyed having the use of it and freedom to have my own mailserver at home. But alas, the spammers have ruined that for all of us and almost every ISP out there will block port 25 by default. Even if they don't block port 25 it will only be a matter of time before they detect your outgoing mail traffic and then block you so that you're forced to purchase an add-on service to run your own MTA. They will use lame excuses that you've been blacklisted because of spam. It's simply their way of making you cough up extra dough for your service. This is one of the parts of the Internet that I really hate and long for the good old days. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Tue, Jul 20, 2010 at 09:03:55PM +0300, Odhiambo Washington wrote: > On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman > wrote: > > On Tue, 20 Jul 2010 09:33:28 -0400 > > Jerry wrote: > > > >> On Tue, 20 Jul 2010 09:26:44 -0400 > >> Aryeh M. Friedman articulated: > >> > >> > I am a consultant and was retained by my client to setup qmail or > >> > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS > >> > (A record and MX record) we have been unable to send or receive > >> > mail. The client has/had a working script for installing qmail on > >> > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using > >> > the same VPS provider who this 7.1-STABLE install script worked > >> > under. I have tried everything I can think of to make it work > >> > including asking obvious questions on -questi...@. > >> > > >> > I informed the client that the task is likely beyond me capabilities > >> > but I would help recruit someone who would be able to do it at a > >> > reasonable fee paid to them (I am acting as a no cost middle man on > >> > this [I am helping the client for free since I was unable to get it > >> > done]). > >> > > >> > Please send any ideas and/or offers to do the job > >> > >> I would seriously suggest that you consider installing Postfix. It is > >> in the ports tree, is well maintained and works out of the box. The > >> Postfix forum will be glad to give you any advice you need for setting > >> up and securing your mail server. Qmail is no longer supported by its > >> author and can be a nightmare to maintain. > >> > > > > We had also tried sendmail and couldn't get that working either so I > > suspect it is a general config issue not a MTA one. (I have set > > sendmail up about 30 times in the past so I know a little bit about it) > > Exim is a very good choice. Forget the Postfix suggestions. It's > Sendmail's brother:-) Sendmail comes from a good family. jerry > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > "If you have nothing good to say about someone, just shut up!." > -- Lucky Dube > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman wrote: > On Tue, 20 Jul 2010 09:33:28 -0400 > Jerry wrote: > >> On Tue, 20 Jul 2010 09:26:44 -0400 >> Aryeh M. Friedman articulated: >> >> > I am a consultant and was retained by my client to setup qmail or >> > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS >> > (A record and MX record) we have been unable to send or receive >> > mail. The client has/had a working script for installing qmail on >> > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using >> > the same VPS provider who this 7.1-STABLE install script worked >> > under. I have tried everything I can think of to make it work >> > including asking obvious questions on -questi...@. >> > >> > I informed the client that the task is likely beyond me capabilities >> > but I would help recruit someone who would be able to do it at a >> > reasonable fee paid to them (I am acting as a no cost middle man on >> > this [I am helping the client for free since I was unable to get it >> > done]). >> > >> > Please send any ideas and/or offers to do the job >> >> I would seriously suggest that you consider installing Postfix. It is >> in the ports tree, is well maintained and works out of the box. The >> Postfix forum will be glad to give you any advice you need for setting >> up and securing your mail server. Qmail is no longer supported by its >> author and can be a nightmare to maintain. >> > > We had also tried sendmail and couldn't get that working either so I > suspect it is a general config issue not a MTA one. (I have set > sendmail up about 30 times in the past so I know a little bit about it) Exim is a very good choice. Forget the Postfix suggestions. It's Sendmail's brother:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On 20/07/10 15.26, Aryeh M. Friedman wrote: I am a consultant and was retained by my client to setup qmail or exim on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record and MX record) we have been unable to send or receive mail. The client has/had a working script for installing qmail on 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using the same VPS provider who this 7.1-STABLE install script worked under. I have tried everything I can think of to make it work including asking obvious questions on -questi...@. First, as everybody else: If you are not satisfied with the default sendmail the most popular alternative seems to be postfix, it will probably be much easier for you to get help with postfix should the problem turn out to be the mail configuration. When you modify your DNS it may take a while before the changes propagate, depending on the TTL setting in your zone configuration. You can check if the mail server is running and can deliver mail locally by, on the mail server, do $ telnet localhost 25 You can then type in manually the smtp commands, see rfc 2821. If you can, then it may be a dns problem. Next, can you send out? You may well be able to send out while you can't receive mail from external servers for local delivery. If this is the case, either your DNS is wrong or the changes has not yet propagated. If you can't, check the error messages, if there is some dns related error look in /etc/resolv.conf to see if you use the right dns server, do some dns queries to check that it works. If you use your own dns server, check the named.conf and verify any forwarders entries. If you can't receive mail from external servers for local delivery, but local delivery works - locally. Try from a different host to telnet to your mail server using the ip address, $ telnet mail-server-ip 25 If this works, maybe your dns changes has not yet propagated. If more time than the TTL has passed and your dns does not resolve correctly, check that you updated the serial number in the zone file, it must be incremented every time you make a modification or the changes won't propagate to dns slaves. If you can't connect, maybe you have a firewall issue. This I think should get you started trouble shooting. I informed the client that the task is likely beyond me capabilities but I would help recruit someone who would be able to do it at a reasonable fee paid to them If you found my advice useful, please donate a reasonable fee to the FreeBSD project, I am still endepted for the great effort of all the people involved in the project. BR, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh M. Friedman wrote: > I am a consultant and was retained by my client to setup qmail or exim > on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record > and MX record) we have been unable to send or receive mail. The client > has/had a working script for installing qmail on 7.1-STABLE but it > seems to not work on 8.0-STABLE. They are using the same VPS provider > who this 7.1-STABLE install script worked under. I have tried > everything I can think of to make it work including asking obvious > questions on -questi...@. > > I informed the client that the task is likely beyond me capabilities > but I would help recruit someone who would be able to do it at a > reasonable fee paid to them (I am acting as a no cost middle man on > this [I am helping the client for free since I was unable to get it > done]). > > Please send any ideas and/or offers to do the job Hi Aryeh, Here are some things that I do to troubleshoot problems like this: - - Check if there are any firewalls (client-side or server-side) that block the ports, tcp 25/587 and tcp 110/143 in this case. If you're using POP3 or IMAP over SSL, check tcp 993 and tcp 995, too. - - Check if the listening ports are ready to accept connections with the command "netstat -an | grep LISTEN". Do you see the ports you expect? - - Dumb question - are the mail server processes running? - - Assuming the processes are running and the ports are listening, what happens when you telnet to them from within the machine, e.g.: telnet localhost 25 telnet localhost 110 telnet localhost 143 - - Can you ping the mail server hostname? - - Use "dig" to do lookups on your A and MX records. Did you bump the DNS serial number and reload the DNS server after you added the records? - - If that works, now try telnetting to the same ports from an outside network using the DNS hostnames, e.g.: telnet my.mail.server.com 25 ... - - Please send me your hostname privately, if you like, and I can check DNS and ports from here. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMRa/E0sRouByUApARAsZwAJwIB6hXWwi2x2Wys94WyjHUJfF4fgCglmiR RYfOIA1ePOLwXcWj1xRrdFk= =j2tU -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Tue, 20 Jul 2010 09:46:09 -0400 Aryeh M. Friedman articulated: > On Tue, 20 Jul 2010 09:33:28 -0400 > Jerry wrote: > > > On Tue, 20 Jul 2010 09:26:44 -0400 > > Aryeh M. Friedman articulated: > > > > > I am a consultant and was retained by my client to setup qmail or > > > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS > > > (A record and MX record) we have been unable to send or receive > > > mail. The client has/had a working script for installing qmail on > > > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using > > > the same VPS provider who this 7.1-STABLE install script worked > > > under. I have tried everything I can think of to make it work > > > including asking obvious questions on -questi...@. > > > > > > I informed the client that the task is likely beyond me capabilities > > > but I would help recruit someone who would be able to do it at a > > > reasonable fee paid to them (I am acting as a no cost middle man on > > > this [I am helping the client for free since I was unable to get it > > > done]). > > > > > > Please send any ideas and/or offers to do the job > > > > I would seriously suggest that you consider installing Postfix. It is > > in the ports tree, is well maintained and works out of the box. The > > Postfix forum will be glad to give you any advice you need for setting > > up and securing your mail server. Qmail is no longer supported by its > > author and can be a nightmare to maintain. > > > > We had also tried sendmail and couldn't get that working either so I > suspect it is a general config issue not a MTA one. (I have set > sendmail up about 30 times in the past so I know a little bit about it) Might I suggest that you supply some log entries that support your claims. It is hard to help you without actual facts. By the way, did you also try Postfix? -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ They spell it "da Vinci" and pronounce it "da Vinchy". Foreigners always spell better than they pronounce. Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Tue, 20 Jul 2010 09:33:28 -0400 Jerry wrote: > On Tue, 20 Jul 2010 09:26:44 -0400 > Aryeh M. Friedman articulated: > > > I am a consultant and was retained by my client to setup qmail or > > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS > > (A record and MX record) we have been unable to send or receive > > mail. The client has/had a working script for installing qmail on > > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using > > the same VPS provider who this 7.1-STABLE install script worked > > under. I have tried everything I can think of to make it work > > including asking obvious questions on -questi...@. > > > > I informed the client that the task is likely beyond me capabilities > > but I would help recruit someone who would be able to do it at a > > reasonable fee paid to them (I am acting as a no cost middle man on > > this [I am helping the client for free since I was unable to get it > > done]). > > > > Please send any ideas and/or offers to do the job > > I would seriously suggest that you consider installing Postfix. It is > in the ports tree, is well maintained and works out of the box. The > Postfix forum will be glad to give you any advice you need for setting > up and securing your mail server. Qmail is no longer supported by its > author and can be a nightmare to maintain. > We had also tried sendmail and couldn't get that working either so I suspect it is a general config issue not a MTA one. (I have set sendmail up about 30 times in the past so I know a little bit about it) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with setting up a mail server
On Tue, 20 Jul 2010 09:26:44 -0400 Aryeh M. Friedman articulated: > I am a consultant and was retained by my client to setup qmail or exim > on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record > and MX record) we have been unable to send or receive mail. The client > has/had a working script for installing qmail on 7.1-STABLE but it > seems to not work on 8.0-STABLE. They are using the same VPS provider > who this 7.1-STABLE install script worked under. I have tried > everything I can think of to make it work including asking obvious > questions on -questi...@. > > I informed the client that the task is likely beyond me capabilities > but I would help recruit someone who would be able to do it at a > reasonable fee paid to them (I am acting as a no cost middle man on > this [I am helping the client for free since I was unable to get it > done]). > > Please send any ideas and/or offers to do the job I would seriously suggest that you consider installing Postfix. It is in the ports tree, is well maintained and works out of the box. The Postfix forum will be glad to give you any advice you need for setting up and securing your mail server. Qmail is no longer supported by its author and can be a nightmare to maintain. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ "I kind of want to slay the dragon. Let's go to work." Angel's final words. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"