On Fri, 12 Aug 2016, Jeremiah Matthews wrote:
Date: Fri, 12 Aug 2016 19:32:25
From: Jeremiah Matthews <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [exim] Pelase assist with Exim issue
Hello,
I am new to exim and mail server configuration. I completed the install and
setup for exim. I am wondering if I need to have a registered domain in order
to send mail to be delivered externally. I ran some simple tests to see if my
messages were delivered and they say completed, but when I check my inbox no
message. I don't see any errors. Any advice would help, thanks.
It depends...
If you send your emails through a "smarthost", and you pretend to send
emails from a domain that happens to have no protection at all (no SPF,
no DKIM...), then your emails should arrive. Some destination servers
may even accept your emails without having to use a smarthost. However,
this is hardly the route to go! And probably not very honnest, too.
The least you should do is register a free domain name, and probably
setup dynamic DNS. With this setup, and using a smarthost, you should be
fine. I had this setup for years with very few problems. However,
sometimes, I saw some emails rejected because of the free domain name,
which was recognized as such.
Finally, the best thing to do is to have a proper domain name. This is
what I have now, and I hardly ever have any problem, even though my
server runs on a dynamic IP at home. See here:
http://yalis.fr/cms/index.php/post/2014/01/31/Why-buy-a-domain-name-Secure-mail.
(the final dot is part of the URL... yes, I know...)
Cheers,
Yves.
flyboyimj@ubuntu:~$ exim -v [email protected]
From: [email protected]
To: [email protected]
Subject: This is a test
Test
LOG: MAIN
<= [email protected] U=flyboyimj P=local S=388
flyboyimj@ubuntu:~$ delivering 1bYFq3-0001L3-QT
R: system_aliases for [email protected]
R: userforward for [email protected]
R: procmail for [email protected]
R: maildrop for [email protected]
R: lowuid_aliases for [email protected] (UID 1000)
R: local_user for [email protected]
T: appendfile for [email protected]
LOG: MAIN
=> flyboyimj <[email protected]> R=local_user T=mail_spool
LOG: MAIN
Completed
flyboyimj@ubuntu:~$ exim -bp
exim: permission denied
flyboyimj@ubuntu:~$ sudo exim -bp
flyboyimj@ubuntu:~$ exim -bpc
exim: permission denied
flyboyimj@ubuntu:~$ sudo exim -bp
flyboyimj@ubuntu:~$ exim -bp | exiqsumm
exim: permission denied
Count Volume Oldest Newest Domain
----- ------ ------ ------ ------
---------------------------------------------------------------
0 0 0m 0000d TOTAL
flyboyimj@ubuntu:~$ exim -bt [email protected]
R: dnslookup for [email protected]
[email protected]
router = dnslookup, transport = remote_smtp
host smtp04.enbridge.com [161.141.7.81] MX=10
host smtp08.enbridge.com [209.202.107.210] MX=10
host smtp06.enbridge.com [161.141.7.82] MX=10
host smtp05.enbridge.com [161.141.2.81] MX=10
host smtp09.enbridge.com [74.213.187.18] MX=10
host smtp07.enbridge.com [161.141.2.82] MX=10
flyboyimj@ubuntu:~$ exim -bt [email protected]
[email protected]
R: dnslookup for [email protected]
[email protected]
router = dnslookup, transport = remote_smtp
host smtp05.enbridge.com [161.141.2.81] MX=10
host smtp06.enbridge.com [161.141.7.82] MX=10
host smtp08.enbridge.com [209.202.107.210] MX=10
host smtp04.enbridge.com [161.141.7.81] MX=10
host smtp07.enbridge.com [161.141.2.82] MX=10
host smtp09.enbridge.com [74.213.187.18] MX=10
R: dnslookup for [email protected]
[email protected]
router = dnslookup, transport = remote_smtp
host localhost.com [74.125.224.72]
flyboyimj@ubuntu:~$ exim -bd 74.213.187.18
exim: incompatible command-line options or arguments
flyboyimj@ubuntu:~$ exim -bh 74.213.187.18
**** SMTP testing session as if from host 74.213.187.18
**** but without any ident (RFC 1413) callback.
**** This is not for real!
host in hosts_connection_nolog? no (option unset)
host in host_lookup? yes (matched "*")
looking up host name for 74.213.187.18
IP address lookup yielded "smtp09.enbridge.com"
checking addresses for smtp09.enbridge.com
74.213.187.18 OK
host in host_reject_connection? no (option unset)
host in sender_unqualified_hosts? no (option unset)
host in recipient_unqualified_hosts? no (option unset)
host in helo_verify_hosts? no (option unset)
host in helo_try_verify_hosts? no (option unset)
host in helo_accept_junk_hosts? no (option unset)
220 localhost ESMTP Exim 4.86_2 Ubuntu Fri, 12 Aug 2016 10:07:08 -0700
LOG: SMTP syntax error in "" H=smtp09.enbridge.com [74.213.187.18] unrecognized
command
500 unrecognized command
LOG: SMTP syntax error in "" H=smtp09.enbridge.com [74.213.187.18] unrecognized
command
500 unrecognized command
LOG: SMTP syntax error in "" H=smtp09.enbridge.com [74.213.187.18] unrecognized
command
500 unrecognized command
LOG: SMTP syntax error in "" H=smtp09.enbridge.com [74.213.187.18] unrecognized
command
500 Too many unrecognized commands
LOG: SMTP call from smtp09.enbridge.com [74.213.187.18] dropped: too many unrecognized
commands (last was "")
flyboyimj@ubuntu:~$
flyboyimj@ubuntu:~$
flyboyimj@ubuntu:~$ exim -v [email protected]
From: [email protected]
To: [email protected]
Subject: Test
Test
LOG: MAIN
<= [email protected] U=flyboyimj P=local S=376
flyboyimj@ubuntu:~$ delivering 1bYFy2-0001M1-6R
R: system_aliases for [email protected]
R: userforward for [email protected]
R: procmail for [email protected]
R: maildrop for [email protected]
R: lowuid_aliases for [email protected] (UID 1000)
R: local_user for [email protected]
T: appendfile for [email protected]
LOG: MAIN
=> flyboyimj <[email protected]> R=local_user T=mail_spool
LOG: MAIN
Completed
Jeremiah Matthews CISSP, CISM, GCIH
Supervisor. Enterprise Security Awareness
-
ENBRIDGE
TEL: 713821-2240 | CELL: 832-517-2119<tel:713-503-8052>
1100 Louisiana, Suite 3300, Houston, TX 77002<x-apple-data-detectors://1/1>
enbridge.com<http://www.enbridge.com/>
Integrity. Safety. Respect.
________________________________
* * * * * * * * * * * * * * * * * * * * * * * * * IMPORTANT NOTICE* * * * * * *
* * * * * * * * * * * * * * * * * *
Unless otherwise indicated or obvious from the nature of the transmittal, the
information contained in this email message is CONFIDENTIAL information
intended for the use of the individual or entity named herein. If the reader of
this message is not the intended recipient, or the employee or agent
responsible to deliver it to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error, please
immediately notify the sender using the above contact information or by return
email and delete this message and any copies from your computer system. Thank
you.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/