#1  
Old 14th July 2006, 12:48
xma xma is offline
Junior Member
 
Join Date: Sep 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default root@domain ...

Hi to all,

I configured a ispconfig half year ago and all need all works fine but local usernames like root or uucp can recieve mails from all localdomains configured in postfix.

I have an alias from root to my account and in the begining of the server I recieved few mails but every day I have more domains and it starting to be heavy because I recieve a lot of spam to root@domain1.com, root@domain2.com...

At anyone occurs the same?
Can anyone help me?

Some thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 14th July 2006, 15:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
Default

What is in your /etc/postfix/alias file?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th July 2006, 15:56
xma xma is offline
Junior Member
 
Join Date: Sep 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
What is in your /etc/postfix/alias file?
In main.cf i have:
alias_maps = hash:/etc/aliases

And I think I have a standard /etc/aliases, is a large file with names like:
# General redirections for pseudo accounts in /etc/passwd.
administrator: root
daemon: root
lp: root
news: root
uucp: root
games: root
man: root
at: root
postgres: root
mdom: root
amanda: root
ftp: root
wwwrun: root
squid: root
msql: root
gnats: root
nobody: root

And one that points root to my local username.
Reply With Quote
  #4  
Old 15th July 2006, 13:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,736 Times in 2,571 Posts
Default

Quote:
Originally Posted by xma
And one that points root to my local username.
Either remove that alias from /etc/aliases and run
Code:
newaliases
afterwards, or turn on the spamfilter for your email account in ISPConfig.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 16th July 2006, 11:10
xma xma is offline
Junior Member
 
Join Date: Sep 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Falko,

In action you comment, I only disable forwarding root mails to my user, but root will continue recieving mails from root@domain1, root@domain2 ...

I was thinking in a make a black list of local usernames destinations maybe in spamassassin or in postfix, is it possible?

Some thanks
Reply With Quote
  #6  
Old 17th July 2006, 15:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,736 Times in 2,571 Posts
Default

Quote:
Originally Posted by xma
but root will continue recieving mails from root@domain1, root@domain2 ...
Then you must create an email alise called root for one of the email accounts of these domains.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 17th July 2006, 23:21
xma xma is offline
Junior Member
 
Join Date: Sep 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I have been making different test and I look this:

There are local usernames like:

domain1.user11
domain2.user21
domain2.user22

And a virtusertable like:

user11@domain1 domain1.user11
user21@domain2 domain2.user21
user22@domain2 domain2.user22

At this point all seems ok, but when I send a mail to domain2.user22@domain1 the mail arrives OK to domain2.user22.

It seems like there aren't restrictions between usernames and domains, all localusernames can recieve mails at all domains.

I revised postfix configuration, I disabled aliases sentence without solve the problem.

Please, ¿anyone can make this kind of test and tell me the results?
It a normal functionality of postfix/ispconfig?

Some thanks in advance.

Xavi
Reply With Quote
  #8  
Old 18th July 2006, 13:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,736 Times in 2,571 Posts
Default

Quote:
Originally Posted by xma
It seems like there aren't restrictions between usernames and domains, all localusernames can recieve mails at all domains.
This is the normal behaviour.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 18th July 2006, 13:40
xma xma is offline
Junior Member
 
Join Date: Sep 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In my opinion,

It shouldn't be like that, because it generates a lot of spam between usernames in diferent domains, don't you think so?

Did you know if I can't do anything to solve this fact? actually my username recieves more than 100 spam daily, and I only have less than 10 domains in a box. Imagine when I have 30 o more domains,

Is anybody in the same problem?

Some thanks to all
Reply With Quote
  #10  
Old 18th July 2006, 14:43
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
 
Default

One thing is the "light" configuration of postfix.
You can e.g. check if the mail comes from dialuphosts and deny them (because if sb. sends mail from a server with a dynamic address its his own problem, but that you have to decide on your ow), as well as machines identifying with your server's address in HELO / EHLO.
Mor than that you can also activate greylisting.

All together it works really fine for me reducing spam.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.