OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: istvan.takacsszerencsejatek.hu
Date: Fri Feb 02 2001 - 01:58:09 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi,

    mjttls.msk.ru wrote:
    >
    > Please provide at least sample entries of your
    > virtual table - exact lines (you may change
    > your domain name if you want (but this is
    > unnecessary), but we need to have a complete
    > picture). And some logging -- simple "doesn't
    > want to work" is useless.

    We have a mail server (mail.jelenlegi.hu), and our
    users have email addresses like usernamejelenlegi.hu
    I have to set up this server for two new domains (egyik.hu
    and masik.hu) in this form:
    usernameegyik.hu
    usernamemasik.hu

    The domains have different users, but some of them
    are the same person for every domains e.g. postmaster,
    hostmaster, webmaster, etc.

    I wrote the line virtual_maps = hash:/etc/postfix/virtual
    into the main.cf, and created a new virtual file with two records:

    egyik.hu, masik.hu

    # postmap virtual
    # postfix reload

    maillog:

    Feb 2 08:34:50 fw postfix-script: refreshing the Postfix mail system
    Feb 2 08:34:50 fw postfix/master[493]: reload configuration

    If I try to send an email to the a user, than it writes this

    Feb 2 08:36:21 fw postfix/smtpd[14523]: reject: RCPT from
    aramis.iif.hu[193.225.12.71]: 554 <postmasteregyik.hu>: Reci
    pient address rejected: Relay access denied; from=<hostmasternic.hu>
    to=<postmasteregyik.hu>

    I don't know what should I set up this to work correctly.
    And can I use the same aliases file for different domains?

    Thanks in advance!

    Regards,

                    Istvan