Hi
Your problem is indeed related with multidrop. The reason why the mail is not sorted correctly is because the email address in question is in the BCC field and not visable. So you will experience the same problem if someone send you email using the bcc field. To overcome that problem is quite easy:
Every email should have an ENVELOPE-TO field in the email header however the field name differs from ISP to ISP. Send and email to yourself using the BCC field (not from within your local network). The email should end up in the admin account. Log on to your webmail and open the email, then click Message Source. That will reveal the email header. Now look for the enveope field. It should look something like this:
X-Envelope-To: yourname@yourdomain.com
In this case "X-Envelope-To:" is wat we are looking for. Now go to Server Manager > Email. There where you enter the pop settings for multidrop. Change "Select sort method" to "Specify below" and type your envelope field name by "Select sort header" ("X-Envelope-To:" in my case)
That should take care of your mail sorting problem.
However, using smtp delivery (not ETRN) is definately the best way to go. It has a couple of advantages over multidrop, namely:
1. Email is delivered directly to your server immedeately, instead of having to wait the 5 minutes for fetchmail to kick in.
2. If with multidrop someone sends you a very large email it will block the mail que and you might end up with a lot of duplicated emails and not getting new ones, until you manually delete the big email out of the pop account. With SMTP delivery an email that is too large will not be accepted by your server.
3. With SMTP delivery you can make use of RBL Blocking for spam protection wich i think is not possible with multidrop.
4. Your incomming mail will not affect your traffic usage by your ISP (if applicable.)
What if your server goes down? Not a problem either. All you need to do is to arrange with your ISP to be your BackupMX so that your mail will go to them if your server is unreachable. They will then in turn send you the mail when your server is back online.
To view the mx records for a domain you must go to your server console and type:
host -t mx yourdomain.co.za
Mine used to look like this:
huge.co.za mail is handled by 5 firewall.huge.co.za.
huge.co.za mail is handled by 5 firewall2.huge.co.za.
huge.co.za mail is handled by 10 mxbackup.huge.co.za.
huge.co.za mail is handled by 5 firewall3.huge.co.za.
I have registered a dynamic hostname with dyndns wich is updated by ddclient called huge.homelinux.net.
Then i changed my mxrecords and it now looks like this:
huge.co.za mail is handled by 1 huge.homelinux.net.
huge.co.za mail is handled by 10 mxbackup.huge.co.za.
Its working like a charm. Please let me know if I am not clear on anything.
