Hi,
I've toyed around with linux a little in the past and now I'm really trying to get my hands dirty.
Right now I have a Synology DiskStation running busybox. It has a mailserver on it implemented using Postfix and Dovecote. When I had my own static IP this was fine and dandy. Now I'm living in a house share and unable to obtain a static IP it's no longer fine and dandy.
Please help me investigate and fix the problems I'm having.
I have a domain registered, say
www.mydomain.co.uk. This has an mx record which forwards to a dyndns hostname, mynickname.is-ageek.co.uk. The dyndns hostname is synchronised with my isp provided dynamic ip.
The DiskStation is sat behind a router which in turn is set behind another router. This is to give my own network privacy and firewalling from the rest of the household.
Both routers port forward/NAT to the Diskstation.
I am able to send/receive email from an Outlook client and so long as I'm sending from/to the same account (myname@mydomain.co.uk) it works fine. I can also telnet into SMTP server (mail.mydomain.co.uk:25) and send a test email.
So although I can receive email sent from the server, I cannot receive email sent from other email accounts. In fact, several hours later I get this response returned from an alternate sending account:
Code:
This message was created automatically by mail delivery software.
A message that you sent has not yet been delivered to one or more of its recipients after more than 6 hours on the queue on mail10.atlas.pipex.net.
The message identifier is: 1TQ7Tk-0000pK-Qr
The subject of the message is: test
The date of the message is: Mon, 22 Oct 2012 03:10:58 +0100
The address to which the message has not yet been delivered is:
myname@mydomainname.co.uk
No action is required on your part. Delivery attempts will continue for some time, and this warning may be repeated at intervals if the message remains undelivered. Eventually the mail delivery software will give up, and when that happens, the message will be returned to you.
I'm guessing the mail queue is the senders mail queue? I'm figuring this problem is down to postfix config, but I've no idea which part. I've turned soft bouncing on but to no avail.
I get the impression I'm making a very basic mistake somewhere here. I'm more than happy to provide copies of config files later on today, but in the mean time I would more than appreciate some pointers.
The neighbors house was broken into the other night and ours was done a wee while ago. I'm trying to setup surveillance using webcam using Motion and I'd like the mailserver working so that Motion can send stills to a gmail account that, in the even of any incident occurring, can be checked.
Motion is running on a separate box and will using the diskstation as a relayhost. (Which in turn will relay to a smarthost). Whilst I appreciate I can probably work around these issues, I'd like to know how to do this properly.
Thanks
David