Limiting an email user's send/receive abilities

We're running Mac OS X Server 10.4.7 on our mail server. Everything is running great.
What I want to know is if it's possible to set up a special email account (like [email protected]) that can access webmail to communicate with specific @myschool.com addresses (and no others), but cannot talk to the outside world. But I need to make sure all other email accounts continue to work like regular old email accounts that can talk to anyone.
For example, [email protected] can only send/receive messages to/from [email protected], the math teacher's email address. But [email protected] can send/receive messages to/from anyone. This would be very handy for us.

Doing so will cause issues. If you send out mail which to an outside server appears to be non existent, mail may be rejected and you may even be blacklisted.
You can remove the account from WGM and add a role account as an alias send to /dev/null. This will look to the outside world like an existing address, but simply be discarded on your system. You should however include a working address in your mailings for people to be able to respond.
Assuming you use local domains, edit /etc/postfix/aliases and add:
noreply: /dev/null
(you can change noreply with the sender used in your PHP apps, but I'd probably change the PHP apps to use noreply as this signals to people receiving your mails that this address is unattended).
When done, issue:
sudo postalias /etc/postfix/aliases
sudo newaliases
sudo postfix reload
HTH,
Alex

Similar Messages

  • Muti-User TCP Send/Receive Sample

    Does anyone have a link to a video tut for showing how to do a Multi-User TCP Send/Receive Sample? I know there is a drag and drop tool you can use but Im interested in making it by hand to better understand how to program it my self. At some point I want
    to use this information to make a simple game that sends and receives data packets between two machines for a simple "fighting" game.

    conceptually, simple network programming is pretty easy. here is a excerpt from a prior post that may help you getstarted
    ok, there are a few fundamentals to cover.
    1) a network communication consists of:
    a server program listening on one of the server's ports (in this context port and socket are synonymous).
    a network path from client port to server port (I mention ports, because firewalls often filter on them, breaking the path).
    a client application sending data to a local socket
    a common  data format that both the client and server will use.
    2) the network acts as an intermediary to pass data between systems, but the data itself is system agnostic, so theres not really such a thing a java data. just data that was put in a format/encoding by whatever language.
    so your question has two parts:
    1) how to send to a server socket.
    2) how to format the data so that the server understands it.
    In terms of sending and receiving data, the system.net.sockets library is what you want, though Cor recommends using wcf. I've not worked with it, but here is a sample I worked up while exploring the http protocol:
    Module Module1
    Sub Main()
    Dim req As String = "GET / HTTP/1.1" & ControlChars.CrLf & ControlChars.CrLf
    Using sock As New Sockets.TcpClient()
    Try
    Console.WriteLine("Connecting...")
    sock.Connect("www.google.com", 80)
    If sock.Connected Then
    Console.WriteLine("Connected. Sending request...")
    Dim ns As Sockets.NetworkStream = sock.GetStream()
    Console.WriteLine(ReadResponse(ns))
    Dim sendBytes As Byte() = System.Text.ASCIIEncoding.ASCII.GetBytes(req)
    If ns.CanWrite Then
    ns.Write(sendBytes, 0, sendBytes.Length)
    Threading.Thread.Sleep(5000)
    Else
    Console.WriteLine("Stream not writable")
    End If
    Console.WriteLine(ReadResponse(ns))
    Else
    Console.WriteLine("Failed to connect")
    End If
    Catch ex As Exception
    Console.WriteLine(ex.Message & vbNewLine & ex.StackTrace)
    End Try
    sock.Close()
    Console.WriteLine("Press Enter to exit")
    Console.ReadLine()
    End Using
    End Sub
    Public Function ReadResponse(ByVal ns As Sockets.NetworkStream) As String
    Dim ret As String = "Response: "
    Dim resp As String = ""
    If ns.CanRead And ns.DataAvailable Then
    Using sr As New IO.StreamReader(ns)
    While sr.Peek <> -1
    resp &= vbNewLine & sr.ReadLine()
    End While
    End Using
    End If
    Return ret & resp
    End Function
    End Module
    it sends the data "GET / HTTP/1.1" to google, and reads the response. its just throwaway code, but should give you a good example.
    so, for a p2p IM application, I would have two sockets per client, one listening for incoming messages, and one sending to the remote box's listening port.
    once you have your sockets established its primarily reading and writing to the network stream that the connected sockets provide.
    Look it over and see if that doesn't help address some of your conceptual questions.
    Edit:
     as others have pointed out down the thread, this is far from perfect implementation, so if you are not in the us or on a slow connection, results may vary. seee below for details.

  • How can I set up an email user as "send-only" (no mailbox for receiving)?

    Can anyone tell me how I can set up an email account that can send emails but not receive emails.
    Our Web application has been using a generic email address "[email protected]" in all of our PHP Web applications as the sending email account. I have this user set up in WORKGROUP ADMIN as a proper account. However the account gets tons of SPAM emails and is constantly filling up.
    Also, all of the email accounts require SMTP authentication to send emails.
    Is there any way to identify an account as a send only account so we can generate emails from our Web applications that cannot be replied to?
    Thanks for the help
    -- Jon

    Doing so will cause issues. If you send out mail which to an outside server appears to be non existent, mail may be rejected and you may even be blacklisted.
    You can remove the account from WGM and add a role account as an alias send to /dev/null. This will look to the outside world like an existing address, but simply be discarded on your system. You should however include a working address in your mailings for people to be able to respond.
    Assuming you use local domains, edit /etc/postfix/aliases and add:
    noreply: /dev/null
    (you can change noreply with the sender used in your PHP apps, but I'd probably change the PHP apps to use noreply as this signals to people receiving your mails that this address is unattended).
    When done, issue:
    sudo postalias /etc/postfix/aliases
    sudo newaliases
    sudo postfix reload
    HTH,
    Alex

  • Outlook 2010 Problem selecting ISP for email default when sending receiving OK

    I am using Outlook 2010 for email with an ISP. Recently installed Outlook 2013 on a new laptop using the same broadband wireless router connection. The email file is showing as my ISP  but in the Data files window although my ISP file appears I
    cannot select it as the default it remains on the Data file with my ISP below it.
    When I send an email it goes straight to the sent box but is undelivered.
    I can receive email in the Inbox from other computers.
    In the Email account details only my ISP appears with below it a statement that new messages will be delivered to the ISP account ending .pst
    How can I make my ISP the default data file.
    On my laptop Outlook 2013 has the default as my ISP account ending .ost
    Help please

    Hi,
    Based on the description, you have a pst data file in Outlook 2010 and an ost data file in Outlook 2013, I think you are probably using an IMAP account?
    Please note, in Outlook 2010, IMAP data files can't be set as default, because IMAP doesn't support the special folders - calendar, contacts, tasks. Outlook needs a default data file to store these information.
    This has been changed in Outlook 2013, we can now set the IMAP data files as default.
    If you have further questions, feel free to post back.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Windows 10 upgrade caused Outlook 2013 email to stop sending, receives ok

    Excellent post - thank you. I was going crazy - 2 weeks and no email sending.

    Thanks aboo62, I wasted all afternoon until I found your answer. Perfect.aboo62 wrote:
    Hi all,  I was very confused this afternoon when I was trying to send emails and they would not work. I was ble to send one last night and it was Friday night when I upgraded to Windows 10 so I couldn't work out why I was able to send emails last night but not this morning. I checked all my email settings and test emails would work but not real ones (only send failed, receive was good) Anyhow I found this somewhere else on the web run command prompt as administrator and do this  SFC /scannow Microsoft Windows [Version 10.0.10240]
    (c) 2015 Microsoft Corporation. All rights reserved. C:\WINDOWS\system32>SFC /scannowBeginning system scan. This process will take some time. Beginning verification phase of system scan.
    Verification 100% complete. Windows Resource Protection found corrupt files and successfully repaired
    them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
    example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not
    supported in offline servicing scenarios. C:\WINDOWS\system32> takes a few minutes....probably depends on what is on your system though it fixed a corruption somewhere and when I opened email again, my messages flew off to my recipients (yay). thanks  Hope this helps anyone with same frustrating problem. Such a  waste of 2 hours trying to work it out.           

  • June 28 and 29 Email Outage and send/receive issues

    Starting about 4:00 PM EDT I started getting errors when I tried to get emails from the verizon server. The outgoing emails seem to be getting through and I can receive emails on my other account. The error message says:
    Server mail.verizon.net protocol POP3 Server Response -ERR [SYS/TMP] Service temporarily unavailable, Port 110, Secure (SSL): No, Server Error 0x800CCC90, Error Number 0x800CCC92.
    When the request times out there is an error message requesting username and password, but entering them does not help. The popup message to repair email goes into Verizon In-Home Agent which is less than useless because it reports that it cannot obtain an internet connection and asks about resetting the wireless router. That's when it works at all. Sometimes the application just hangs up and I have to close the window.
    If this IS a temporary interruption I wish there would be a web page where status could be seen and updated when service is restored.

    rastern wrote:
    Baltimore 8:43PM same crap here.    Second time in about 3 months.  Maybe switching to FIOS from Comcast was not too smart....
    Support chat is down when it should be up. Also probably being flooded with calls, so they pull the plug. The tech support line says issues with vzw.com. I think it is a little more wide spread than vzw! All Email outgoing looks to be down. Who knows what else. Inbound it connects, but that does not mean it is working. I guess it is a rare occurance. I can not say I ever remember it being down at completely. Perhaps Email taking three days to get through a few times should count sa being down.

  • Exchange 2010 max send receive size

    Hi All,
    Would someone be able to help me with a ps command to remove the message size restrictions from all user mailbox properties? We ran into a problem a while ago and opened a support call with MS regarding a user trying to send a 1.7GB file. Well exchange didn't
    like that so we let MS have their way with our environment and now all users have a user 10MB send/receive limit. This has been confirmed by going into the user properties > mail flow settings tab > message size restrictions. We have the global setting
    at 25MB along with the send/receive connector settings at 25MB but with the individual user limits at 10MB there is no point.
    I have run and tested the following PS cmdlet
    set-mailbox -Identity "user" -MaxSendSize 15mb -maxreceivesize 16mb
    to run against an individual user mailbox but we have close to 22000 mailboxes and this would take forever to do one at a time. Is there a cmdlet I could run to remove these restrictions altogether all at once?
    Thanks in advance

    Hi Martina,
    Thanks for the reply, being quite new to using Powershell I think I get the piped command but could you tell me what the -Resultsize unlimited part fetches?
    If you don't include the resultsize unlimited, it will only pull down the first 1000 mailboxes in your query.
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • Email restriction from sending 5 emails at a time to Unlimited

    Hi Geeks,
    How can I allow an email user to send Unlimited email instead of
    5 emails at a time??
    we are using exchange 2010.
    Regards,
    Jagjeet

    Hi,
    Do you mean you don't want to restrict the number of recipients per message for a specific user mailbox?
    If so, you can use the following command to set the value to unlimited.
    Set-Mailbox -Identity  -RecipientLimits unlimited
    Here is a related article which may help you for your reference.
    Restrict the Number of Recipients per Message
    http://technet.microsoft.com/en-gb/library/bb310760(v=exchg.141).aspx
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Slow email send/receive for user associated with beehiveonline

    It takes hours to send/receive an email to/from the user associated with my beehiveonline workspace. Also, the number of emails that we receive has decreased, it may be not related at all, but there is no way for me to check if that's just due to low customer activity or to timeouts.

    Hi,
    If you have issues then let us know the date/time of the issue and the degree of delay you are seeeing and we can check if there may be a reason for the delay.
    Phil

  • User can receive email but cannot send

    Hi,
    I'm migrating a domain in an organization to another new domain. Now, we are migrating the workstations to the new domain. Users are not migrated, they are completely new in the new domain.
    So, the problem is that we have a workstation in the new domain and the user from new domain logged on on this machine. The user has successfully configured is old exchange account in Outlook (Exchange server is still in the old domain) and can receive email,
    but cannot send. 
    Can someone help please to find what is wrong?

    Hi Silva,
    Thank you for your question.
    Is there NDR when you send email?
    Which way outlook connect Exchange 2013?
    Where is email which was sent? “sent item” or “Draft”?
    Which user mailbox use when you configure profile? New domain user or old domain user?
    We could create a trust between new domain and old domain:
    https://technet.microsoft.com/en-us/library/cc779840(WS.10).aspx
    We could ping old domain successfully on the new domain.
    If we have created mailbox for new domain user on old exchange, we could refer to the following link:
    https://technet.microsoft.com/en-us/library/aa998031(v=exchg.150).aspx?f=255&mspperror=-2147217396
    In addition, we suggest we migrate user and Exchange to new domain as soon as possible.
    If there are any questions regarding this issue, please be free to let me know.
    Best Regard,
    Jim

  • User can send but not receive emails

    Hello!
    So I've just set up a band new server from scratch and am having trouble getting the email service to work 100%.
    My dns is all correct, forward and reverse. The output of a changeip -checkhostname command is perfect. My domain name and its public ip address both point to each other fine and my A, MX and CNAME records have all been set at the domain vendor to point to my particular server.
    I've made one user in WGM and that user can send emails no problem. But when I try to send an email back (or reply to the original message), this is the error I receive in the bounce message:
    <[email protected]>: Host or domain name not found. Name service error
    for name=server.jinniferules.com type=A: Host not found
    Reporting-MTA: dns; server.example.com
    X-Postfix-Queue-ID: 75E7A223CE8
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Wed, 12 Jan 2011 11:15:20 -0700 (MST)
    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.4.4
    Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
    for name=server.jinniferules.com type=A: Host not found
    Any thoughts on this?
    Thanks!
    Message was edited by: jinniferb

    Solved my own problem: what was needed was to add a "server" entry to the A-records list that pointed to the IP.
    Sheesh! Haha.

  • HT1349 I can't send email but I can receive it   It says username or password incorrect.  But user name and pw haven't changed.  How do I correct?

    I can receive email but not send.  Message says user name or password wrong.  But neither has changed and iPhone works fine.  Just not iPad.  How do I correct?

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
     Cheers, Tom

  • Prevent users from sending emails to wrong users

    Hi
    I was looking for a possible way of stopping users from sending emails to the wrong person.
    Wonder if this can be achived by group policy or creating rules and alert.
    What im actually looking for is when the user is about to send out the email they get a pop up message saying you about to send email to such person would you like to send now?
    hoping there is some sort of a solution for these problem :)
    cheers  

    Yes, some more details please.
    The closest thing I can think of is (in Exchange 2010 - no available in 2003 or 2007) is Mailtips:
    http://technet.microsoft.com/en-us/library/dd297974.aspx
    But I'm not sure that's quite what you're looking for.
    And how could any software know if the person is the right person?
    It would have to read the person's mind and realize they are about to make a mistake by sending the message to X instead of Y.
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.
    Hi Le Pivert,
    I can understand your opinion an outlook will have to be that smart to realize that the email is about to be sent to a wrong person.
    What i was look for is something like a pop up notification when click on send it has a pop up message saying you are about to send this email click yes or no to cancel.
    Something like when receiving emails outlook sends the notification.
    I guess the above cant be achive through the outlook may have to be a third party software it there is any.
    Cheers
    KB
    I would look at these offerings if you are looking at Outlook Add-ins
    http://www.slipstick.com/addins/auto-process/special-function-automatic-message-processing-tools/
    If you thinking about server side solutions, Exchange has mailtips, hub transport rules, moderated groups etc... And of course 3rd party stuff is out there as well.

  • Thunderbird config to send/receive email

    I tried configuring Thunderbird to send/receive email from my new verizon fios account.  Simple Pop3 - how hard can it be?  Well, using the settings provided, I am unable to send or receive email.  I called and talked to tech support and they said they don't support Thunderbird, but I could talk to 'premium' support since they have no support boundaries.  Well, I don't think I should have to pay to get my email setup to a POP3 client. 
    Here's my current config:
    Mozilla Thunderbird 2.0.0.23
    Account:
    Server Type: POP Mail Server
    Server Name: incoming.yahoo.verizon.net
    Port 110
    User Name: myname
    Security Settings: Use Secure Connection: never
    Use secure authentication - not checked
    SMTP Server
    Server Name: outgoing.yahoo.verizon.net
    Port: 25
    User secure connection: no
    When trying to send an email I get:
    Sending of message failed.  The message could not be sent because connecting to SMTP server outgoing.yahoo.verizon.net failed.  The server may be unavailable or is refusing SMTP connections.  Please verify...
    When I try to get mail I get:
    Sending of password did not succeed.  Mail server incoming.yahoo.verizon.net responded:  Error logging in.  Please visit http://mail.yahoo.com
    Any help would be appreciated.

    winsomesmile wrote:
    That was the one thing the tech told me on the phone - to use verizon.yahoo.net for incoming and outgoing instead of verizon.net
    Other than that, I'm not sure where else to check that that is correct.
    If the agent told you to use the Yahoo servers, they were probably right. If you want to verify, you can log into your account at www.verizon.net and it should say that you have a Verizon with Yahoo account.
    As for the settings:
    1. Make sure the username and password that you have are the correct ones. Logging in to verizon.net will verify this.
    2. Check your incoming server settings. They should look something like the following image. (Of course, where the example just says "username" your username should be filled in.)
    3. Check your outgoing server settings. They should look something like the following image. (Of course, where the example just says "username" your username should be filled in.)
    4. Make sure that the password you are entering is correct. I suggest typing it out in a notepad then using copy and paste to verify that it is correct, since it will appear as asterisks in Thunderbird. Once you have successfully sent and received a test message, you might consider checking the box for remembering your password, although this is less secure than typing it in every time.
    Hope this helps! If you have any other questions, just let us know.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Users can't send/receive, but are connected to Exchange Server

    Greetings,
    For some reason (happened this morning), none of my users (who are a mixture of Outlook 2010 PC and Outlook 2011 Mac) can send/receive email as quickly as usual (if at all).  Exchange server is 2010.
    Both clients are connected to the Exchange server successfully.  Sending an email usually takes (if it even goes at all) 10-20 minutes.  If I send an email from my Gmail account, again it take about 20 minutes to finally get to Outlook.
    Exchange server is not running any virus software.  On my Outlook client for instance (2010 PC), it's stuck on Updating Inbox indefinitely.
    No changes have been made to the LAN (and no other servers are having connection issues) or WAN.  I have run performance troubleshooting on the Exchange server, and all seems fine.  I have checked event viewer on both the Exchange server as well
    as the DC and DNS server (they are one and the same).  I've rebooted the DC, DNS and Exchange servers.
    Arrrrggggg!!  
    Thanks in advance for any advice.

    Hi,
    According to your description, both your Exchange accounts and Gmail account have the mail delay issue.
    Thus, I'd like to confirm the following information to narrow down the cause:
    1. Do your external users also come across the issue? Because this may be related to Network issue.
    2. Does the issue happens randomly or regularly?
    And I also recommend you use Performance Monitor to check the issue as Ed said.
    If you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

Maybe you are looking for

  • Is there a way to view frequency levels in Hz on Adobe Audition 3.0 during voice recordings?

    Is there a way to view frequency levels in Hz on Adobe Audition 3.0 during voice recordings so I can ensure the recordings are hitting the specific frequency range I desire?

  • Restrict issued quantity in process order

    Dears we are using process industry scenario, during confirmation COR6N backflush takes place and the material components are issued  mu customer wants that during confirmation change in material components quantities not to exceed 5% of the standard

  • Corrupt file on MBA, faulty SSD?

    Hi. I bought a retail MBA in january 2014. I have just one question. I downloaded a program recently, that installed succesfully. But when I tried to open the application, OSX told me that the downloaded file was corrupted. When I tried re-installing

  • What does image cannot be edited. The original is offline.

    I was trying to edit a photo in an album and got an error message in right panel: Image Cannot be Edited; Original is offline.  What does that mean?

  • Phone is stuck on "Dual Core" Screen.

    My phone is stuck on the "Dual Core" screen. It will not turn on or off. I've tried rebooting, had no luck. Was able to get to a FastBoot screen, but only tells me my phone is locked, then goes back to the "Dual Core" screen again. Help!