Tag Info

Hot answers tagged

49

You can remove the message indicator by removing the indicator-messages package by clicking on that link and clicking uninstall. Or by executing the following command in a terminal: sudo apt-get remove indicator-messages Then log out and back in.


27

From the mail manual of php: Requirements For the mail functions to be available, PHP requires an installed and working email system. The program to be used is defined by the configuration settings in the php.ini file. This means you have to install some sort of mailserver and configure php to use it. Usually this mailserver is postfix ...


19

If you want to delete all the messages, you can simply truncate the mailbox file for a user with the following command: > /var/mail/username (the greater than sign is not a prompt: you are in effect redirecting the output of nothing to the file, which will truncate it).


17

PHP requires an SMTP client to send mail. You could install a full-featured mail transfer agent (MTA) like Postfix to serve this function, but it's overkill if you only need to send mail through PHP. Instead, install msmtp. It's lightweight and much simpler to configure. Install msmtp sudo apt-get install msmtp ca-certificates Configure it Create a ...


16

If this is a server I would strongly suggest you alias root to a real email address so you get your email delivered to your administrators It is as easy as adding # Person who should get root's mail root: all_administrators@mydomain.com to the end of /etc/aliases Alternatively you can configure mail to be aliased to your local username and then when ...


13

It would appear that you have configured smtp.gmail.com as your smarthost for the mail server. You need to remove the smarthost configuration or edit it so that your server is at all capable of sending mail to the outside world. The configuration you have now for the mail forward appears to be working, but is failing because smtp.gmail.com is rejecting the ...


12

As already noted, postfix would be an overkill if you just need to send emails from php while developing applications on your home computer. I personally use very simple and lightweight package ssmtp. It will use any smtp server to send outbound emails. Install it by running: sudo apt-get install ssmtp Then edit /etc/ssmtp/ssmtp.conf file, comment out ...


11

In Ubuntu 10.04, with Thunderbird 3, the option is accomplished by: Select Edit,   Account Settings Choose Account Actions,   Add other account Select Unix Spool (Movemail). The UI to access this menu is slightly different in Thunderbird 2, but I didn't have it handy. In Thunderbird 2, do the following, adapted from the Gmail FAQ: Click the ...


10

I use mutt (sudo apt-get install mutt) to read it from the command line on my local machine. You can also forward the mail onto a "real" email address. I have three servers that all do their system error reporting to the root mailbox. I forward these all to my GMail account by editing /etc/aliases and adding: webuser: root root: oli@my-email-domain.com ...


9

You can easily configure Evolution to Work with Yahoo! Mail IMAP service. Go to; Edit > Preferences in the Evolution menu, in the Evolution Preferences dialogue, click the Mail Accounts button on the left, click the add button on the right, click the forward button on the Evolution Account Assistant dialogue, Enter your name and E-mail address, click the ...


9

Go to menu: Edit, Account Settings... Select account name on the left Either make any changes here (on the right) or Remove Account from the drop-down menu opened by clicking the Account Actions button at the bottom left


8

I am personaly using a mailer agent called nullmailer. It acts as a mail proxy, and transfers all mails sent to root to a mail address of your choice. You need to set its settings in conf files under /etc/nullmailer. Basically : give it your mail porvider address and credentials, and the adress you want to receive the root emails on. You can install it ...


8

The traditional unix /usr/bin/mail only supports mailbox format. It's older than maildir, after all. Under Ubuntu, /usr/bin/mail has two alternatives: heirloom-mailx and bsd-mailx . Each of the two have extensions to the historical utility, but the Heirloom version more so. In particular, Only the Heirloom version has maildir support (and IMAP, and decent ...


8

Remove the package indicator-messages from within the Ubuntu Software Center. Then reboot, gone!


6

Most clients have settings that allow the user to modify this behavior. For example, in Thunderbird you can change these settings (under Edit | Preferences, then choose Advanced, and then the Reading and Display tab). If "Automatically mark messages as read" is checked, you can uncheck it and the automatic marking won't happen, which sounds like what you ...


6

No. As default postfix is not configure as an open relay, it will only accept local mail. And you don't want to configure it as an Open Relay. In a couple of days some spammer is going to find it and start using it. As a result: Your computer is going to be bogged down sending thousands of emails. Your server is going to be blocked by most other mail ...


6

Just postfix is needed. For setup, just use the defaults. Internet site. When you get to it, there's a section for setting which computers are allowed to relay mail through the server. The default is 127.0.0.1 (worded slightly more verbosely) and this is good. This means even if another computer can connect to postfix, postfix wont allow it to send mail ...


6

You just have to make sure that your task does not produce any output. If it is a single command add ">/dev/null 2>&1" (without the quotes) to your command.


5

Try Pidgin with the webMail Notifier plugin, If Pidgin is too much for just mail notification, then try if mail-notification available in the repositories will work, for mail-notification to work with some Yahoo e-mail accounts you may have to pay for the Yahoo pop3 service. If you do not yet have a Yahoo account or would like to create another one here is ...


5

In order to use lp, lpstat and cancel, you need to install and configure a printer. In the process of installing the printer, you're going to install cups-client, which contains these utilities. The mail program is in mailutils To install both of these, type sudo apt-get install cups-client sudo apt-get install mailutils Afterwards, you may want to ...


5

You can send an email with one command like this: mail -s 'Subject' you@example.com < log.txt mail expects a stream of input, if there is none, it gets standard input (i.e. it let's you type something). The < operator (unix file-stream) tells mail to read the contents of the file, rather than /dev/stdin (which is just a file as well). Adding an ...


5

This instruction will not remove the sound icon on Ubuntu 12.04 (Precise) The program can be uninstalled from your system by opening the program "terminal", and typing in sudo apt-get remove indicator-messages -y It will ask you for your password, and then it will remove the program from your system.


5

Maybe Claws Mail would would work for you? Sylpheed was forked from Claws a while ago but Claws is still around and has many plugins such as vCalendar. I also installed Claws to check it out and it's interface is very similar to Sylpheed and is also just as light (certainly much lighter than Tbird). It also auto-migrates your Sylpheed settings at install. ...


5

You need to enable TLS in Postfix's SMTP client, since Google requires it. This is indicated by them in the message "Must issue a STARTTLS command". In /etc/postfix/main.cf, you want something like this: smtp_tls_policy_maps = hash:/etc/postfix/tls_policy and then in /etc/postfix/tls_policy: [smtp.gmail.com]:587 encrypt The left hand side in ...


5

The default install does not include a mail-server. The supported mailserver for Ubuntu Server is postfix.


5

Resolved by the OP: As it turns out, Ubuntu Online Tour was set as default application for web links. To change this open the dash and search for "Details". Under default applications/Web select your default browser.


4

mail points to one of the alternatives. ls -l /usr/bin/mail lrwxrwxrwx 1 root root 22 Jan 5 2011 /usr/bin/mail -> /etc/alternatives/mail ls -l /etc/alternatives/mail lrwxrwxrwx 1 root root 18 Jan 5 2011 /etc/alternatives/mail -> /usr/bin/bsd-mailx You were probably using another mail program in the past. Try to figure out which it was. After ...


4

Is it possible this if I don't have a domain name? The sort answer is Yes. You don't need a domain name to send email and my servers regularly send me emails (through postfix - you do need a MTA) about things from their hostname and my computer does the same. I'm constantly getting emails from root@bert (bert is my hostname). The "problem" is that the ...


4

The easiest one I've ever installed is postfix with dovecot. There is a dovecot-postfix package, but it also looks like the Ubuntu server team has packaged this as mail-stack-delivery : Description: mail server delivery agent stack provided by Ubuntu server team Ubuntu's mail stack provides fully operational delivery with safe defaults and additional ...



Only top voted, non community-wiki answers of a minimum length are eligible