Howdy All,
After a month off and on of hacking away and using the great linode guides and workaround.org guide I was finally able to get my mailserver running.
I haven't completed everything, such as spam assassin and such, so
I haven't made the server "live" yet by pointing my MX record to the server. Therefore, if I connect directly to the IP, I can send mail out with outlook (or telnet), but I can't receive anything from the outside world. I CAN receive messages from myself to myself IF sent from the linode, and as far as I know that's the only way I can receive messages.... or so I thought.
The server has been up for all of maybe 6 hours and I now have a single Chinese spam message in my inbox. I'm puzzled by this, and want to ensure I am not somehow missing something with security as I don't want to allow spammers (or unauthenticated relays) from my server.
So I'm unsure how I received this piece of Chinese spam on my linode inbox... since I myself cant send myself a message unless I originate it from my linode.
Here is my mail.log at the same time I received the message in my inbox. I noticed there are a couple things such as a message from no one <>, and to root. How is someone logging in and sending a message from no one since I (at least believe) have SMTP authentication on?
I tried with outlook to untick the "my server requires authentication" on the outgoing, and sending fails. When I tick that back on, sending succeeds, which implies to me it is indeed correctly setup to require authentication.
Code:
Jun 24 23:09:02 PcComputerGuy postfix/pickup[3989]: 4D23B249E2: uid=0 from=<root>
Jun 24 23:09:02 PcComputerGuy postfix/cleanup[4111]: 4D23B249E2: message-id=<20130625030902.4D23B249E2@PcComputerGuy.com>
Jun 24 23:09:02 PcComputerGuy postfix/qmgr[3398]: 4D23B249E2: from=<root@Ronin>, size=1208, nrcpt=1 (queue active)
Jun 24 23:09:02 PcComputerGuy postfix/smtp[4113]: 4D23B249E2: to=<root@Ronin>, orig_to=<root>, relay=none, delay=0.2, delays=0.03/0.01/0.15/0, dsn=5.4.4, status=bounce$
Jun 24 23:09:02 PcComputerGuy postfix/cleanup[4111]: 7E900249E3: message-id=<20130625030902.7E900249E3@PcComputerGuy.com>
Jun 24 23:09:02 PcComputerGuy postfix/bounce[4114]: 4D23B249E2: sender non-delivery notification: 7E900249E3
Jun 24 23:09:02 PcComputerGuy postfix/qmgr[3398]: 7E900249E3: from=<>, size=3088, nrcpt=1 (queue active)
Jun 24 23:09:02 PcComputerGuy postfix/qmgr[3398]: 4D23B249E2: removed
Jun 24 23:09:02 PcComputerGuy postfix/smtp[4113]: 7E900249E3: to=<root@Ronin>, relay=none, delay=0.01, delays=0/0/0/0, dsn=5.4.4, status=bounced (Host or domain name n$
Jun 24 23:09:02 PcComputerGuy postfix/qmgr[3398]: 7E900249E3: removed
Jun 24 23:39:01 PcComputerGuy postfix/pickup[4128]: 8DD1C249E2: uid=0 from=<root>
Jun 24 23:39:01 PcComputerGuy postfix/cleanup[4143]: 8DD1C249E2: message-id=<20130625033901.8DD1C249E2@PcComputerGuy.com>
Jun 24 23:39:01 PcComputerGuy postfix/qmgr[3398]: 8DD1C249E2: from=<root@Ronin>, size=1208, nrcpt=1 (queue active)
Jun 24 23:39:01 PcComputerGuy postfix/smtp[4145]: 8DD1C249E2: to=<root@Ronin>, orig_to=<root>, relay=none, delay=0.13, delays=0.04/0.01/0.09/0, dsn=5.4.4, status=bounc$
Jun 24 23:39:01 PcComputerGuy postfix/cleanup[4143]: AD6F5249E3: message-id=<20130625033901.AD6F5249E3@PcComputerGuy.com>
Jun 24 23:39:01 PcComputerGuy postfix/bounce[4146]: 8DD1C249E2: sender non-delivery notification: AD6F5249E3
Jun 24 23:39:01 PcComputerGuy postfix/qmgr[3398]: AD6F5249E3: from=<>, size=3088, nrcpt=1 (queue active)
Thanks for your suggestions and for the great linode community.
