LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-01-2008, 08:12 AM   #31
maceee
Member
 
Registered: Nov 2008
Posts: 93

Original Poster
Rep: Reputation: 18

I finally seems to succeed to make it work out...
I use an external DNS server for my mx record..it seems that i have no problem now to accept out of my network mails..but looking to have prolems to accept from my internal network.

it will be surely a setting of my mail.cf

thank you all for your help ..i really appreciate this a lot..
 
Old 12-01-2008, 08:43 AM   #32
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no, it's much more likley to be about routing and general networking. the only difference with internal and external from the mail server would be the source address in mynetworks, which are apparently already correct.
 
Old 12-01-2008, 01:45 PM   #33
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
If you are trying to relay from outside (so sending from external sources to anything other than local addresses), you need to be very careful not to set yourself up as an open relay. You should probably look into sasl authentication and TLS to encrypt the sending of authenticating usernames/passwords. Be careful changinf postfix restrictions.

If you internal clients are resolving to the envernal IP, then you'll have issues.

On the client machine, try adding

internal.IP.of.server smtp.netconfig.gr

and then point your client to relay through smtp.netconfig.gr or to otherwise send through than hostname

Last edited by billymayday; 12-01-2008 at 01:46 PM.
 
Old 12-02-2008, 01:43 AM   #34
maceee
Member
 
Registered: Nov 2008
Posts: 93

Original Poster
Rep: Reputation: 18
Really a big thanks to all of you for the time you spent and your support.

I really wouldn't have succeeded without you.

I finally did make to setup this.

I currently have a Win server that i use for mail server and i want to change to centOS, so that i do all these.
At Win server i use for mail server i have several mail accounts for ex. :
test1@example.com
test2@example.com
test3@exmaple.com
test4@exmample.com

and groups:
group1@example.com
group2@example.com

abnd i assign each user to respective group that will receive mail from
for ex.

test1@example.com and test2@example.com receive mails from group1 mail account
and
test3@example.com and test4@example.com receive mail from group2 mail account

Outside network they sent mail to group mail addresses,, and then i assign these mails per user.

How this can be done to Linux?
I hope that i let you understand

Thank you very very much
 
Old 12-02-2008, 01:58 AM   #35
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
For the groups, you can just use alias entries. I don't know an automatic method for this
 
Old 12-02-2008, 02:00 AM   #36
maceee
Member
 
Registered: Nov 2008
Posts: 93

Original Poster
Rep: Reputation: 18
Any guide on how we can create alias pls?

Thank you
 
Old 12-02-2008, 02:24 AM   #37
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
just read the aliases manpage.
 
Old 12-02-2008, 02:29 AM   #38
maceee
Member
 
Registered: Nov 2008
Posts: 93

Original Poster
Rep: Reputation: 18
thank you very much for your reply..

i will give a try
 
Old 12-02-2008, 02:44 AM   #39
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You can use the aliases file in /etc

Add entries like

group1: user1, user2

then run newaliases

Alternatively you can set up aliases in ldap or one of the sql databases

Edit - sorry sat on this post for a bit

You may also find www.postfix.org/DATABASE_README.html useful

Last edited by billymayday; 12-02-2008 at 02:47 AM.
 
Old 12-02-2008, 02:47 AM   #40
maceee
Member
 
Registered: Nov 2008
Posts: 93

Original Poster
Rep: Reputation: 18
which one you think with your experience that is the better for implement what i want ?

Thank you
 
Old 12-02-2008, 02:48 AM   #41
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
How many groups/users are you talking about
 
Old 12-02-2008, 02:55 AM   #42
maceee
Member
 
Registered: Nov 2008
Posts: 93

Original Poster
Rep: Reputation: 18
I currently have 15users as : user1@example.com ... user15@example.com to whom i distribute mails from groups they are assign to.

i currently have 10groups as: group1@example.com...group10@example.com which are mail addresses that outside sent to me.

Each user can receive mail from more than 1 group.

For example i have user1@example.com who are assigned and accepts mail from group1@example.com and group2@example.com
and as well user2@example.com who accepts also mail from group1@example.com and group3@example.com

Thank you very much for your assistance
 
Old 12-02-2008, 03:14 AM   #43
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I'd put them in the aliases file

Don't forget to run newaliases after changing the aliases file
 
Old 12-02-2008, 03:16 AM   #44
maceee
Member
 
Registered: Nov 2008
Posts: 93

Original Poster
Rep: Reputation: 18
so..i will open a new account from users and groups, then add group1: user1, user2 and run newaliases?

Does i need to activate aliases from main.cf?

Thank you
 
Old 12-02-2008, 03:22 AM   #45
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
It should be there by default - have a quick look.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix allowing mails to send from telnet rakmvk Linux - Server 2 11-10-2008 08:18 AM
postfix started but can't telnet. waelaltaqi Linux - Software 10 02-27-2007 06:08 PM
Cannot telnet postfix on port 25 alivewithtechnology Linux - General 6 08-22-2006 03:23 PM
cannot telnet postfix smtp 25 on external ip slam Linux - Software 4 04-20-2006 03:32 PM
postfix or telnet problem?? hivtop Red Hat 0 04-20-2005 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration