Lars wrote:
>
> Hi!
>
> First of all, I read most of the posts which could fix the
> problem, but no one works. Or I can't follow them...

>
> My Problem:
> I want to use same domain-names for local mail transfer AND
> external Mail transfer.
> I want to configure SME to fetch mail from
> pop3.local-domain.com AND send internal mails from user
> fred@local-domain.com to andi@local-domain.com without
> accessing the internet.
I don't think this is possible without a lot of custom work. It sounds like you want your SME to handle some of the @domain.com accounts, and want the rest of the @domain.com accounts passed off to the ISP's server.
By default, SME is either set up to be the mail server, or to let another server handle all the mail stuff. You'd need to customize stuff to send @domain.com messages that aren't for certain addresses on to the ISP server instead of saying that those accounts don't exist on the server.
> With a great piece of software I can access to any mailboxes
> and forward the messages to the right users. This is a
> solution.
>
> But if you do a reply an a message you have to decide, if
> local or external deliverey is needed. And in some cases you
> have to chance your reply-mailaddress... I know, it's more
> flexible, but not very comfortable.
>
> A known workaround: Sending ALL messages over internet...
> (Please NO!

Another workaround: Is there any reason you HAVE to use the ISP's mailboxes? If you can set up the SME to act as the domain's MX, everything should work just fine. Any internet mail coming in for user@domain.com will come to your server, and go to the right account. Sending an email from user1@domain.com to user2@domain.com will stay on the SME, while external mail gets sent out to the internet for delivery.
> At the moment SME ist not able to access to a domain that ist
> virtually installed... SME think they are hostet on the local
> PC, so its no need to access them... But I must!!!!!!!!! I
> have to connect to the mailbox. e.g. pop3.local-domain.com.
> (It doesn't work even the host exists or not...)
I'm not sure what you're trying to say here. If you set up a Hostnames entry for pop3.domain.com pointing to the external IP, it should work. If not, something's broken.
> Has anyone suggestions, how it could work? Perhaps templates
> are the solution?
Templates have nothing to do with making something work. It's just a way of dividing the regular Linux configuration files into easily editable (and easily fixable) chunks, and processing those chunks into the final configuration file.