| Linode Forum https://forum.linode.com/ |
|
| Stopping Postfix sending local mail to other virtualhost https://forum.linode.com/viewtopic.php?f=11&t=9142 |
Page 1 of 1 |
| Author: | Napoleon [ Sun Jul 15, 2012 11:50 am ] |
| Post subject: | Stopping Postfix sending local mail to other virtualhost |
Hi, I am running Ubuntu 10.04 LTS with Postfix/Dovecot and ISPConfig. I have 3 virtual domains setup on my Linode. Each with it's own set of email accounts. When configuring Outlook to access/test these accounts, I noticed that I could sometimes send mails without using the right account password. It took me a little while to figure out what's happening. Without a password, my mail server WILL NOT send to domains/destinations that are not local to my linode. An error message is generated. That's good. However, I found that I could send emails from one of my virtual domains to another one of my virtual domains without needing a password. NOT GOOD. Yes they are local, but they could belong to someone else who doesn't appreciate spam and might get offended. ClamAV is able to detect (presumably through a malformed header or something) these emails and adds ****SPAM**** to the subject, so it's possible to detect these emails. But how do you stop them going out in the first place. I have SSL configured on my server, but don't necessarily want to force all clients to use it for their emails. Any suggestions? Cheers, Nap |
|
| Author: | hoopycat [ Sun Jul 15, 2012 1:06 pm ] |
| Post subject: | Re: Stopping Postfix sending local mail to other virtualhost |
There is no difference between an unauthenticated mail user sending mail to a local mailbox and an unauthenticated mail server sending mail to a local mailbox. If they're going to be receiving mail from arbitrary sources on the Internet, then that's what's going to happen. You could set up two completely different servers: one to handle outgoing mail (SMTP), one to handle incoming mail (IMAP). There would be no local mailboxes on the outgoing mail server, so all mail would require authentication. (However, the incoming mail server would still accept mail without authentication, of course.) Also, if your local users are sending out spam that might offend your other local users, just wait until the rest of the Internet gets mail from them. |
|
| Author: | Napoleon [ Mon Jul 16, 2012 12:49 am ] |
| Post subject: | Re: Stopping Postfix sending local mail to other virtualhost |
hoopycat, thnx for your comments. I have a single linode at the moment, so my server will have to do both. I've got ClamAV installed, which marks these emails with '***SPAM***'. I'm about to implement a few guides I found at HowToForge on how to improve anti-spam performance. They include the use of GreyList. How is everyone else handling this problem? Any other tips? |
|
| Author: | vonskippy [ Mon Jul 16, 2012 1:05 am ] |
| Post subject: | Re: Stopping Postfix sending local mail to other virtualhost |
Napoleon wrote: Any other tips? Yes, avoid HowtoForge like the plague. The only advice they offer is bad. There are zillions of good sysadmin blogs that tell you the correct way to setup things, Howtoforge isn't one of them. |
|
| Author: | Napoleon [ Sun Aug 12, 2012 11:21 pm ] |
| Post subject: | Re: Stopping Postfix sending local mail to other virtualhost |
skippy, I've had nothing but good experiences with the HowToForge guys, especially as I'm such a noob in this area. They've always been polite and answer my questions. However, I do look at other places to ensure I have more than one opinion on how things should be. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|