Send a mail message at startup?

Is there a way to send a mail message when startup (or ANY user login) occurs? I'm thinking as a traceable security measure for a PowerBook.
... Al

As you can tell, I've never done this...
It's not your fault. I keep telling myself I have to be clearer, but I just ratlle on sometimes...
AlsG4:~ user1$ mailq -bp
postqueue: fatal: Queue report unavailable - mail
system is down
Yes, now everything is under the control of launchd, and the mail system went down when it was unneeded. Enter
sudo launchctl start org.postfix.master
and then mailq, and see if there's anything in the mail queue.
and I don't understand the "cat the input back"?
Maybe too much to ask on this discussion board.
I'm sorry, that's me lapsing into geekspeak. In shell scripting, we sometimes shorten "concatenate" into "cat". What it means is that the symbol "<<" (or ">>" the other way) is used to redirect input into a program. I used the symbol "!" as a delimiter for the input, but you can use any symbol. Just pick something you're not likely to include in the text. So the line
mail -I -s "Test Message" [email protected] <<!
simply means "take everything that follows up to the next "!" as input for the mail program. You won't find that in the mail man page because it's a shell scripting technique.
I'm really sorry I get unclear. I was doing this stuff 25 years ago, and I just get excited when someone asks about it. It's so cool it's still around.

Similar Messages

  • I tried to send a mail message to too many addees. when the rejection came back "cannot send message using the server..." the window is too long to be able to see the choices at the bottom of it. how can i see the choices at the bottom of that window?

    I tried to send a mail message to too many addees. when the rejection came back "cannot send message using the server..." the window is too long to be able to see the choices at the bottom of it. how can I see the choices at the bottom of that window?

    I tried to send it through gmail and the acct is  a POP acct
    I'm not concerned about sending to the long address list. I just can't get the email and window that says "cannot send emai using the server..." to go away. The default must be "retry", because although I cannot see the choices at the bottom of the window if I hit return it trys again... and then of course comes back with the very long pop up window that I cannot see the bottom of so I can tell it to quit trying...

  • When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message. I use Exchange 2010 only local users.

    When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message.  I use Exchange 2010 only local users.

    I think there is not native rule for this, but you could try a transport rule which removes all attachments over a very small file size like 1KB.
    http://blogs.technet.com/b/exchange/archive/2009/05/11/3407435.aspx
    CRM Advisor

  • Using Safari to send HTML Mail message but Mail keeps dropping images?

    I'd like to use Safari to send html Mail messages, but when I click on File>Mail Contents... Mail opens a new window but my graphics are gone. (I'm creating the html pages using MS Word for the Mac.) I get a flash of the graphics for a second, and then they are replaced by a little blue lego. Any ideas? I've tried all kinds of mail preferences but nothing seems to help.

    Figured it out (at least one way): had to load the image to a server and then add the image as a link only (uncheck "save picture with document" box).

  • Failed to send the mail message error code: -49

    Hi,
    When sending mail outside the company (outside the domain), getting this error: Failed to send the mail message error code: -49
    When sending mail internally (within the domain) successfully submitted.
    I was looking for notes relating to the subject but could not find anything that helped me
    I would appreciate your help,
    Hilla

    Hi Gordon,
    The problem was solved, the customer changed his ip adress on the server and it's OK now!
    Thank you !!
    Hilla.

  • Is anyone else having a problem sending a mail message with PDF attached?

    Is anyone else having a problem sending a mail message with PDF attached? I receive the following message:
    Sending the message content to the server failed.
    Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent.
    Is there a fix for this?

    Anyone?  I was hoping my problem would just 'fix itself'...  but I still have some clients telling me they're not receiving any email from me.  I've since deleted that account on my computers and re-added it.  But still having the same issue. 

  • Airport extreme will only get or send e-mail messages, or allow Safari to function for about 5 minutes.  After that it doesn't respond even though the green light is on and diagnostics says there is nothing wrong. Have to unplug again to get a response.

    For the past 2 days Airport Extreme works for about 5 minutes and then will not receive or send e-mail messages, or let Safari work.  The only way I can send or receive is to unplug Airport Extreme for a few seconds, reconnect and then work frantically for 5 minutes before it does the same thing.  The green light stays on and the diagnostics tells me nothing is wrong even though no mail is moving.
    Any ideas?
    Thanks,
    Greg
    (I plugged my laptop directly into the modem in order to send this message.)

    For the past 2 days Airport Extreme works for about 5 minutes and then will not receive or send e-mail messages, or let Safari work.  The only way I can send or receive is to unplug Airport Extreme for a few seconds, reconnect and then work frantically for 5 minutes before it does the same thing.  The green light stays on and the diagnostics tells me nothing is wrong even though no mail is moving.
    Any ideas?
    Thanks,
    Greg
    (I plugged my laptop directly into the modem in order to send this message.)

  • There are people sending e-mail messages asking for itunes account actualization.

    There are people sending e-mail messages asking for itunes account actualization.
    they send an email asking for account actuaization in this address x-apple-msg-load://DF2DB820-144D-4311-8E1A-098D8ADC9780/www.timingcivilworks.com /appel.php then you are redirectec to this addres  http://www.jeanmarcfessard.com/Itunes/Confirm-Your-Account/Login-Apple.Service/Y our-Identity/sa/index.php where they ask for your complete information. be carefull

    Forward the email to [email protected] and Apple will take care of it.

  • When sending e-mail messages to a mail-enabled public folder that have been replicated from old Exchange Server 2000/2003/2007, Exchange Server 2010 environment mails are rejected with NDR.

    Hi, I would like to share with you issue that I’ve solved regarding mail-enabled PF that migrated from Exchange 2000/2003/2007 to 2010, I’ve searched & contacted my MVP leader – there’s no official KB regarding this issue right
    now, so I’m posting here in order to share this among others.
    Note: There’s article(s) that talked about PF replication from Exch2000/2003/2007 to 2010 – this is the same issue as well.
    Symptoms
    E-mail messages that been sent to mail-enabled public folder in Exchange Server 2010 environment rejected with the following NDR:
    “#< #5.2.0 smtp;554 5.2.0 STOREDRV.Deliver.Exception:ObjectNotFoundException; Failed to process message due to a permanent exception with message The Active Directory user wasn’t found. ObjectNotFoundException: The Active Directory
    user wasn’t found.> #SMTP#”
    Sometimes Exchange Server 2010 is documented as well Event ID 1020 on the Event Viewer with this information:
    “Log Name: Application
    Source: MSExchange Store Driver
    Event ID: 1020
    Level: Error
    Description:
    The store driver couldn’t deliver the public folder replication message "Hierarchy ([email protected])" because the following error occurred: The Active Directory user wasn't found.”
    Cause
    In an environment where Microsoft Exchange Server 2000 or Microsoft Exchange Server 2003 previously existed, and all those servers have been removed, there is a chance that an Administrative Group (First Administrative Group or another custom Administrative
    Group) remains with a Servers container, but no servers inside it.
    During replication, when the Exchange 2010 Store Driver sees the empty Servers container in Active Directory, it's expecting a System Attendant object inside the container and when it is not found the error occurs.
    Resolution
    To work around the issue, delete the empty Servers container. This can't be done through Exchange System Manager. Use the ADSI Edit tool to remove it using the following steps:
    Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows
    2003 Server, Microsoft Windows Server 2008, Microsoft Exchange 2010 Server or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes
    at your own risk.
    1.      
    Start the ADSI Edit MMC Snap-in. Click Start, then
    Run, and type adsiedit.msc, and then click OK.
    2.      
    Connect & Expand the Configuration Container [YourServer.DNSDomainName.com], and then expand
    CN=Configuration,DC=DNSDomainName,DC=com.
    3.      
    Expand CN=Services, and then CN=Microsoft Exchange, and then expand
    CN=YourOrganizationName.
    4.      
    You will see an empty Administrative Group. Expand the
    CN=YourAdministrativeGroupName.
    5.      
    Expand CN=Servers.
    6.      
    Verify there are no server objects listed under the
    CN=Servers container.
    7.      
    Right click on the empty CN=Servers container and choose
    Delete.
    8.      
    Verify the modification, and try to send again the E-mail to the mail-enabled public folder.
    Applies to
    Exchange Server 2010, Standard Edition
    Exchange Server 2010, Enterprise Edition
    Netanel Ben-Shushan, MCSA/E, MCTS, MCITP, Windows Expert-IT Pro MVP. IT Consultant & Trainer | Website (Hebrew): http://www.ben-shushan.net | IT Services: http://www.ben-shushan.net/services | Weblog (Hebrew): http://blogs.microsoft.co.il/blogs/netanelb
    | E-mail: [email protected]

    Sounds like you are looking in the wrong Administrative Group container which is why you are seeing your Exchange 2010 servers in there.
    When you install Exchange 2003 only you will see a container named by default as "CN=First Administrative Group" container. But this could be named anything if you changed the Organization Name on the installation when you installed the first
    Exchange 2003 server into the domain/forest. 
    You will notice that when you install Exchange 2010 part of the AD setup is to create a new configuration container and is named by default "CN=First Administrative Group (FYDIBOHF23SPDLT)".
    So it sounds like you are not looking in the right location within ADSIEdit. 
    You may find the following article also helpful for this issue which is the same resolution:
    http://blogs.technet.com/b/sbs/archive/2012/05/17/empty-cn-servers-container-causing-issues-with-public-folders-on-small-business-server-2011.aspx
    I recommend though that you ensure your Exchange 2003 servers are fully uninstalled or no longer present in your environment before you go deleting the Servers container though.. The following Microsoft article will help with this:
    http://technet.microsoft.com/en-gb/library/gg576862(v=exchg.141).aspx

  • I can no longer receive e-mail messages through my @mac/@me account. I can still send e-mail messages, though. I believe there may have been recent attempts to hack into my account. I have changed my password, but wonder how to start receiving mail again?

    I can no longer receive e-mail messages through my @mac/@me account, though I still seem to be able to send messages. I believe there may have been recent attempts to hack into my Mail account (my LinkedIn and Facebook accounts were both hacked three days ago and a scam/phishing message sent to my contacts, and I know there was at least an attempt made to hack into one of my e-mail accounts). I have already changed my Apple password, but how do I start receiving mail again?
    (And I should also say that I'm a little surprised there was no alert from Apple of suspicious activity on my account, if such was the case. Instead, when I logged into my account via Mobile Me three days ago I noticed that all messages in my inbox were gone as well as all of my contacts. I assume this was related to the current problem.)
    Thanks for all responses.

    The problem has been solved with the help of a MobileMe online counsellor. My MobileMe account had in fact been hacked into and the fraudster had been redirecting my e-mail messages to a phony account that he controlled. We took the forward off and reset all my passwords and security questions, which solved the immediate problem.
    Thx.

  • How do you show sender in Mail message list

    Hi I've recently migrated to Lion and am finding the new layout of Mail frustrating as it shows my mail by the recipient rather than the sender.  As the recipient is ususally me, I have what appears to be a inbox of emails to myself but I have to open each email (or preview it) to reveal who actually sent it to me.
    Is there a way to have the sender (From field) showing in the list rather than the To field?
    I need to have them sorted by Date so that the most recent messages are at the top.  But when I choose View > Message Attributes the option to select "From" is already ticked but it is also greyed out. 
    I have temporarily fixed this by using the classic view but I would really like to know how to do this in the new view?

    > Is there a way to have the sender (From field) showing in the list rather than the To field?
    The default view for Inbox (and all other folders except for Sent) includes the sender on the first line in bold. It should look like the picture below. Microsoft Outlook is the sender of this message.
    If your Inbox shows the recipient on the first line, something is very wrong. I don't know any setting that would cause that to happen. Just for fun, with Inbox selected, check Mailbox > Use this Mailbox For.
    What do you see in the Inbox?  What email service?

  • Can not send e-mail messages at times.

    Most of the time I am able to send e-mail but sometimes I get a message that says cannot send message using the server smtp.charter.net I do not need a password for this server and when I run diag I get green connection for both the pop server as well as smpt server. However the message will not send. Any ideas other then deleteing the message, because everything work fine after deleteing it.

    Yes, I got a green light for the server not sure if its port 25 though did not look. I deleted the message so I have to wait for it to happen again. This is an iMac 24 inch so it does not move around. I have it connected to the wireless home network and all other wireless routers are also encripted so it sould not switch routers.
    I was thinking that there might have been a bad char in the message that caused the trouble. Other thoughts, is that its a group message that hangs the server from time to time. Any ther ideas please let me know. Thanks.

  • Send Outgoing Mail Messages not working

    I'm having trouble with a workflow that creates a new mail message, gets specified iCal items, creates a summary text file, attaches to mail message and then sends mail message. Everything is working except the mail message does not get sent. There are no logged error messages. I've experimented with changing up the order of the actions and noticed that when I place "Send Outgoing Messages" directly after "New Mail Message", the message gets sent without a problem. However in order for my workflow to make sense I need to have many intermediary steps before I trigger the send messages action.
    Any clues on this problem. Thanks in advance.
      Mac OS X (10.4.7)  

    Cascanuit-
    I'm relatively new to Automator as well and by no means a programmer. It does seem that the iCal actions available are pretty meager. I did a search at www.automatorworld.com and there are a few additional actions but none that call out specific menu items.
    Another way to approach your desired workflow is to create an applescript that selects Export... from the File Menu. I know very little beyond the basics of applescript but I did cobble together the following:
    tell application "iCal" to activate
    tell application "System Events"
    tell application process "iCal"
    set frontmost to true
    click menu item "Export…" of menu 1 of menu bar item "File" of menu bar 1
    delay 4
    tell application "System Events"
    keystroke return
    end tell
    end tell
    end tell
    Here's the weird part. This script works, but only sporadically. Sometimes it stalls at the selection of the Export button in the dialog box. I have no idea why it sometimes works and other times fails.
    If someone could refine this script to make it bullet proof than you can simply incorporate it as an automator workflow and then save the created export file to another volume or anywhere you like.
    Hope this helps some.

  • Task Outputs Send e-mail message

    Hi all,
    When I run a task from scom operations console, a new window opens and I can see the result and task output as usual.
    Is it possible to send that task output via e-mail message to corresponding department'e e-mail address.
    Regards.

    Hi,
    In addition, for more information and usage about the commands Get-Task and Get-TaskResult, please also refer to:
    Get-Task
    http://technet.microsoft.com/en-us/library/gg132265.aspx
    Get-TaskResult
    http://technet.microsoft.com/en-us/library/gg132216.aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Applescript to send open mail message

    I've never been able to write a successful Applescript, and I'm hoping someone can solve a simple problem for me.
    I want an Applescript that will send an open message from Mail. Seems simple, but I can't figure it out.
    I have a Filemaker Pro (6) script that creates a message in Mail, but then the message just sits there, waiting for me to click send. I want an applescript that can be called by the FileMaker Pro script to send the message.
    Can anyone help?
    Thanks.
    -Robin
    iBook G4   Mac OS X (10.4.8)   Airport

    I've given up on this for now.

Maybe you are looking for