I have apparently installed virtualmin successfully and have created a mail user under my new domain, choked.ca:
[root@cserver homes]# pwd
/home/choked/homes
[root@cserver homes]# tree
.
-- dave
-- Maildir
|-- cur
|-- new
`-- tmp
5 directories, 0 files
My mail to this address is bouncing and I don't know why. I have read the virtualmin file:
http://www.virtualmin.com/documentation/id,email_troubleshooting
I am advised there to check logs for useful messages. ok:
[root@cserver log]# pwd /var/log [root@cserver log]# tail maillog
Jul 7 17:00:10 cserver postfix/pickup[30708]: 093BD2AF5F5: uid=0 from=<root> Jul 7 17:00:10 cserver postfix/cleanup[32164]: 093BD2AF5F5: message-id=<20080708000010.093BD2AF5F5@cserver.davedomain> Jul 7 17:00:10 cserver postfix/qmgr[2470]: 093BD2AF5F5: from=<root@cserver.davedomain>, size=664, nrcpt=1 (queue active) Jul 7 17:00:10 cserver postfix/local[32166]: 093BD2AF5F5: to=<root@cserver.davedomain>, orig_to=<root>, relay=local, delay=0.08, delays=0.07/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME) Jul 7 17:00:10 cserver postfix/qmgr[2470]: 093BD2AF5F5: removed Jul 7 17:03:34 cserver postfix/pickup[30708]: E587D2AF5F5: uid=0 from=<root> Jul 7 17:03:34 cserver postfix/cleanup[32240]: E587D2AF5F5: message-id=<20080708000334.E587D2AF5F5@cserver.davedomain> Jul 7 17:03:34 cserver postfix/qmgr[2470]: E587D2AF5F5: from=<root@cserver.davedomain>, size=673, nrcpt=1 (queue active) Jul 7 17:03:34 cserver postfix/local[32242]: E587D2AF5F5: to=<root@cserver.davedomain>, orig_to=<root>, relay=local, delay=0.14, delays=0.11/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME) Jul 7 17:03:34 cserver postfix/qmgr[2470]: E587D2AF5F5: removed [root@cserver log]#
But if this is supposed to be meaningful, I am missing something. From the bounced mail comes:
Return-Path: <> Received: from mstore1a.uniserve.ca ([unix socket]) by mstore1a.uniserve.ca (Cyrus v2.3.7) with LMTPA; Mon, 07 Jul 2008 17:03:30 -0700 X-Sieve: CMU Sieve 2.3 Envelope-to: geek@uniserve.com Delivery-date: Mon, 07 Jul 2008 17:03:30 -0700 Received: from snat1.lb.vwc.uniserve.ca ([204.239.42.247] helo=mx13.uniserve.ca) by mstore1a.uniserve.ca with esmtp (Exim 4.62) id 1KG0g6-0000Lp-8L for geek@uniserve.com; Mon, 07 Jul 2008 17:03:30 -0700 Received: from smtp-relay1f.uniserve.ca ([216.113.194.200] helo=smtp-relay1.uniserve.ca) by mx13.uniserve.ca with esmtp (Exim 4.63) id 1KG0g5-0005og-Up for geek@uniserve.com; Mon, 07 Jul 2008 17:03:30 -0700 Received: from exim by smtp-relay1.uniserve.ca with local (Exim 4.63) id 1KG0fe-0002oQ-Qt for geek@uniserve.com; Mon, 07 Jul 2008 17:03:02 -0700 X-Failed-Recipients: dave@choked.ca Auto-Submitted: auto-replied From: Mail Delivery System <Mailer-Daemon@uniserve.com> To: geek@uniserve.com Subject: Mail delivery failed: returning message to sender Message-Id: <E1KG0fe-0002oQ-Qt@smtp-relay1.uniserve.ca> Date: Mon, 07 Jul 2008 17:03:02 -0700 X-Scanner: OK. Scanned. X-Uniserve-Spam-Score: 0.0 0 (/) X-Uniserve-Spam-Report: Spam detection software, running on this mail system has identified this incoming email as possible spam. An analysis of the message is below. Content analysis details: (0.0 points) pts rule name description
Status: R X-Status: NC X-KMail-EncryptionState: X-KMail-SignatureState: X-KMail-MDN-Sent:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
dave@choked.ca retry time not reached for any host after a long failure period
------ This is a copy of the message, including all the headers. ------
Return-path: <geek@uniserve.com> Received: from mbr.uniserve.ca ([216.113.192.21] helo=mail3.uniserve.ca) by smtp-relay1.uniserve.ca with esmtp (Exim 4.63) (envelope-from <geek@uniserve.com>) id 1KG0fe-0002oN-IS for dave@choked.ca; Mon, 07 Jul 2008 17:03:02 -0700 Received: from www by mail3.uniserve.ca with local (Exim 3.35 #1) id 1KG0g5-000O7T-00 for dave@choked.ca; Mon, 07 Jul 2008 17:03:29 -0700 Received: from 142.179.54.37 ( [142.179.54.37]) as user geek@pop.uniserve.com by members.uniserve.com with HTTP; Mon, 7 Jul 2008 17:03:29 -0700 Message-ID: <1215475409.4872aed147819@members.uniserve.com> Date: Mon, 7 Jul 2008 17:03:29 -0700 From: Dave Stevens <geek@uniserve.com> To: dave@choked.ca Subject: test from webmail MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Originating-IP: 142.179.54.37 X-Scanner: OK. Scanned. X-Uniserve-Spam-Score: 0.0 0 (/) X-Uniserve-Spam-Report: Content analysis details: (0.0 points) pts rule name description
then:
[root@cserver log]# host -t mx choked.ca choked.ca mail is handled by 0 choked.ca. [root@cserver log]# host mail.choked.ca mail.choked.ca is an alias for choked.ca. choked.ca has address 142.179.54.37 choked.ca mail is handled by 0 choked.ca. [root@cserver log]#
which looks reasonable but not very useful.
So I don't know where to look next. Ideas? more docs?
Dave
Hi Dave,
Excellent trouble report, thanks for all the details :-)
At the end there, you showed choked.ca as being the primary MX for your the domain, and it has IP 142.179.54.37.
However, when I try to telnet to port 25, it hangs as if my access to the SMTP port is being blocked -- which might happen if there were a firewall blocking port 25.
Is there any chance that could be the issue?
-Eric
I checked port 25 and it was forwarded to the correct machine. I then telnetted to port 25 using the local ip address - 192.168.0.253 - and I was able to connect ok, send commands and mail. OK so far. Now I am off-site and am not able to telnet in on that port, although FTP works ok and so does port 80. So it seems there is in fact something stinking in the port forwarding or the firewall setup. Will check further. Thanks very much for the response.
Dave
I don't know why the response was repeated, my apologies. The router was not in fact set up properly. The tech has been by and I am now able to get mail for user@domain.tld. Thanks for your reply.
When I try to send mail from an XP unit at another location using OE6 and this server I get an error:
The connection to the server has failed. Account: 'mail.choked.ca', Server:
'mail.choked.ca', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket error: 10060, Error Number: 0x800CCC0E.
Googling reveals that this is a known problem with OE6. In and of itself this would not be a big deal, I rarely use OE or Windows. But the problem manifests itself with another pair of mail clients as well, squirrel mail and Incredimail (don't bother with that one.) If there is some systematic inability to send mail with the server, where would I start looking? Perhaps it would be useful to know what a successful setup looks like. Ideas?
Dave
Well, certain ISP's block incoming and/or outgoing SMTP. So a few thoughts working up to that:
* Can you verify that SMTP is still running on the server and hadn't died for some reason?
* If you see it running, can you send yourself an email using the command line on your mail server (perhaps with: cat /etc/fstab | mail -s "Test Email" your_address@somedomain.com)
* And if sending an email from the mail server works, are you able to telnet into port 25 of the server from the machines you're using Outlook Express and such from?
If that all works, what are some of the errors you're seeing from your other email clients?
-Eric