[SOLVED] setting up a Mail server - advice and or warnings

I am about to set up a mail server for family (about 10 accounts) and could do with some advice on what to use, how to set it up and how to protect it from becoming a zombie spam server.
I have courier functional now.
Last edited by Cheifchimp (2010-06-20 06:27:20)

I use postfix. Plenty of howto's and documentation at http://www.postfix.org/documentation.html.
You can check you are not an open relay at http://www.mxtoolbox.com/diagnostic.aspx

Similar Messages

  • How to set up a mail server with a private DNS and relay over a public mail

    How to set up the mail server that we can send and pick up emails inside and outside?
    Our private network has the DNS name dnsname1.private.
    We have our privat DNS Server and he can forward requests to outside over our router.
    Our public emails are hosted by an internet provider. This dns name is dnsname2.com and dnsname2.org.
    How we have to set up our mail server that we can pick up our emails from our public dnsname2.com?
    And when we write an email how we have to set up it that the dnsname is dansname2.com and not dnsname1.private?

    If you want to move your mailservice to your own (internal) server, start by making sure you can recieve traffic on port TCP 25 (SMTP). Some ISPs blocks this port, especially on "non business" connections.
    Can you send mail from your LAN directly to where your mail is hosted using port 25 TCP or do you have to relay via your ISP?
    You have a static public IP?

  • How do I set up a mail server and SMTP server to send messages to other mail servers at mavericks

    How do I set up a mail server and SMTP server to send messages to other mail servers at mavericks

    You need to get the settings for your email from your email provider and enter them in Internet Accounts (System Preferences). Many of the common systems are already available, all you need is a password and an email address to set them up.

  • Setting up a mail server and the client

    Hi! I'm setting up a mail server on a virtual server (VMware Fusion 2.0.5) and I've a lot of problems. how to set up a mail account with the workgroup manager?? I create accounts but it doesn't appears on Server Admin in the mail service. And how to configure the email for an account ?
    the short name is "it" and in the mail tab the mail server is "my.resolveme.com"
    The mail address for this example is: [email protected]
    please help me!!!

    Hi,
    Do you speak french ?
    This is my records for the dns :
    A mail.sebas.resolveme.com 153.109.XX.XX
    MX sebas.resolveme.com mail.sebas.resolveme.com
    What is the name for the server : mail or other ?
    Second problem : I tried to send a mail by telnet. It's ok, the mail is queud. But if I go with outlook to see my mail box I can't see nothing
    We are ok for the mail of the client : it's shortname @ the name in WGM (like sebas.resolveme.com)
    Thanks for the answer !

  • Setting up a mail server on a 2010 MacMini Server

    Hi,
    I am having great difficulty in setting up my Mail server on my 2010 MM server.   Setup is as follows:
    1.  Domain name hosted by dyndns.org with mail forwarding setup to forward incoming mail to my mail address <[email protected]>
    2.  Outgoing mail is being sent from the server via my local ISP using their relay server
    3.  Mail Server settings in Server app shown as "Provide mail for: mail.domainname.org"
    4.  Authentication set to: "Relay outgoing mail through ISP"
    5.  dyndns.com confirm that the domain host side is set up correctly.
    6.  Local ISP confirms that local relay service is set up correctly.
    Problem is Mail account cannot be activated in Apple Mail.    email setup details in my server Mail app are as follows:
         Account Type:    POP
         Email address:   [email protected]
         Full Name:         my name
         Incoming Mail Server:   mail.domainname.org
          User Name:      admin
          Password:        password on the dynsdyn.com srever
          Outgoing Mail Server (SMTP):   Local ISP providers mail relay service
    Has anyone any idea where this setup is wrong?   Also, I am unable to find a server manual for OSX 10.8.4 server.  Does anyone know where I can get this?
    Any help you can give is most appreciated.
    Thank in advance
    Roger

    Hi Linc,
    For the email address on the server, I create the account in my Apple mail in the normal way.  I fill in the details shown on the accounts setup panel as shown in my original post above. I then click on the "Enable this account" button but it does not connect to anywhere.
    For the Server setup, this is also described in points 3. and 4. above.
    The result is that the server seems to be setup properly but this may not be the case, which is why I asked my questions.
    Sorry I cannot be more explicit but if you are willing to ask deeper questions that might point to the problem, I would be more that delighted to supply the answers if I can.

  • Hi, I have private emails in IPAD2, i have chaged the incoming mail server name and saved the change.

    Hi, I have private emails in IPAD2, i have chaged the incoming mail server name and saved the change.
    but, when I back to read my old emails in inbox it's gone away, I have backed to setting and return the previous
    incoming mail name, but also I did't get the old emails. where I can find the old emails in my IPAD2 ?

    It is only the link to your emails which are 'stored' on your iPad. You will have to enter all proper email addresses to get the message associated with them, which, in practice,  means multiple accounts. If all still does not work try a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release].

  • Is it possible to let OS X Mail server POP and Sort

    Hi there!
    I'm a current Kerio Mail server user and the way it's set up is like this:
    All our mail gets delivered and spam-filtered at our hostingprovider's server, all mail drops into 1 big mailbox.
    Kerio pops this mailbox every so often and distributes the mail to the users that are managed in kerio.
    Is this setup possible with OS X Server mail services? We are receiving loads of spam and our connection acts up sometimes so this setup provides great availability.
    [edit]
    i guess fetchmail comes into play ... it is installed but not configured
    [/edit]
    Message was edited by: Zimmen

    A few missing pieces here...
    1. Are you using Kerio on your machine, or that is what your hosting provider is running? (I will assume the former).
    2. Does your hosting provider accept mail to AnyUser@yourdomain, or only to legitimat users at your site? If the former, it is no wonder you are getting hammered by spam. You will take anything. Your provider might be able to filter against an RBL list, but that probably only takes out about 70% of the spam on a good day.
    Anti-spam filtering takes place on the SMTP side of the server. Once the mail is delivered to your SP, you've got the mail and have to deal with it on the client side. Ugly at best. Fetchmail will not help you here.
    OS X mail does have a pretty good selection of anti-spam tools. Most notably, SpamAssassin and greylisting. But both (greylisting in particular) require your mail server be the only mail server for your domain for best results.
    Mail does not require particularly high availability. If your mail server is missing for a while, the sending site will try again later. Mail is very resilient to temporary failures. You could set up your SP as a backup MX host if you want, but I would submit that would increase your spam load when your server is down or missing (mail relay from a secondary host, short circuits the greylisting feature).
    I do not know Kerio myself, but for mail alone, the built in mail services in OS X (current version) are pretty good. But you are shooting yourself in the foot by having your SP collecting mail for you, especially if they will accept any user.

  • Internal mail server tcode and table

    hello,
    Can you please tell me the internal mail server tcode and table where the mail details are stored...please help
    thanks

    hi,
    thanks for the reply..
    actually i want to know the table in which the mail(received mail) contents are stored..
    my requirement ::  to upload the mail contents in web dynpro for abap application
    thanks. hope to get some replies..

  • Advice for setting up a mail server.

    Over the past few months I have been slowly merging away from websites that don't regard my privacy.
    I've changed search engines to duck duck go,  deleted my facebook, and now I would like to get away from gmail too!
    The only problem being I know nothing about hosting my own email.  I have an arch box that is on 24/7 running a diaspora pod.
    What email server would work best with this (If any)?
    Last edited by Si1v3r (2011-08-01 23:40:30)

    This was by far the best tutorial I found for setting up my own personal mail server:
    http://workaround.org/ispmail/squeeze
    I couldn't recommend it enough. There are a few quirks in places with the version differences but some reading around will sort you out.
    It's written in a very Archlinux style and explains the concept fantastically.
    Last edited by jack.mitchell (2011-08-12 21:23:40)

  • How to set up my mail server

    I have a Mac Mini with Mac OS X Lion Server 10.7.2 at home.  I'm trying to move away from a Windows SBS 2003 with MS Mail Exchange 2003.  Because I learned this stuff by setting up the Windows Server, I am trying to follow a similar approach with the Mac Server. (I understand I may have to re-train may brain.)  I set up the Mac Mini with a local domain. My setup is primarily for family use, so I did not see a need for registering a public domain.  (I've had the Windows setup running since 2003 and all has been fine with that setup.)  We have several desktops, and laptops around the house, so I want for everyone to be able to log in to any desktop/laptop they find and still be able to read/send e-mails under their own mail account and keep the mail folder structure they have created.  I'm trying for Mac Mail Server to receive all e-mail for all users (mail is provided by our ISP - Verizon.net; some users have more than one e-mail address), for clients to pull mail from the Mac Mail Server (via Mac Mail, or MS Outlook), the clients would send mail ) via the configured SMTP locally, and all the mail forlders to synchronize back to the Mac Mail Server for when the user logs in from another machine.  Is that possible?  If so, how?  I recall that in Windows SBS 2003 I configured a POP Connector that receives all the mail for all the users and I designated a domain user to send the mail to.  MS Exchange would take care of sychronizing the mail folders between the client connection and the mail server.  I bought the Mac Mini, a Time Capsule and an iMac to start my transition, but I'm not sure I'll be able to duplicate what I had with MS Exchange.

    Sorry, I know it is more a microsoft problem, but it happened when I tried to set up my icloud mail on my pc.

  • Mail Server "Type" and Mail Server "Address" for Incoming & Outgoing Mail

    First, the only browser I use is Mozilla's Firefox, the best browser hands down. Second, I have both a Yahoo email account and a Google "gmail" account that I use regularly (daily). I am trying to set up a mail washing program to rid myself of these ridiculous spammers & scammers, however I need to the the Incoming & Outgoing mail server "type" & "address" to do this and I seem to have guessed the yahoo settings, but I can't seem to get the Google gmail account set up properly. Yahoo settings that worked are: Server Type="POP3" and Server Address="pop.mail.yahoo.com", with advanced settings: Secure Authentication=Required, Secure Connection (SSL)=Required, Store Cached Emails=Yes, Server Port Number=995 (set), Pipelining=Enabled. The equivalent settings for the Google gmail account result in an error message = "Failed to log into POP3 Server". Of course user name & password triple checked, Type=POP3, Address=pop.mail.gmail.com, and , Address="pop.gmail.com" tried also, Port and other settings the same. Where can I find this info for both accounts? Tanks a million! -jw

    Yahoo and Gmail support should be able to help you.
    Not related to Firefox support, web mail doesn't use POP or SMTP protocols which is what email clients such as Thunderbird use for communicating with email servers.

  • Setting up a mail server

    Ok, i'm a novice when it comes to setting up and installing a mail server, but i really want to learn because our mail service ***** and i want to be able to control it. What i really want to do is just set up a dummy account on the leopard server and maybe my account just to test. How would i go abouts doing that? In layman's terms "dumb it down" for me and explain how to set it up

    See the "Mail Service Administration" Manual available here: http://www.apple.com/server/macosx/resources/

  • Setting up a mail server IMAP + SMTP with an external DNS

    Hi guys,
    I'm not sure if i will be 100% clear in this message because i've got a slight pain in the head because i've been trying to get a mail server running in Tiger Server the entire evening.
    So here's my problem: The server i'm administrating needs to gain a mail server. For the first time in my life i have to set one up and i'm not to happy about it. I've tried to follow everything in the manual but it isn't working at all.
    This is my server situation: Domain registered by a friend points to DNS server of my ISP which creates all the Entries which all point to my server in the datacenter. On that server i need to get an IMAP + SMTP server running.
    I've tried everything and I even got the IMAP part working at one time (people could send emails to a temp. account on the server) but after altering the setting so i could send email everything went wrong. No receiving or sending.
    Please help me out!
    Thanks in advance and please don't tell me to read the manual because i have and it isn't working.
    greetings Abram

    Thanks for you help!
    Here you go:
    Terminal:
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    html_directory = no
    inet_interfaces = all
    mail_owner = postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    messagesizelimit = 10485760
    mydestination = $myhostname,localhost.$mydomain,localhost,sleekmac.com,193.26.1.120
    mydomain = 193.26.1.120
    mydomain_fallback = localhost
    myhostname = 193.26.1.120
    mynetworks = 127.0.0.0/8,193.26.1.120,localhost,sleekmac.com
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpdclientrestrictions = hash:/etc/postfix/smtpdreject
    smtpdpw_server_securityoptions = none
    smtpdrecipientrestrictions = permitmynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = no
    smtpdtls_keyfile =
    smtpduse_pwserver = no
    unknownlocal_recipient_rejectcode = 550
    another question to keep in mind: the domain that it should be linked to at this moment (test) is another domain then the final domain i wish to use.
    The current domain is: sleekmac.com
    This domain has another setup then the final domain
    The final domain works like this:
    Bought by friend ---> points to ISPs datacenter --> points to server
    The current domain works like this
    Bought by me ---> dns is hosted by the party where i bought the domain ---> points to server
    These are my dns inputs concerning mail for the current domain:
    @ - A (Host Record) - 193.26.1.120
    mail - A (Host Record) - 193.26.1.120
    @ - MX (Mail Exchange Record) mail.sleekmac.com.[21]
    the [21] was an autoprefix by my host.
    Thanks for your help so far,
    Abram

  • Setting PRIMARY outgoing Mail Server

    i have nine emails from my primary domain, one from a secondary domain, a gmail account and a me.com account.
    i am having problems with email (cannot connect to domain name) and i am trying to verify that my outgoing server settings are correct. can someone help me here. it appears that i have to get into an /individual/ email account and at which point i have an option to select SMTP server?! this then pulls up the /first/ image which shows a primary server.
    How do i change this primary account?! Do i "simply" enter all new information for each and every email account and change the primary outgoing server for each and every email address?!
    How do i /set/ the primary server for an /individual/ account? Do i have to enter a new outgoing primary server for each and every email account/
    Do i have to enter a USER NAME that is the same as my email account name each time i enter an outgoing server?
    What is the purpose of the ON and OFF buttons for the "Other SMTP Server" accounts listed?
    Do i keep the GMAIL outgoing server ON? or "on" only for the GMAIL account?
    I am uber confused here and am hoping for some clarification...
    THANKS.

    Well, first, you only need one copy of each server. cwmx.com is AT&T's SMTP server, and will only work when you are on cellular data; it will not work over WiFi. So start by deleting all cwmx.com servers except the first. cwmx.com should not have a user ID or password.
    When you send mail the iPhone first tries to send using the primary SMTP server. If that fails or times out, it tries the secondary servers in the order listed. cwmx.com is a last resort server; most people don't need it at all; it is only needed if your ISP does not relay mail from outside of its network.
    For each mail server that you interact with the Primary SMTP server should be the one for that server. The Primary server should never be cwmx.com. So for the universaljointdesign.com account the primary server should be mail.universaljointdesign.com, and you should enter your user ID and password. The secondary should be cwmx.com, and you should turn off all of the other SMTP servers for that account. Further, if mail.universaljointdesign.com does not require that you be within the site firewall when sending you don't even need cwmx.com enabled.
    For the gmail account the SMTP server should be smtp.gmail.com, and that's the only one that needs to be on. You will need to enter your full gmail address as ID and your gmail password. If you have 2 factor authentication enabled for gmail you will have to generate a single use password.

  • Please help with mail server choice and setup

    Hello dear arch users, for begining i`ll start with litle intro what i know, and what i dont understand, so it would be easyer to help solve my problem, thanks for reading this.
    I've been using arch for some time (few months) but i still dont know very much about it..
    I have successfully installed lighttpd+php (fcgi)+mysql+phpmyadmin, ssh and mc allso of cource, serveral times, so i know how to solve little problems
    I need everything lightweight because my arch's box is not so fresh as i could want
    p2 350mhz CPU
    192mb of RAM
    8Gb HDD
    10Mbit internet connection
    whole project is for personal use only, and it will not even reach 10 user limit (me and some friends are using this..)
    Now i`m willing to install mail server with some webmail ( i dont like outlook express thunderbird and other clients, only web acces)
    I have googled for tutorials for 2 days now, just looking for best thing for newbie like me, with little knowlage of linux.
    SquirrelMail or RoundCube wich one is bether ? I like RoundCube because it has nicer web design, but is it bether that SquirrelMail ?
    Postfix and Dovecot are they enough good, or is there anything bether ?
    Spamassasin and Graylistening will this work, or i`ll need something stronger?
    Did i miss anything ?
    I just want to say thanks for reading this, and helping me out. Thanks!
    ps will this be good enough tutorial to follow ? http://www.hypexr.org/linux_mail_server.php
    Karlis.
    Last edited by karlis (2010-01-10 13:49:14)

    Hi, thanks for response
    SSL certificate is generated ... ok so it wont be so hard to help here are my configs
    main.cf
    # Paths
    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    daemon_directory = /usr/lib/postfix
    mail_owner = postfix
    # Domain settings
    myhostname = <mydomain>
    myorigin = <mydomain>
    mydestination = $myhostname, localhost.$mydomain, localhost
    # SMTP settings
    smtpd_tls_cert_file=/etc/ssl/certs/mail.crt
    smtpd_tls_key_file=/etc/ssl/private/mail.key
    smtpd_use_tls=yes
    smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache
    smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_scache
    smtpd_tls_loglevel = 1
    smtpd_sasl_auth_enable = yes
    smtp_sasl_auth_enable = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,
    permit_mynetworks,
    reject_unauth_destination,
    check_policy_service inet:127.0.0.1:10030
    smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks
    smtpd_sasl_security_options = noanonymous
    # SASL
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = /var/run/dovecot/auth-client
    # Email and mailbox settings
    alias_maps = hash:/etc/postfix/aliases
    alias_database = $alias_maps
    home_mailbox = Maildir/
    virtual_alias_domains = <mydomain>
    virtual_alias_maps = hash:/etc/postfix/virtual
    mailbox_size_limit = 0
    dovecot.conf
    protocols = imap imaps
    disable_plaintext_auth = yes
    log_timestamp = "%b %d %H:%M:%S "
    ssl = yes
    ssl_cert_file = /etc/ssl/certs/mail.crt
    ssl_key_file = /etc/ssl/private/mail.key
    mail_access_groups = mail
    mechanisms = plain login
    socket listen {
    client {
    path = /var/run/dovecot/auth-client
    mode = 0660
    user = postfix
    group = postfix
    here are some of my config uncommented part, if its nececery i can zip and upload bouth configs to be 100% clear wheres the problem..
    Karlis
    Last edited by karlis (2010-01-13 18:02:23)

Maybe you are looking for