Postfix Problem

Mike Bird mgb-ubuntu at yosemite.net
Sat Dec 10 12:06:31 UTC 2005


On Sat, 2005-12-10 at 01:32, Ashwani Jain wrote:
> I am using Ubuntu 5.10 (breezy).  My mail server is configured with a
> ISP.  Now I want to configure Postfix to act as a local mail server
> for my organisation.  For that I have configured it, its sending and
> receiving mails successfully.  Problem I am facing is that
> 
> 1..   when I download mail using fetchmail, fetchmail shows that it
> has downloaded mails from server but that         mail but where it
> downloads mail I don't know, mail does not come into users mail box.
> 
> 2..  I have two type of accounts on my ISP server.  POP accounts and
> forwarding(catchall) accounts.  POP account users directly download
> mails from ISP server using Internet.  But forwarding mail account
> users use my local mail server to send/receive(pop and smtp) mails and
> on local mail server mails gets downloaded using fetchmail.  Problem
> is when forwarding mail account user send mails to POP account users
> whose account is not on the local mail server using my local mail
> server as SMTP server, it returns error 'this mail account does not
> exist' and if I create a account on local mail server for a POP user,
> than this SMTP delivers mail to local made account instead of
> forwarding it to ISP mail server POP account.  This is the biggest
> problem I am facing and consulted with so many people but no one has
> idea about its solution.
> 
> Kindly help, this is a very common configuration and must be in use in
> most of the organisation.  I am new to Mail server administration and
> don't know how to do it.

1) Mail server administration is not easy.
2) This is not a common configuration.
3) That configuration is difficult.

A lot of effort with the Postfix documentation will probably
enable you to achieve that configuration but I suggest that
you would be much better off if you either (a) split the two
kinds of users into two different domains or (b) handle all
users locally or (c) handle all users at the ISP.

If you really want to proceed you could read "man 5 postconf"
but you're probably better off looking at the documentation
at postfix.org which is better organised:

  http://www.postfix.org/documentation.html

The luser_relay parameter may be what you're looking for,
although I confess I've never tried it:

  http://www.postfix.org/postconf.5.html#luser_relay

--Mike Bird





More information about the ubuntu-users mailing list