date
int64
1,220B
1,719B
question_description
stringlengths
28
29.9k
accepted_answer
stringlengths
12
26.4k
question_title
stringlengths
14
159
1,334,958,379,000
I just recently converted my mbox over to Maildir, and when I opened up mutt, I saw an 'O' flag on some messages. Looking this up, I find that it means the message is marked as "Old". However as soon as I read the message, the flag disappears. This seemed rather strange to me. What does it mean for a message to be ...
An old message is an unread message that is not new. A message is new if this is the first time the mail reader has noticed it in your mailbox. So if you start your mail reader and there are five new messages and you quit without reading any of them, the next time you start the reader there should be five old messag...
What does it mean for an email message to be "old"?
1,334,958,379,000
For #myhostname, I should uncomment and put my hostname, i.e. the name I gave my VPS, right? Or does it just go myhostname = mydomain.net, in other words don't edit the phrase 'myhostname' except to uncomment? And for #myhostname = virtual.domian.tld is that to put a subdomain? Should I add a listing for all includi...
The myhostname should be set to the FQDN of your mail server. For example, if your server's hostname is "mail" and your domain is "example.com", your FQDN is "mail.example.com". The directive would look like this: myhostname = mail.example.com On a Linux system, you can get your FQDN using the hostname command: hostn...
Which name should be used for myhostname in Postfix's main.cf?
1,334,958,379,000
I have about 1k+ mails in an inbox (old cronjob stdout). How do I delete them in bulk? I'm on Solaris 8 and I have only mail available, no pine or mutt or similar "UI"-based client. Inline help and man page only give d # to delete a specific mail. I've tried for example d 1 - 100 but no luck. And I don't feel like d...
While mail may not be able to, and you don't have pine or mutt you probably do have mailx. And mailx can d 5-10 or d *.
Delete a range of email messages using the 'mail' command
1,334,958,379,000
If I understand correctly, a spool is a temporary storage location. Traditionally, the mail is stored in a "mail spool", a mailbox in the /var/spool/mail directory, where users are expected to pick it up. Therefore, according to this view, once the mail has been read it should be deleted or moved elsewhere — most like...
With traditional unix mail clients, /var/spool/mail/$USER is the user's inbox. The emails remain there as long as the user decides not to archive the mail. Some mail clients insist on moving emails to a proprietary file, or offer the option to move emails to a different file after reading. Users can choose which mail ...
What is the purpose of mail spools?
1,334,958,379,000
I have several accounts set up in Thunderbird. If I reply to a message, I would like Thunderbird to always use the same e-mail address as the one the original mail was addressed to. However, it doesn't seem to work that way. If I move an e-mail from a folder of account A to a folder of account B, and I then hit Reply,...
If you reply to an email the "original" email address will only be used by Thunderbird if there is an identity that matches that email address for that account. If such an identity is not available the default identity for that account is taken, if you hit Reply. What you need to do is add extra identities to each of...
How to use the same email account when replying in Thunderbird independently of the folder?
1,334,958,379,000
When I have mutt opened, I don't see new emails until I press a key, for example arrow down. Then new emails appear. Is there a way for mutt do recognize that new email has arrived, and display the email automatically, without me having to press a key every few minutes? I am using maildir format (locally stored email...
I believe I found a solution to this on the Mutt wiki. How to make mutt check for new mail more often? What's the difference between $timeout and $mail_check? After every keyboard input mutt updates the status of all folders. To receive "New mail in ..." notifications even without needing to press a key, ...
mutt: automatically show new mesages
1,334,958,379,000
I'm trying to move my emails Maildir from an old CentOS server to a new Debian server. rsync -avz /home/me/Maildir ssh root@ipaddress:/var/vmail/me/Maildir I tried to copy a 8GB account, didn't work, try to move another about 20mb, didn't work, tried to use -avn, didn't work either. sync error: some files/attrs were ...
Error 23 is defined as a "partial transfer" and might be caused by filesystem incompatibilities, such as different character sets or access control lists. In this case, it could be caused by files in /home that begin with a . and are thus marked hidden. In this case you could try something like: rsync -avz --exclude='...
rsync error: some files/attrs were not transferred
1,334,958,379,000
How to setup the email client Mutt to send, receive and read email under CentOS and Ubuntu using a Gmail account as a relay
Gmail Setup For authentication, you'll have to do either of two things: Generate an application-specific password for your Google Account (your only option if you're using 2FA), Turn on less-secure app access (not an option with 2FA) In gmail, go click the gear icon, go to Settings, go to the tab Forwarding POP/IMAP...
How to install/setup mutt with Gmail on CentOS and Ubuntu?
1,334,958,379,000
I don't like waking up early but people prefer to be emailed in the morning rather than at 3AM. Therefore I often use at to send the email whilst I'm asleep. But that comes with the complication that I need to write the email as a text file and send it with sendmail. I leave those not yet sent emails in Mutt's postpo...
I've discovered this script msmtpqueue mentioned by whereistejas on irc.freenode.net/neomutt Change your smtp command to msmtp-enqueue.sh. Emails will be queued instead of being sent. You can send them later with msmtp-runqueue.sh. To schedule sending you can use at(1). All emails in a queue are sent when msmtp-runque...
How do I send postponed mail at a later time with Mutt?
1,334,958,379,000
I'd like to have mutt show an index of emails at the same time as the body of the selected email, horizontally next to each other. I understand that you can set mutt up to show the index of emails at the same time as the body of a message itself in a vertical split. For example, in muttrc: set pager_index_lines = 10...
No, mutt itself cannot do this and no patches currently exist for that, either.
Can mutt show the index and body of emails in a horizontal split?
1,334,958,379,000
I use alpine as my primary mail reader. While I spend most of my day in the terminal or Emacs, it would still be nice to get pretty notification of new mail using notify-bin. Is there any way I can configure alpine to run a custom command when new mail is received?
There is "NewMail FIFO Path" configuration option in alpine. Quoting the help: You may have Alpine create a FIFO special file (also called a named pipe) where it will send a one-line message each time a new message is received in the current folder, the INBOX, or any open Stayopen Folders. To protect agai...
How can I customize new mail notification in alpine?
1,334,958,379,000
Why does cron require MTA for logging? Is there any particular advantage to this? Why can't it create a log file like most other utilities?
Consider that the traditional "standard" way of logging data is syslog, where the metadata included in the messages are the "facility code" and the priority level. The facility code can be used to separate log streams from different services so that they can be split into different log files, etc. (even though the fac...
Why does cron require MTA for logging?
1,334,958,379,000
Is there any command in unix to check a pop3 account using terminal? I mean, type the server/username/password of a pop3 account and see if the username/password is correct?
You can use telnet to connect to the mail server and talk POP3 to check your credentials: $ telnet pop.gmx.net 110 Trying 212.227.17.185... Connected to pop.gmx.net. Escape character is '^]'. +OK POP server ready H migmx028 0MAbjW-1YwF4D0ml8-00BiVl USER [email protected] +OK password required for user "[email protecte...
Checking pop mail account using terminal
1,334,958,379,000
There are scripts that will send an e-mail when a server process is finished. However, I do not want to check my email every so often just to see whether a job has finished. Therefore I'd like to get an SMS message. My question is similar to this one, just exchange SMS with all occurrences of "e-mail": Is there a prog...
There are 3 ways to accomplish the sending of an SMS message from a server and/or application. Setup your own gateway If you google for "sms gateway" you'll find a large list of applications that you can setup which will provide this capability. You can also take an old cell phone and a PC and set them up using this...
Possible to get SMS/text message notification when process ends or is killed?
1,334,958,379,000
I am searching for a small new-email-notifier for IMAP mailboxes that displays it's status in the icon-bar (how do you call it?) of a window manager. Basically some biff/xbiff like tool ported to 21th century technology. ;) I am using awesomewm, which is able to display in its taskbar the 'applets' (?), which also wor...
I am now using Trysterobiff. It is a non-polling IMAP mail notifier for the systray. It implements the requirements, including the execution of external commands and does not crash. I've written it using Qt, thus Trysterobiff is quite portable. The non-polling operation is implemented using the IDLE extension of IMAP,...
IMAP mail notifier for window manager/task bar?
1,347,342,251,000
I have a system job that fails and sensd me mail that I can read with the mail command. That means I still need to login to the mail server to get the emails and read them. The server supports sending mail to external clients, such as gmail. How can I set mail to automatically forward my mail to my gmail? I am not the...
You can create a .forward file in your home directory, and the mail will be forwarded. cd echo "[email protected]" > .forward chmod 644 .forward # change permission else it won't work
How can I automatically forward system mail?
1,347,342,251,000
After spamassassin was restarted by the daily cronjob this morning it's flooding syslog with the following errors: Feb 9 09:24:26 mail spamd[8766]: spamd: got connection over /var/run/spamd.socket Feb 9 09:24:26 mail spamd[8766]: spamd: setuid to Debian-exim succeeded Feb 9 09:24:26 mail spamd[8766]: spamd: checkin...
It may be tad easier to go to the update directory (something like /var/lib/spamassassin/3.003002/updates_spamassassin_org) and comment out every lines containing T_SPF_PERMERROR or T_SPF_TEMPERROR, like: # header T_SPF_PERMERROR eval:check_for_spf_permerror() etc. instead of upgrading or cherry-picking upstr...
Spamassassin object method location problems after restart
1,347,342,251,000
After updating postfix to 3.0, emails with UTF-8 chars in there subjects, are stuck in queue, with the following error: SMTPUTF8 is required, but was not offered by host mail.example.com [1.2.3.4] The receiving server (here called mail.example.com) are a postfix 2.10.1, and doesn't support SMTPUTF8 How do I get po...
According to Postfix README: By default, Postfix sets the "SMTPUTF8 requested" flag only on address verification probes and on Postfix sendmail submissions that contain UTF-8 in the sender address, UTF-8 in a recipient address, or UTF-8 in a message header value. If you submit mail through sendmail command or ...
How to prevent bounce of SMTPUTF8 emails
1,347,342,251,000
I'm quitting GMail but attempting to avoid the headaches that come with administering my own Internet-facing IMAP server. I have access to a commercial IMAP account, and I'd like to continue to use that account. Basically the way I'd like it to work is that mail is downloaded to my server and deleted from my mailbox ...
Dovecot supports the IMAP SEARCH function, plus it's a pretty simple IMAP service to run. It can read a variety of mailbox formats, so as long as you use fetchmail to deliver into the appropriate format (or to procmail), it should work fine. As for webmail interfaces, there are so many, I wouldn't know where to start...
Roll-your-own GMail alternative
1,347,342,251,000
I know how to send an email from command line (script) echo "body" | mail -s "subject" [email protected] Is it possible to send attachments from commandline (script) as well? I am using heirloom-mailx on Debian Wheezy.
The simple way: to use uuencode (part of sharutils package). Any formatting or body text are unavailable. Just a email with attachement and custom subject. uuencode /path/to/file file_name.ext | mail -s subject [email protected] The complex way: to use sendmail and html formatting: v_mailpart="$(uuidgen)/$(hostname)"...
mail: send email with attachment from commandline [duplicate]
1,347,342,251,000
My server was infected to a malware. That malware sent lots of emails to random people with random content (promotional content). And now, my domain authority is getting pretty low and every email I send goes to spam. What I said is a guess (though I'm sure about that malware, but I'm not sure it has sent emails). Any...
Unless you've configured your mail transport agent ("MTA" - e.g. postfix, sendmail, exim, etc) to save a copy of every message sent by your system, you won't have a complete copy of the messages. MTAs do, however, log the event of every message being sent or received - minimum details logged usually include at least t...
How can I see all sent emails from my mail server?
1,347,342,251,000
I use this line for images in my mailcap: image/*; eog %s &; but mutt immediately deletes the temp file and eog can’t load it. When I remove the & mutt waits for eog to be closed until it escapes from the command line.
Here's what I use: .mailcap: application/*; mkdir -p /tmp/mutt \; cp %s /tmp/mutt \; xdg-open /tmp/mutt/$(basename %s) & .mutt/muttrc: folder-hook . `rm -f /tmp/mutt/*` Every time an attempt to open an attachment is made, it's copied in a dedicated temp directory and the copy is opened. Every time you start mutt, an...
How to tell mutt not to wait for an attachment program to return?
1,347,342,251,000
I would like to send an email when a file reach a certain size limit. The only way I thought of doing this is by doing a cronjob which will check the file size and send the email if the file is bigger than the desired size. However, it seems like a bad solution for me to add a cronjob which would check ,for example ev...
I can conceive of 2 approaches to do this. You can either use a while loop which would run a "stat" command at some set frequency, performing a check to see if the file's size has exceeded your desired size. If it has, then send an email. This method is OK but can be a bit inefficient since it's going to run the "stat...
Automatically detect when a file has reached a size limit
1,347,342,251,000
I'm trying to modify the You have new mail message that is shown below MOTD when you login via SSH. My goal is to make that message more visible (bright color would be great) so it gets my attention when I log in.
In Bash, custom messages can be set with MAILPATH. The man page has this example: MAILPATH='/var/mail/bfox?"You have mail":~/shell-mail?"$_ has mail!"' Trying it: $ export MAILPATH="$MAIL?\"Santa was here.\"" $ $ $ $ "Santa was here." Oh, uh, okay. Must have misread the man page there. bright color would be great ...
Can I customize the "You have new mail" message
1,347,342,251,000
I use mutt as my e-mail reader, and nbSMTP as my SMTP client. I check e-mail from a half dozen accounts and sort them into miscellaneous folders in my maildir. Some of the folders are account-specific, but some contain e-mails from multiple accounts in one folder A number of the accounts are through Gmail, which has t...
You could switch to esmtp, there it is pretty trivial: identity [email protected] hostname smtp.googlemail.com:25 username "[email protected]" password "secret" starttls enabled default identity [email protected] hostname smtp.googlemail.com:25 username "[email ...
Changing SMTP authentication in mutt based on From e-mail address
1,347,342,251,000
I would like to learn more about Linux. I briefly went through a few books and quite a few articles online, but the only way to learn something is to actually start using it. I would like to jump in the deep end and configure a Linux server. So far I have downloaded Ubuntu Server. I'm looking for goal or a challenge...
Here's a couple: run Linux as your primary operating system, on both your desktop and your laptop, if any install KVM and virt-manager and build a couple of virtual machines build a package for your distro of choice (a .deb or .rpm file); it helps in understanding a lot of things build your own kernel These might no...
A small challenge to familiarize myself with Linux [closed]
1,347,342,251,000
I use the following to send an email at the end of a script. echo "Script finished on `date`" | /usr/bin/Mail -s "Script complete" "[email protected]". However, I want to echo the same message onto the screen as well. How do I do that in the same statement?
The easiest way is probably to tee the message to stderr as well as stdout: echo "Script finished on date" | tee /dev/stderr \ | /usr/bin/Mail -s "Script complete" "[email protected]" tee duplicates its input to multiple destinations, including stdout. By default, both stderr and stdout go to the screen; you're r...
How to send output to both screen and mail?
1,347,342,251,000
While running Postfix on an Ubuntu, I have acquired a number of test email in an account usr1, and now I want to delete them before starting other testing. However, every time I try to delete using both d # and 'delete #`, nothing happens. Example: usr1@usr1:~$ mail "/var/mail/usr1": 5 messages 5 unread >U 1 u...
After much digging, I realized that the problem was that I always exited from mail using either exit or x. From the Ubuntu man page: exit (ex or x) Effects an immediate return to the shell without modifying the user's system mailbox, his mbox file, or his edit file in -f. So if you're t...
Can't delete system email
1,347,342,251,000
I received following error message in /var/mail/mail.err: Jun 14 00:03:42 max dovecot: IMAP(bernhard): Corrupted index cache file /home/bernhard/Mail/.indexes/.imap/INBOX/dovecot.index.cache: Broken virtual size for mail UID 5618 What is the preferred way to restore the index?
According to this thread titled: IMAP Dovecot Error - Corrupted index cache 10.6.4 it sounds like you just need to do the following: Scribit Re: IMAP Dovecot Error - Corrupted index cache 10.6.4 Nov 30, 2010 11:10 AM (in response to Scribit) I am not sure if this is the best procedure and there may be unintended cons...
Dovecot: Corrupted Mbox index cache file
1,347,342,251,000
I'm trying to send unix mail (heirloom-mailx) via bcc. $ mail -V 12.5 6/20/10 My MTA is exim, which sends via Gmail SMTP. I can execute the following: echo -e "body" | mail -s 'subject' -b [email protected],[email protected] [email protected] All addresses receive the email, however the bcc is not hidden. i.e. in th...
heirloom-mailx hardcodes the options to pass to /usr/sbin/sendmail, and unfortunately the ones it passes don't make Bcc: headers work right in exim. That isn't really fixable, without patching and recompiling it. (You need to have it add -t to the arguments, and then either not pass the list of email addresses or alte...
How can I bcc with mailx?
1,347,342,251,000
I used a copier/scanner to scan a document and email me the resulting image. It sent me several emails, each with a message/partial MIME attachment. mutt doesn't seem to understand these messages. What do I need to do to these to get my scanned image?
You need to use uudeview for this. First, save all of the emails into their own mbox folder. Next, run uudeview on that folder. When prompted, either press 'd' (for 'd'ecode) or just hit enter. That will create a text file containing the all of the encoded data for the file. Run uudeview on that file to get the im...
What to do with a message/partial MIME type?
1,347,342,251,000
I'm thinking about switching to mutt for email. However, I have a few requirements. I'd like to be able to store the email offline. I'd like to have email pushed immediately to my local computer as opposed to periodic polling (e.g. using IMAP IDLE). For offline storage, I could use imapoffline or isync. I understand...
Unfortunately, the two possibilities suggested in the other answer were imperfect. offlineimap was fairly buggy at the best of times. For example, there is no way to automatically run a script after new mail arrives. fetchmail doesn't synchronise bidirectionally. Instead, the solution that I ended up using was a combi...
How can I use mutt with local storage, IMAP and instant pushing of new email?
1,347,342,251,000
I use Mutt as my main client and use the alias command quite frequently. How to group mail addresses, or—even better—aliases into a list I can then use like an alias to send mail to?
Create a file with the following content: alias my_alias1 recipient1@email, recipient1@email alias my_alias2 recipient3@email, recipient4@email Source it from your mutt config with source path/to/alias_file. Aliases - Mutt Project Wiki
How to make an address list in mutt
1,347,342,251,000
I can set up local-only mail accounts using sendmail or postfix, and messages will be stored in /var/mail/USERNAME and readable in a terminal window using mutt. I tried setting up a couple of MUA GUIs to read from this mailbox, but they all expect SMTP or IMAP details. (Tried Evolution, Geary and Thunderbird.) Is ther...
Most MUAs available on Unix-style systems still support local mailboxes, but it's not necessarily obvious how to access them. In Evolution Create a new mail account. Set your email address as USERNAME@localhost. Disable "Look up mail server details based on entered email address". Under "Receiving email" set your serv...
Can I read /var/mail with a GUI?
1,347,342,251,000
I'm sure I once had a way to read email files from the commandline that was fall-off-a-log simple but I can't for the life of me find it again now. I have files in MailDir format, I wish to view their contents (headers, body (HTML/plain), MIME-decoded, extract attachments maybe). These aren't my emails; it's not that ...
The package maildir-utils (at least it's called so in Debian) contains a program called mu, that has a nice functionality to display the contents of a Maildir mail message. It displays only the headers, the text/plain part plus list of attachments. See man page. Example: mu view /path/to/email-file. If you have an ema...
How to view an email message file (located in a MailDir) from the command line?
1,347,342,251,000
I want a utility that does something like this: email --subject="xxx" --body=body.txt [email protected] (using pre-configured sender information for e.g. gmail). Note that body.txt is plain text and should be the body of the message, not an attachment. If the body is omitted it should pop up an editor and let me type...
The mail/mailx utilities do most of what you want. What it does not do, is open an editor on empty contents. The body of the email is read through stdin. Here is an example on usage: mail -s "xxx" [email protected] < body.txt
Sending a file as the body of an email
1,347,342,251,000
When I login to console, e.g tty1, I usually see a message No mail, I know there's some program checking email on login, but I don't use that, how can I disable that command ? I tried to grep from /etc/profile.* and ~/.bash*, but nothing found
This message can also be provided by the pam_mail module, so you can just grep pam_mail * in /etc/pam.d and disable it there.
Disable mail check on login?
1,347,342,251,000
Is it possible with Postfix to add a warning to all emails received over a cleartext (non-TLS) connection? For example modifying the subject and/or adding a custom header.
The way to go here is to first tell Postfix to add the TLS connection status into the Received header. In /etc/postfix/main.cf add smtpd_tls_received_header = yes This will add something like (using TLSv1.2 with cipher … (256/256bits)) to the postfix generated received header. This information can then be used to ad...
Add warning to emails received by Postfix without TLS
1,347,342,251,000
Basically, I have an email account I can access as POP3 or IMAP. I want to take all incoming emails, encrypt them, and then forward the encrypted version to my gmail account (so I can see the subject/notifications on my phone/gmail account; and possibly decrypt the message with a passphrase -- though this last step d...
I just saw the other response and guess I never wrote up the solution I actually implemented. It turns out that python imaplib is straightforward and I wrote a very quick script. Barring a few changes (e.g., anonymizing my various USERNAMEs, EMAILPASSWORD, WORKDOMAINNAME, MYGPGKEYID). I also don't just send encrypt...
Receive Pop/IMAP email and then forward as encrypted to gmail
1,347,342,251,000
$ mail No mail for lazer $ I am able to send mails using mail. I have unread mails in my inbox as I can see in Outlook. Why doesn't mail show me my mails? How can I make mail fetch them?
Traditionally, unix mail is delivered right to your machine (because if your email address is [email protected], surely you have a shell account on machine.example.com). It is usually delivered in a file called /var/mail/lazer or /var/spool/mail/lazer, though a mail delivery agent may put it somewhere else. This still...
How to set up local mail retrieval and delivery?
1,347,342,251,000
I have configured the Debian workstations at our department to use Exim 4 for mail delivery. Also I have created an alias such that I receive all the root emails. The Exim 4 configuration (via Ansible and debconf) has those settings: exim4_dc_eximconfig_configtype: internet exim4_dc_readhost: … exim4_dc_smarthost: … e...
I think you've hit this reported bug, exim4: bogus reject response on overlong lines. It actually refers to lines that are too long, not the message itself. Try piping your message through fmt -s before passing it to exim4.
Mail delivery notices are correctly delivered, actual mail isn't
1,347,342,251,000
I have a process that filters a list of files from a directory (having find check to see if there are files older than a certain period to show a queue is stuck). It may or may not return anything, and if it does, it is mailed to be by cron. What I would like to know is if there is a program or simple bash method to p...
sed inline answer: find ./files -mtime +90|sed '1s/^/Files stuck in queue:\n/'
How can I print a conditional header BEFORE stdout, if there is any output on stdout
1,347,342,251,000
I have a server that I have inherited that has an older version of Redhat installed due to software requirements and now there is a need to use UUENCODE to allow email attachments. The uuencode and uudecode files are not in /usr/bin. I tried copying them from another server but I receive an error: /lib64/tls/libc.s...
Have you tried using yum to access the the RHEL repositories and install the version of sharutils that matches your release? $ yum update $ yum install sharutils CentOS packages are generally one-to-one equivalents to RHEL packages with branding removed. You could try manually downloading a package from them. It look...
How do I get UUENCODE to work?
1,347,342,251,000
I have a bash script that I use with nagios that sends notifications by email. The key part of it looks like this: # $1 (FROM) | $2 (TO) | $3 (SUBJECT) | $4 (BODY) /usr/bin/printf "%b" "$4" | /bin/mail -s "$3" "$2" -- -f $1 I know I could use the sendmail command directly (like this) but it would mean reworking a few...
There are many different versions of mail (see Mail vs. mail what is the difference and the Heirloom project's write-up on the different versions of mail). If you want to keep your sanity, I recommend avoiding any tool whose name is too close to mail. Mutt is a lean text mode mail client which is often available, very...
Setting headers using the /bin/mail command
1,347,342,251,000
man git-format-patch makes reference of the UNIX mailbox format which is a term I am unfamiliar with. A google search for "UNIX mailbox format" and similar expressions lists many hits with the term mbox in it. There is even a man page (man mbox) for mbox. I am lead to conclude that mbox and the UNIX mailbox format are...
Can someone confirm (or deny) my assumption? Yes, Both are same. UNIX mbox format is used by AsyncOS when messages are archived (in anti-spam and anti-virus configuration) and logged (in the message filter log() action). mbox is traditional UNIX mailbox format. Users' INBOX mboxes are commonly stored in /var/spool/m...
What is the unix mailbox format?
1,347,342,251,000
I have installed Postfix on my CentOS machine. I can nicely send mails to local accounts with mutt, but when I try to send one to a remote mail like [email protected], I cannot understand why I can't receive anything. Here my main.cf: queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory ...
The first thing to do in case of SMTP problems where the configuration seems to be OK is that you can actually reach the SMTP server. Use: telnet gmail-smtp-in.l.google.com 25 you should see: Trying 173.194.69.27... Connected to gmail-smtp-in.l.google.com. Escape character is '^]'. 220 mx.google.com ESMTP lv5si914298...
Why I can't send mail to remote mailbox?
1,347,342,251,000
I am moving servers, both of them running Debian (oldstable and stable). Both are running Exim4. When I switch the DNS entries over to the new server, I'd like the old server to still forward incoming mail to my new server for processing, so that users do not see any outage. How can I do this?
Just replace all routers by one manualroute that points directly to the new MX: begin routers redir: driver = manualroute domains = * transport = remote_smtp route_list = * 12.34.56.78 Here 12.34.56.78 - is an IP-address of your new MX where all messages should go.
How to configure Exim to forward all incoming mail to new server?
1,347,342,251,000
When I press m to send a new email in Mutt, it first asks for the recipient ("To" header), and then for the Subject. After that, it opens the email in Vim so I can actually write my email. I've set edit_headers in my muttrc file so that I can just add recipients and such from Vim, so the contents of the new file is: F...
Setting autoedit=yes, composing will go directly to the message editor without prompting for recipient or subject. Note that you must also have edit_headers set. As @lcd047 mentions, this feature inhibits all the send hooks before calling the editor.
Can I stop mutt from asking for the recipient when pressing m to send a new email?
1,347,342,251,000
A CentOS 7 web server has postfix, dovecot, and mailx installed. I have been able to make an IMAP connection to the server in order to read inbox mail using a remote Thunderbird client, but I am not able to make an SMTP connection to send email from Thunderbird. When I do forensics, I discover that the attempted SMT...
After much troubleshooting, we determined that the ISP on the client side is blocking outgoing port 25 (SMTP). That was confirmed by using a random mail server test site on the Internet and finding that it could connect to the mail server fine. SMTP packets from the client machine did not arrive at all (confirmed via ...
postfix smtp connection timed out, why?
1,347,342,251,000
I have set up MSMTP with the following but if I send an e-mail from the CLI it either gets blocked, or ends up in my SPAM because it has no TO/FROM or anything up top. But e-mails from CRON are properly formatted. sudo apt-get update sudo apt-get install -y msmtp msmtp-mta # MSMTPRC Configuration cat << EOL >/etc/ms...
Unfortunately, msmtp does nothing to help you with the To: field that mail clients display. It only uses the addresses you provide to communicate with the mail server -- for whatever reason, it does nothing to include those addresses within the message body. This behavior is different from its handling of the From: ...
msmtp Empty TO and FROM Field - All mail ends up in Bulk Mail when sent from CLI or manually
1,347,342,251,000
I have problems configuring mutt e-mail client on Lubuntu 18.04. 64 bit. First I installed Mutt using command: sudo apt install mutt Everything was ok, but when I tried to add my e-mail account (Google or Yandex mail), I can't find muttrc configuration file? I tried to locate it: su- updatedb locate muttrc This is ...
.muttrc The Mutt configuration file is ~/.muttrc, i.e. the file called .muttrc in your home directory. It's up to you to create it and configure it. Mutt won't create it for you. With no configuration file, you just get the mail on your local machine (if you have local mail set up, which is not the case on Ubuntu by d...
Muttrc file for Gmail and Yandex
1,347,342,251,000
I would like to create a following scenario on my Ubuntu 14.04 server: set up mail server (or is it called 'Mail Transfer Agent'?) which should take care of receiving mails only. No need to set up sending mails from that server. perform basic filtering of incoming mails (check if mail has a proper attachment - exactl...
You indicate you want to run this on your server. If that machine is not on a permanent IP address, so it can handle mail sent to specific mail domain, you need to setup picking up email from the provider that does handle the mail. Since you indicate you want to delete messages after handling, you should not care abou...
Setting up receive-only mail server and handling incoming mail and attachments
1,491,913,384,000
I am using alpine linux running in a docker container to run a webapp. The webapp is supposed to send emails using the mail command from the command line. To support this, I have installed mail as follows: apk add mailx When I try to send a message I get the following error: bash-4.3# mail [email protected] Subject...
There is no default MTA available in Alpine. Besides mailx, you will also need to install and configure a MTA (Mail Transfer Agent), such as postfix: # apk add postfix (1/3) Installing db (5.3.28-r0) (2/3) Installing libsasl (2.1.26-r8) (3/3) Installing postfix (3.1.3-r0) Executing postfix-3.1.3-r0.pre-install Executi...
"send-mail: Applet not found" when using mail command on alpine linux
1,491,913,384,000
i am trying to send an email with my freebsd server using postfix and dbmail to an external adress. I have noticed the following things: MYSERVER -> MYSERVER = OKAY EXTERNALSERVER -> MYSERVER = OKAY MYSERVER -> EXTERNALSERVER = ERROR(454 4.7.1 Relay access denied) Why do i get this error? i think it has something to d...
Isn't that you haven't authenticated properly (via your mail client) to send outbound email or otherwise haven't setup mynetworks such that it will allow all systems within your network to send without authentication? https://serverfault.com/questions/42519/how-to-correct-postfix-relay-access-denied
Relay access denied when using SMTP to external recipients POSTFIX FREEBSD
1,491,913,384,000
I would like to download all the e-mails in my old e-mail server. It uses POP3 and I'm interested in e-mails in "Inbox" and "Sent" folders. Once I have downloaded all the messages, I would like to make a script which lists all the e-mails between my e-mail address and one certain e-mail address in chronological fashio...
Traditional mailx does not support IMAP or POP, but the one that comes with Linux does. For your particular problem, I recommend using fetchmail instead. You can use the --mda option to have fetchmail execute a script of your choice for each downloaded message. It can even pass the From and To addresses as parameter...
How to download all the e-mail messages from POP3 server to a single text file with mailx?
1,491,913,384,000
I have a problem when I send a mail to [email protected] for [email protected] My emails has bounced for this error: status=bounced (mail for orbialia.es loops back to myself) May 9 09:33:58 ns3285243 postfix/smtpd[1606]: connect from localhost.localdomain[127.0.0.1] May 9 09:33:58 ns3285243 postfix/smtpd[1606]: 1EF...
From comment: The problem in this case is that the domain has not been marked as active, so when mysql is queried for active domains this one is not returned.
Postfix email bounced (mail for domain loops back to myself)
1,491,913,384,000
I am using this line ( cat bodyText.txt; uuencode backup.tar ) | mail -s "backup" [email protected] inside a bash script that will be fired by cron. This line is almost perfect, but it hangs waiting for Ctrl-D to be typed, so the message and the attachement could be sent. How do I include a Ctrl-D inside a bash scr...
the uuencode is : uuencode name < sourcefile maybe just need a final empty line : add ; echo -e "\n\n" ; before the closing parenthesis, and try again?- So in your case: ( cat bodyText.txt; uuencode backup.tar < backup.tar ; echo -e "\n\n" ; ) | mail -s "backup" [email protected] Another way is using mutt which ...
How to pass a CTRL-D to a command line within a script?
1,491,913,384,000
If I have the full contents of a MIME message, what is the best utility on Linux to send the message? The MIME message would include the full headers and mail body, for example: Received: (qmail 32389 invoked by uid 0); 13 Jun 2017 09:24:51 -0400 Date: Tue, 13 Jun 2017 09:24:51 -0400 From: [email protected] To: [email...
You may use sendmail or "sendmail look alike" provided by postfix/exim/... . /usr/sbin/sendmail -i -- $recipients < message_file -i - do not treat lines with leading dot specially You may use more exotic "sendmail look alike" (e.g. provided by msmtp) to send directly via another smtp host without "system wide" confi...
How to send raw mail message on Linux?
1,491,913,384,000
Hello everyone I was wondering if it's possible to use sendmail in a way that I can string multiple email addresses in the To: as such From: sendmail To: [email protected];[email protected] Subject: Did You Both Receive It? I hope you did Instead of using From: sendmail To: [email protected] Cc: [email protected] Su...
To put multiple addresses on the To: or Cc: or Bcc: line, separate them by a comma (plus optional spaces). There are mail readers that allow typing a semicolon to separate addresses and show addresses separated by semicolons, but this is not standard syntax. From: sendmail To: [email protected], [email protected] Subj...
Sendmail To Multiple Users Without CC
1,491,913,384,000
I'm trying to create a Procmail rule based on all of From, Subject and a string in the body: :0 B: * ^From:.*[email protected].* * ^Subject:.*fixed string in the subject line.* * .*fixed string in the body.* /dev/null I'm trying to delete a persistently problematic mail source whose only safe option is to check all t...
You need both H and B if you want to match headers and body. See the Procmail Tips page, full of useful examples. Try :0 HB * ^From:.*[email protected] * ^Subject:.*fixed string in the subject line * fixed string in the body /dev/null (note, the above doc refers to a bug in version 3.22 whereby once HB is used furthe...
How to create Procmail filter that checks both headers and body
1,491,913,384,000
dpkg-reconfigure exim4-config asks for a domain name to "qualify" email addresses of local users such as root. Let's say I've set this setting to qualified.example.com - this causes all email sent to simply root to go to [email protected]. I instead want all email to root to be sent to [email protected], but I want th...
Your host doesn't sufficiently know that it is supposed to be qualified.example.com. A local delivery to root is rewritten as [email protected], which is (wrongly) considered to be elsewhere, so an off-host delivery is attempted. You need to complete the process telling exim4 that your local host really is qualified.e...
Exim: Email to root ignores /etc/aliases and /root/.forward - always used qualifies domain name
1,491,913,384,000
I'm using: thunderbird-10.0.3-1.el6_2.x86_64 on Scientific Linux 6.1 and if I send an e-mail (with Gmail) from my Thunderbird then I can see that the e-mail I sent contains a very-very bad thing: Received: from [192.168.1.142] (31-149-121-34.pool.myisp.com. [31.149.121.34]) So ALL the e-mail that I'm sending contai...
You cannot hide your public IP address (assigned to the WAN interface of your router). You can, however, hide your private IP address (assigned to the NIC of your computer): Go to Thunderbird's about:config page (in version 3.1 it's Edit > Preferences > Advanced > General > Config Editor). Find the mail.smtpserver.d...
How to remove the "Received: from" from an e-mails source?
1,491,913,384,000
I have a server with only one IP with three VMs running: http-proxy - IP 10.77.77.254 email - IP 10.77.77.101 services - IP 10.77.77.104 On the Host I select with iptables, which port goes to which server. I have set up all email ports like 25, 143,... to the email VM. Port 80 and 443 goes to the http-proxy that dec...
In reality the answer for the services VM can be...it depends. If it is applications, you can point them to email:25/TCP. If we are talking about daemons/services, you configure both in the services and http-proxy VMs: in exim, as smarthost email a simple postfix with a relayhost configured to point to the email host...
Send mails from one VM when postfix is on the other VM in the same server
1,491,913,384,000
New Roundcube identities get a '@localhost' domain part for their Email address. That is kind of useless. I would rather have Roundcube take the Apache HTTP host (minus a possible 'www.'), since my users will use 'their' associated domain for getting to the Roundcube interface. How can I configure this?
Found the solution to my problem. In the main config of roundcube (/var/lib/roundcube/config/main.inc.php) you can set the mail_domain variable: $rcmail_config['mail_domain'] = '%d'; There are multiple placeholders, but %d will use the web server domain, which is fine for me.
How to set the default domain for a new Roundcube webmail user?
1,491,913,384,000
I am on tmux, with mutt in an inactive window. If IMAP flags change on a message through external means, I see the visual bell and the status bar changes, drawing my attention to the e-mail client. That works well. What I would like to do but still can't get to work is: Get a proper notification about incoming e-mail...
You could call a small script from your tmux status bar that updates with any new mail: #!/bin/bash # Set maildirs maildirs="$HOME/Mail/*/INBOX/new/" find $maildirs -type f | wc -l And in your .tmux.conf: set -g status-right "#[fg=yellow,bright]Mail: #(tmuxmail) ..." This count will be updated according to the status...
Mutt new e-mail notifications in tmux window
1,491,913,384,000
Is there an E-Mail client for linux which allows to search old gpg encrypted mails (i.e. find all mails which contain a particular keyword in the body, including the encrypted ones).
Mutt has pretty good PGP integration. The wiki shows what settings you need to add to your .muttrc; these settings may already be present in the system-wide configuration file (for example, on Debian, PGP/gpg works out of the box). Mutt supports mbox, mh and maildir mailboxes. If you search in a mailbox that happens t...
E-Mail client in linux which allows to search encrypted mail
1,491,913,384,000
550 relay not permitted That's the error message when email sent by Exim4 from my Debian laptop bounces. What's weird is that only the first email bounces. Second and subsequent emails pass through the relay and on to their destinations just fine. If I reboot my laptop, though, the first email after reboot bounces ag...
Your email timeout could well be due to your daemon trying IPv6 first. The IPv6 stack implementation by default has priority over the IPv4 stack so when programs/daemons try to communicate they will try first to use the IPv6 address, when the destination has both public IPv4 and IPv6 address. Even if you do not have p...
The first email bounces; the second and subsequent emails go through
1,491,913,384,000
I have a Gmail account, mutt is configured to get the mail through IMAP. Yesterday I subscribed to a mailing list and now my personal emails are mixed up with the ones from the list. The list emails are addressed to me and [email protected]. How can I tell mutt to move all such emails to a separate file, so they would...
There are several options depending on what you are wanting to achieve and what you are wanting to do to get there. Get the IMAP server to do the filtering for you. This is sometimes an option in web-mail based solutions and allows you to filter the messages based on e.g. the addresses listed in the To: or Cc: header...
How to categorize incoming emails
1,491,913,384,000
Today I opened my university mailbox, after several months of not opening it. I found it is flooded with about 300 K messages from the cron daemon, notifying me of a certain unimportant warning in a certain cron job. I stopped that cron job immediately, but now I am stuck with a huge mailbox and cannot find the import...
One way to do it would be to install mutt. With mutt you can delete messages matching various criteria, f.i. messages from the cron daemon. It might be a good idea to copy a representative sample of messages in some other folder and practice the operation there before running the cleanup against your inbox. If you'r...
How to clean a flooded mailbox
1,491,913,384,000
I'm writing a Bash function which will send an email to the current user upon completion. I'm wondering if there's a canonical or normal way to get a user's email address. My current plan is to simply use $EMAIL, which will certainly work well enough, but I wasn't sure if there was a better or "right" way to refer t...
If you really want to do that ("expect the users of my script to need to specify the address they want to use"), you can always ask them to put their email-address into ~/.emailaddress or another local file. With adequate permissions on their home directories and that file, this could work. The proper way would be to ...
Canonical environment variable representing a user's email address
1,491,913,384,000
Is there a preferably CLI based program I can use to regularly (through cron for example) use to check a mailbox, and download the attachments into a folder? I have a mailbox called [email protected], I would like to periodically poll the inbox for new emails via POP or IMAP, and grab the attachments to any new emails...
Fetchmail is the de facto standard program to retrieve mail over POP or IMAP automatically. You can inject email in the local email system for delivery, or have fetchmail invoke a mail delivery agent such as procmail or maildrop directly. To extract and possibly strip the attachments, you can use any of the several MI...
Periodically download attachments from mail box
1,491,913,384,000
I have CentOS 5.5 with Postfix installed on it. I want to use local delivery agent with default setting, but I want it to store mail with Maildir directory style mailboxes. When I set the mailboxes to be stored ( as default ) in: mail_spool_directory = /var/spool/mail/ And I manually create maildir, so it looks like...
Edit: answer completely rewritten according to comments The issue could be related to SELinux. You can run e.g. sestatus to check if it is enabled or disabled. For maildir delivery, postfix changes to the corresponding user, so the destination directory needs to be writable by the user. This seems to be already the ca...
How to create Maildir directory with enough permissions for Postfix?
1,491,913,384,000
e.g., I've got files I want to send by sendmail but the receiving mailbox (for posting pictures to my blog) will not accept uuencode files a la $uuencode file | sendmail user@domain I'm guessing it'll accept MIME though. So what command can I use instead?
The best luck I had was with mime-construct, written in Perl. It does pretty much everything uuencode does, and is pipeable, which is what I needed. (No, I was not looking for an MTA such as mutt... msmtp is all I need, thank you very much.) For people interested, you call it using something like $mime-construct --out...
What is the MIME equivalent of uuencode for sendmail?
1,491,913,384,000
I'm trying to send an HTML email from our CentOS server to users. In the long run I'll be building a COBOL program that runs the command to send reports to the user. Here are a few details. CentOS 6.4 MAU : Mailx MTA : Postfix 2.6.6 Postfix is running a relay through an exchange server. As for what commands I'v...
Since you seem to have full control over the generated text file, the simplest and probably most portable way would be to involve /usr/sbin/sendmail directly. /usr/sbin/sendmail -t < complete-mail.txt This would require you to add all important headers yourself (From, To, Subject, and Content-Type). The file should ...
Sending HTML using mailx with postfix 2.6.6 and centOS 6.4 [duplicate]
1,491,913,384,000
I'm setting up a home server which has full disk encryption enabled. In order to recover from a power failure the machine automatically reboots. I'm also able to unlock the disk remotely using ssh according to this topic: SSH to decrypt encrypted LVM during headless server boot? The only thing missing is that I'm not ...
This kind of functionality is far too advanced for GRUB. GRUB can't even talk over the network except for TFTP. The SSH server that you saw runs under Linux. It is started early during the boot process, after the kernel has booted but before mounting the root filesystem. Linux runs programs from the initramfs (or init...
Send an email right before the password prompt of ecryptfs during bootup
1,491,913,384,000
Building on the previous post where the requirement was to have cron jobs send status messages via a single command line, as posted here: Simplest way to send one-line mail out via command line using gmail? The question came up as to how to use a single line to send an attachment file. Scenario: cron job generates t...
Based on that previous question referenced in the OP, the easiest way to send a message with a single command line is done like so: Simplest way to send one-line mail out via command line using gmail? EXCERPT: Install ssmtp with the following commands: sudo apt-get update sudo apt-get install ssmtp Then go into /etc...
Simplest way to send mail with image attachment from command line using gmail?
1,491,913,384,000
I use Evolution to send and receive mail via IMAP. I want to keep using Evolution most of the time, but I want the option to check and read mail from the command line as well. Reading a new email from the command line should cause Evolution to also display it as read (so I don't have to read them twice), but simply fe...
I found it to be a bit complicated to set up CLI clients like mutt, neomutt, alpine. Instead, I set up offlineimap. This only synchronizes mail to a local folder, but has no UI for actually reading or sending mail. It is still complicated, because mail server accounts are complicated, but at least you deal only with t...
How can I check mail from the command line?
1,491,913,384,000
I can't seem to figure out how to get mbsync to work with OAuth for Gmail because I can't get mbsync to find the xoauth2 sasl plugin on Ubuntu. I'm fairly confident that everything about my mbsync config for OAuth is working correctly (e.g. manually testing the PassCmd successfully generates an access token) edit: I h...
Thanks to your previous hints. I've managed to get XOAUTH2 working in SASL and use it with mbsync. Here is how I got it working on my Ubuntu 20.10: Install Cyrus SASL OAuth2 # Clone the Cyrus SASL OAuth2 sources. git clone https://github.com/moriyoshi/cyrus-sasl-xoauth2.git # Configure and make. cd cyrus-sasl-xoauth2...
Configuring mbsync with AuthMech XOAUTH2
1,491,913,384,000
I wanted to forward emails which comes to my institute mail to my gmail, while keeping the originals in the institute account too. I tried editing my /.procmail file like below: # Forward everything to me at gmail :0: ! [email protected] This was working fine except the original mail is just bouncing to gmail account...
Use :0c for forwarding a copy of a message :0c ! [email protected] c flag documentation: c Generate a carbon copy of this mail. This only makes sense on delivering recipes. The only non-delivering recipe this flag has an effect on is on a nesting block, in order to generate a carbon copy ...
Forwarding my institute mail to gmail?
1,491,913,384,000
In macOS, cronjobs configured with crontab have the command output and/or error messages (if the cron doesn't succeed) written to the /var/mail/$USER file. Can this be prevented? I've tried: * * * * * /sbin/ping -c1 website.com ... 2>&1 >/dev/null Whether it succeeds or fails to reach the domain, the ping output...
The cron daemon does not write to /var/mail/$USER, it sends an email to the user whenever a job outputs anything or fails, which in turn is written to that file (the user's mail inbox) by the system's mail delivery service. To turn off the sending of email from the cron daemon, set the MAILTO variable to an empty valu...
Prevent cronjob's from writing to /var/mail/$USER?
1,491,913,384,000
I have a VPS running Ubuntu 13.10 on Digital Ocean. I'd like to install postfix on the server, but I want it to be able to send e-mails only to my e-mail address whenever a system message wants to be sent to root. Now I have my postfix installed as local only. This sends the messages to /var/mail/root. Instead, I'd li...
There are several ways to do this Using SSMTP: You can find a detailed article here. (Please consider Zulakis' comment below regarding security: I let ssmtp solution here for your knowledge, but prefer postfix solution) Install ssmtp sudo aptitude install ssmtp Edit the configuration file: sudo vim /etc/ssmtp/ssmtp.c...
How to install postfix for sending mails to admin only?
1,491,913,384,000
I have a cron job on Debian: 1 * * * * /home/paradroid/bin/myscript.sh >/dev/null There is an installed and configured MTA, and I have received emails when the script has a syntax error, so I have always thought that I would be informed when anything goes wrong. The script downloads a file using curl through a proxy....
After talking to some people on #curl on Freenode, a dev mentioned that there has been a bug in curl for around a decade (before 7.23.0) where an option parsing error treated -Ss (--show-silent --show-error) as -s (--silent), so all output is suppressed, including stdout. The solution (before 7.23.0) is to use -sS ins...
Crontab job not emailing on failure
1,491,913,384,000
My company wants to migrate the current mail server into a Cloud Server Provider. The Provider is the IaaS (Infrastructure as a Service) kind, not SaaS (Software as a Service). That means I have to install the OS + MTA myself. I'd really appreciate it if you can give me a guidance, pro/con analysis, experience, etc. o...
my vote goes to debian stable and exim4 -- stable, well-documented, and lightweight (you can, of course, use postfix on debian, but exim4 is the default MTA). Here's the canonical documentation, for reference :)
Cloud Server: Which MTA (exim/postfix/etc.) on What OS (Linux/FreeBSD)
1,491,913,384,000
I have headless debian/raspbian linux machine and I would like to backup all my emails via IMAP including all mail and subfolders once daily (connection is secured with SSL/TLS. it should run automatically from cronjob every day). This backup should store the same emails as I have on my default mailserver - so it mea...
Use getmail. It's a nice python program which can be used to download mails from servers. The website is a bit dated, but the software is recent and well maintained. Here is an example config file: [options] delete = False [retriever] type = SimpleIMAPSSLRetriever server = my-servername username = my-username pass...
backup emails from IMAP in readable form
1,491,913,384,000
I have been asked to setup an automated trigger on Unix upon receiving a certain kind of email from MS Exchange server. The requirement is to trigger a shell script when any person from a fixed list of senders sends an email via MS Exchange server to a designated email account on unix. For example: Email from [email ...
There are multiple solutions to this problem. As suggested by Rahul in the comments, I would use procmail and edit .procmailrc to something like this: :0 * ^From.*[email protected] * !^FROM_DAEMON * !^FROM_MAILER * ^Subject:.*Unlock | /path/to/your/script
How to trigger shell script on Unix via email from Exchange Server [duplicate]
1,491,913,384,000
I am running a private postfix server for my domain mydomain.com, on server 111.111.111.111 (IP and domain sanitized for privacy reasons) I have sent an email to [email protected] which is on server 222.222.222.222. The message was deferred, and in my postfix logs, I could see following error: postfix/smtp 9D055EA: h...
The message "... is not yet authorized to deliver mail from ..." is similar to a greylist implementation described in Adding Greylisting Support. If the destination server implement similar script, you can send your mail by flushing your queue to retry sending soon. $ postqueue -f The greylist implementation works as...
Postfix error: not yet authorized to deliver mail
1,491,913,384,000
I'm trying some sort of auto-subscription via a homegrown script. I know it can be achieved by mailing lists such as Mailman but I also want to learn at the same time on how to do it by hand. Here's the simple script: #!/usr/bin/perl use strict; use warnings; open ("RCV_MAIL", ">>/home/icasimpan/mail_received.txt")...
If you're running a sendmail with smrsh set up (common in a lot of default configurations) you will need to run the piped command out of /etc/smrsh/. It can either be a symlink or a copy of the script, but if sendmail has 'smrsh' defined, it will need to be run from that directory. For example: subscribe: | /etc/smr...
piped program in sendmail's /etc/aliases
1,491,913,384,000
I am using automatic spellcheck in Thunderbird v68.8 on Debian Buster (misspelled words are automatically underlined) it works reliably when I create a new empty message but when I am replying to a message (either by clicking on "reply" or "reply all") the spellchecking doesn't always works. By "it doesn't work", I me...
Thunderbird spellcheck have some limitation/settings, especially when we write/reply-to a long email it can get disabled, this is because of the setting: extensions.spellcheck.inline.max-misspellings default value is 500 if we increase that to 10000 or a higher value the spellcheck won't get disabled because of the...
Thunderbird spellcheck does not work sometimes when replying to message
1,491,913,384,000
I set up a mailing system in my Debian VPS. Everything works smoothly except for I can't send an email to user root. There is a workaround to specify in /etc/aliases something like root: <some_other_user> Then all emails addressed to root@<fqdn> would go into <some_other_user>@<fqdn> mailbox. From the security pers...
postfix uses procmail, to deliver email, and as postfix invokes procmail running as nobody for security reasons, emails sent to root will end up being sent to the nobody user. Debian mailing lists explain it better than me, and suggest a work around: postfix's own delivery agent can deliver to root's mailbox, but p...
Is it possible to send emails locally to user root
1,491,913,384,000
I have an arbitrary email messages file in mbox format. I would like to periodically (end of the week), and automatically (via cron) purge messages from my "alerts" mbox file (new folder) just from one sender (or with a specific subject), because one sender let's call it '[email protected]' sends dozens of messages pe...
This cron job does what you specified daily at midnight: 0 0 * * * script >/dev/null -c 'env TERM=vt100 mutt -F/dev/null -falerts -e "push <delete-pattern>[email protected]<enter><sync-mailbox>y<enter><exit>"' /dev/null Let's break that down. script -c 'cmd' runs cmd under a fake pseudo-tty (pty) so that cmd thinks i...
Best way to delete select email messages from mbox file using script
1,528,977,694,000
In other email interfaces (Thunderbird, Gmail) I can send messages from my account ([email protected]) but override the From: field with another name and address, for example another address I control on the same domain. How can I do this in Evolution?
You can add aliases to your email account as follows: From the application menu select Edit > Accounts In the Evolution Accounts window, expand the account you want to modify to reveal the "Mail Accounts" node, and expand that to reveal the imapx+smtp node Edit that node Open the "Identity" tab (should be the first t...
How do I override the From field in Evolution?
1,528,977,694,000
I wrote a bash script and appended to my crontab to query my IP address every minute, and if it is not the same with the previous query it sends me an e-mail to inform me for the IP address change. But there's a strange thing. As it queries constantly every minute for the IP address, from time to time ( very frequentl...
I suspect your ISP is running multiple proxy servers with load balancing, and these are the IPs of the proxy. Web proxies wouldn't have any effect on SSH sessions. If you run who on the SSH server, it should show the IP that this session is coming from, which is your real public IP.
Why am I getting inconsistent IP values from icanhazip.com or curlmyip.com?
1,528,977,694,000
My friend and I have configured two Postfix mail servers on our laptops. We succeeded in sending mail to a real network (to some Gmail accounts) from our computers; that was the easy part. We now want to send an email from one laptop to the other; both laptops are on the same network (they're using the same WIFI) and ...
You have two options: You can setup your Internet DNS Server with BIND OR You can Specify, your IP with hostname in /etc/hosts file Example: I'm assuming that you have hosted laptop1.local, laptop2.local as virtual domain: 192.168.174.128 laptop1.local 192.168.200.128 laptop2.local One more thing, whenever you are...
sending email to IP address via postfix
1,528,977,694,000
I'm using sendmail to send a very simple email from a text file. Here is the text file: to:[email protected] from:[email protected] subject:Testing test test test Which I send with: sendmail -t < mail.txt The server I am running sendmail from is hostname.tld. Here is /etc/hosts: 12.34.56.78 hostname hostname.tl...
Daemon mode vs. MSP The annotation of the IP address you mentioned above is actually not a configuration of the sendmail server itself. If you look at a modern deployment of sendmail it's typically split into 2 components. The traditional server (daemon mode) and another server running in mail submission program mode ...
localhost [127.0.0.1] in email headers
1,528,977,694,000
I'm trying to send an email with attachment from a perl script. First, I create the attachment (an xml file): open(XMLFILE, ">:utf8", $xmlfile); print XMLFILE "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; print XMLFILE "<data>\n"; #print XMLFILE "...\n"; print XMLFILE "</data>\n"; close (XMLFILE); I also tried open...
I was unable to update the mutt version, but I found a workaround - others may find this helpful, too. Including a comment with special characters lets perl and mutt choose the correct (utf-8) encoding (probably the 'ł' would suffice, but the intent gets clearer with the umlaut characters): In the xml this is what it ...
How to specify attachment encoding in mutt command line?
1,528,977,694,000
I'm trying to send and e-mail from mutt from command line using following command: mutt -F /my/path/to/muttrc -s "Hello" [email protected] < test.txt But nothing happens. Mutt doesn't display any error but mail it's not sent. Everything works fine if I enter interactive mutt using mutt command and send the e-mail fro...
Looks like you're setting smtp_url only in a folder-hook. That means that its only set when you use that folder, and when you're using the non-interactive command line method, it never actually tries to access the folder, so smtp_url isn't ever set, so it has no idea what method to send messages. It might be default...
Mutt silently failing when trying to send an e-mail from command line
1,528,977,694,000
I have the value of the Message ID header of a particular message in my mutt's inbox and I want to open it with a one shot mutt command, read and close. Currently, I open mutt, do a with ~i <the-message-id>, which lists just one message, and then open it with o (My keybinding to open a message). Is there a way I can ...
Not the prettiest solution but this seems to work (using mutt 1.5.20), with a message ID taken from my inbox in $MSGID: mutt -e "macro index - 'l~i${MSGID}'; push -\n" If you already use the '-' key for something in the index choose a different key instead.
Open message with given message-id from command line in mutt
1,528,977,694,000
I always get a message: IMAP Authentication canceled And then: Retrying plain authentication after [ALERT] application-specific When I look at my google security settings I can't find any option to create an application specific password to associate with Alpine on my laptop. https://productforums.google.com/forum...
Do as recommended by Andreatsh in the comments. Go to http://myaccount.google.com Then "Sign-in & security" -> "Signin in to Google" -> "App password" Once you create the one time password you will also have to run: touch ~/.pine-passfile This makes it so when you enter the gmail folder on Alpine you will be asked i...
pine (Alpine) with GMail 2-step Authentication enabled?
1,528,977,694,000
I search a solution to download (for archiving) a large mail directory via imap from a mail-server and stores all mails in a local maildir. I need a robust solution, which repeatedly tries if time-outs occur. So far I have tried using regular mail clients for this. Apparently the server restricts downloads in a way wh...
Try isync which sounds like it should fit your purpose: isync is a command line application which synchronizes mailboxes; currently Maildir and IMAP4 mailboxes are supported. New messages, message deletions and flag changes can be propagated both ways. isync is suitable for use in IMAP-disconnected mode.
Download big imap directory to maildir
1,528,977,694,000
Now we have an option of "Delay Delivery" in Outlook. Can we do something like that in thunderbird/evolution or any other linux client ?
There is a "Send Later" add-on for Thunderbird: True "Send Later" functionality to schedule the time for sending an email. I'm afraid this functionality isn't possible with Evolution. Using the command line, you can use a combination of the at command along with some mta such as ssmtp, mailutils or postfix. Example ...
Can I do a delay delivery in Thunderbird or Evolution