Aliases



  • Hi

    I have a server, nas.foo.ba, assigned to an ip address via dhcp.

    This server also runs email, and I want to set up mail.foo.ba assigned to the same ip address as has.foo.ba
    however every I have tried has failed.

    Please could some one advise me?

    Thanks

    Aimee



  • For starters I wouldn't try running a mail server on an interface with a dynamically assigned address. If it changes, you won't receive any email.

    Beyond that, you've given so little information that nobody could help all that much. (EG: What have you tried already? What is your network setup? Does this have anything remotely to do with pfSense or is this just a general query about setting up DNS records? If so, you're on the wrong forum)


  • Banned

    @muswellhillbilly:

    For starters I wouldn't try running a mail server on an interface with a dynamically assigned address. If it changes, you won't receive any email.

    Also, you outgoing mail will be rejected by vast number of mailservers due to policy settings.



  • @doktornotor:

    @muswellhillbilly:

    For starters I wouldn't try running a mail server on an interface with a dynamically assigned address. If it changes, you won't receive any email.

    Also, you outgoing mail will be rejected by vast number of mailservers due to policy settings.

    Hi

    I have a nas, which provides the internal mail service, it does not access any external mail servers.

    All the clients have in the mail program, the address mail.foo.b to access the server. This was done to ensure moving
    the internal mail server from the nas to another system with the LAN.

    The nas's real hostname is nas.foo.ba so it can be accessed by clients wishing to backup user files.

    I am currently migrating away from an existing firewall package to pfsense, the old package made creating the alias relatively simple,
    as its client base appears to be for non technical users.

    pfSense has far more options, and I am just having a few problems identifying the various places to set things up.

    I assumed, perhaps wrongly that pfsense would allow dhcp aliases, perhaps am I wrong?

    Thanks

    Aimee


  • Banned

    Uh.

    1/ Set up a DHCP reservation for the NAS where's your mailserver.
    2/ Set up whatever CNAMEs (aliases) you want under DNS Resolver or DNS Forwarder.



  • What the doktor said.

    Though you are sure you don't need to send or receive any external emails? Because with the setup you have - given the information you've provided - you probably won't be able to at some point or another.



  • @muswellhillbilly:

    What the doktor said.

    Though you are sure you don't need to send or receive any external emails? Because with the setup you have - given the information you've provided - you probably won't be able to at some point or another.

    Yes, the internal email is for internal private email. The external email is accessible via other entries within the clients email program.

    If a user does attempt to send an email externally and the smtp server has been set to the internal server, then it will not work, that is
    what is expected.

    Aimee


Log in to reply