Tagged Questions

Sending, receiving, reading, composing, sorting, and generally working with email. For the mail(1) command line utility, see the tag /mail-command.

learn more… | top users | synonyms (1)

1
vote
0answers
17 views

CLI Utillity to search your gmail account

Is there a CLI utility to search your gmail account? Perhaps by opening your default browser to gmail.com and placing implementing your search?
2
votes
0answers
15 views

How can I change the from address in *nix mail globally?

I know that you can change the from address in *nix mail by specifying command-line options. However, is there a way to set it globally, so that it is respected by forwarding? I tried modifying the ...
3
votes
1answer
15 views

How can I forward local *nix mail to an external account while keeping the local copy?

On my Raspbian server, I wish to have local *nix mail delivered locally, as well as to an external address. /home/pi/.forward contains pi,foo@bar.com. I've run sudo dpkg-reconfigure exim4-config with ...
3
votes
1answer
56 views

My IP is blacklisted for sending spam, logs aren't showing anything

I have Ubuntu server which is more or less acting as a web and mysql server. There is no postfix or anything similar installed. With a help of Virtualbox there is also virtualised Ubuntu server which ...
1
vote
0answers
13 views

Stopping postfix - are messages queued when postfix is idle?

I am running some scans on my server tonight and would like to disable email notifications since there is a chance for a LOT of them to be sent out. I am planning to issue service postfix stop ...
-3
votes
0answers
14 views

How mail works? What are the files it refers to send a mail from a mail client to get acknowledgement from mail server? [closed]

Logically how mail works? from source to destinations how many files, stages it referes. How mail works? What are the files it refers to send a mail from a mail client to get acknowledgement from mail ...
1
vote
0answers
10 views

Generating Email alert for events in system log

How to generate email alert for every critical event logged in system log /var/log/messages. Suppose, for the following log message, I want an email alert to be generated. Oct 24 11:17:42 eforms ...
1
vote
1answer
22 views

How does Slackware Login quotes work?

I'm new to Slackware and I think It's beautiful Distro. When I login it with ssh it prints motd, quote and a line for informing mail like this Linux 3.10.17. Last login: Thu Oct 23 06:28:08 +0330 ...
1
vote
2answers
27 views

Redirect specific e-mail address sent to a user, to other email-recipients

I'd like to know if it is possible to configure postfix to redirect to many email addresses (including the original recipient) instead of only one? Here is my scenario: When an e-mail is: Sent from: ...
1
vote
1answer
18 views

Offlineimap mail count does not match Gmail's

I'm syncing my gmail account ('All Mail' and 'Sent' folder) with offlineimap to my harddrive. But it appears to me some emails are not downloaded. I disabled the conversation view in gmail and it ...
0
votes
1answer
30 views

How to configure the “mail” command to use an SMTP relay server without using sendmail service?

Since I new to redhat ver 6 linux I wanted to know how I can configure our web server that is running redhat to used out exchange 2010 relay. I already configure our exchange 2010 to allow our web ...
0
votes
0answers
13 views

Dovecot/Postfix and mail vmail directory

I've setup a Postfix/Dovecot mail server. I'm using Postfixadmin to set up a SQL users database. My question is If I ever migrate to another server and I don't have the /var/vmail directory ...
1
vote
1answer
63 views

How does the mail command work?

I am curious as to how the mail command works. My computer has postfix server installed by default with red hat and is connected to a network that includes a mail server. I had assumed that when I ...
0
votes
1answer
27 views

sMail server cannot get connect by Linux frequently

I have a mail server A build by iredmail on Centos6.5 system. The mail server have a public ip aaa. There are about 40~50 mail clients which operating system is windows in local network, they all ...
0
votes
1answer
72 views

Scripts to E-mail Myself a File

The following command e-mails myself a file: sudo mail -a FILE_ADDRESS -s "Subject of E-mail" myemail@gmail.com Question: How do I turn this command into a one-liner, so that I could just type ...
1
vote
0answers
29 views

How can I send email without using uuencode and mute?

Is it possible to send attachment from unix/AiX without using uuencode and MUTE command? We can write a Perl script which will send email properly but without attachment, can I get the perl code ...
0
votes
0answers
79 views

Unix “Mail, Mailx and sendmail” command sending blank attachment on IOS

I am using the below listed code, which sends PDF attachment properly. Attachment can be opened in desktop computer and Samsung mobile but same attachment cannot be opened in IPHONE IOS. Below is my ...
0
votes
0answers
30 views

How to run multiple queries in a KSH script

I have a KSH script that has one SQL Query and generates and emails output of the query in HTML format. I want to change the script so that it has three SQL queries and the last query generates and ...
1
vote
1answer
70 views

One-Click Script to Gmail Yourself a File

Does such a thing exist? I'd be interested in something like: You right-click a file in a file viewing manager, and click "gmail yourself this file". One click, and you're done. You open up the ...
3
votes
2answers
26 views

email alerts when serious system errors occur

I was greping syslog on a server for errors and noticed these lines that had nothing to do with what I was looking for but was alerting enough: kernel: [8456851.218586] ata2.00: irq_stat 0x08000000, ...
1
vote
0answers
66 views

How to configure postfix to send mail to external SMTP server?

I have a machine with http://phabricator.org/ set up on it and I would like to set up postfix to enable e-mail sending to my company's mailboxes (as for notification emails coming from e.g. ...
1
vote
0answers
25 views

Files associated with Thunderbird - Security mechanism for local storage

I am trying to know how Thunderbird stores the mails, associated files in the local machine. I use Ubuntu 13.10 and Thunderbird 24.6.0. When I see in the local profile folder in the location in ...
1
vote
0answers
20 views

Make sendmail email me on SYSERR errors

I'm running CentOS5 and sendmail and occasionally I get a line like this: Oct 3 15:19:50 mail sendmail[23643]: s936Is4d023643: SYSERR(root): collect: I/O error on connection from web.address.com, ...
3
votes
1answer
35 views

Mutt overheads or missing switches

I have a problem with Mutt at the moment. I have a 4GL routine that creates some quite large output files and I want them to go in a single mail ideally. The total of these files is 21889119 (sum of ...
0
votes
0answers
20 views

A problem using Mutt with Gmail

I'm using Mutt with a Gmail account via IMAP (with Exim), and keep getting warnings Mailbox was externally modified. Flags may be wrong. every time when I move with 's' command a message to ...
1
vote
1answer
84 views

Must issue a STARTTLS command first, even with it in main.cf

This is my first time setting up a linux server and I can't seem to get the email to work. Anytime I try to telnet and do the "mail from" command I get "540 5.7.0 Must issue a STARTTLS command first" ...
-2
votes
1answer
104 views

Delete all mails from inbox using linux command prompt

How can I delete emails from an individual email account? e.g. how can I empty userxyz@mydomain.com? I know the following: /var/spool/mail/mydomain /var/mail/mydomain I have many inboxes some of ...
0
votes
1answer
39 views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
1
vote
0answers
22 views

BSD Mail - Single Sending Address

I've been working on sending HTML emails using BSD mail and so far I've been successful. I've even been able to modify, not change though, the sender. Current Command: cat $htmlFile | mail -s ...
0
votes
1answer
25 views

SSMTP returns error 550

I have a Raspberry Pi with Raspian installed on it and I am experiencing troubles sending out emails. I have installed SSMTP and usually inside my scripts I'm sending out emails to notify me when a ...
0
votes
0answers
59 views

Gmail and mutt: msmtp error

Invalid SMTP URL: ssmtp://REDACTED@gmail.com@smtp.gmail.com:465/ I can use mutt to read my Gmail, but when I try to send I get the above message. When I installed mutt a screen came up for postfix ...
0
votes
1answer
59 views

Uuencode displaying attachment content in email body

I am using uuencode with mailx to attach a zip file. In following code, the if block works perfectly and I get Deletions.zip as an attachment in the email. But, whenever the else block is executed I ...
0
votes
1answer
22 views

Mutt: Emaillist emails not be shown in inbox and still readable in some file, how to do it?

I get emails from mail lists such as best-h@list.ayy.com. I don't want them to my inbox, I want them to a new inboxes that I can only read when I select them or basically move all mails like this to a ...
1
vote
1answer
64 views

How to send a mail when someone remote connects to my server

I would like my server to send a mail to me when someone connects remotely over ssh to my server. who only gives me back the Username, TerminalID and Date. I cannot use only that, I need to check ...
-2
votes
1answer
36 views

Can somebody explain the difference between IMAP and POP3 [closed]

I dunno if I have right understanding or somewhat faulty understanding of the three topics. From a user-end perspective both IMAP or POP3 credentials are what I need if I need to have mail incoming to ...
0
votes
2answers
39 views

How to I solve the error? In svn email notification?

I have working from svn email notification,but it got the error, could you help for me. (The command execute autometic send file for my mail, but now not sending ) svn commit -m "[1] add some text ...
0
votes
0answers
28 views

Can You Send Mail With MSMTP Without Putting the Location, ISP, and Hostname in Header?

I've been testing sending mail with mutt and msmtp. I've noticed when replying to a message I sent with msmtp, my state, hostname, and isp show up in the In-Reply-To: header ...
2
votes
1answer
52 views

How to send email from ssmtp with HTML

I want to send an HTML report that is piped from another command, eg: mycommandthatprintshtml | mail someone@hostname.com . When I do this currently, it prints all the html tags. Is there a way I can ...
2
votes
2answers
39 views

How to archive POP3 mailbox?

What programs are available to archive a mailbox (to mbox or maildir format) that I can only access via POP3? I'd like to be able to browse the mailbox locally afterwards, probably using mutt or the ...
1
vote
2answers
161 views

Querying a remote POP3 Mail server using BASH

I'd like to connect to our mail server via POP3, look for a certain pass phrase in the subject and if found then run a script. How can I achieve this with BASH other than awkwardly scripting Telnet? ...
2
votes
1answer
20 views

Why does KDEPIM add “pbecbengr-rivy-znaqngrq-ba” to the domain part of outgoing Message-ID headers?

When I send an eMail with Kontact (KDEPIM), my Message-ID headers look like this: Message-ID: <1548233.Ax4hfq5P2Q@pbecbengr-rivy-znaqngrq-ba.tglase.lan.tarent.de> In contrast, my regular MUA ...
1
vote
2answers
55 views

Need to delete mails for a range of dates in Linux

I have 1 million mails generated in a Linux sever due to a cron job. I want to delete the mails, but not all as this cron mails useful to troubleshoot and find out the issue with cron job's execution. ...
1
vote
0answers
27 views

mailing thru ssh

(I am a Linux only user & MELT software developer, and use Linux since kernel 0.99.15 e.g. the previous century) I have a VPS host ovh.starynkevitch.net (running Linux) which is also the MX host ...
4
votes
1answer
338 views

What is the purpose of mail spools?

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 ...
0
votes
0answers
26 views

How to delete mails from queue of Dragonfly Mail Agent (dma)

I have the Dragonfly Mail Agent installed. Is there a way to delete mails from its outgoing queue without going manually to /var/spool/dma and deleting them by hand?
2
votes
1answer
107 views

Does fetchmail support SSL or TLS when using SMTP to forward email?

I am trying to forward emails that are fetched with fetchmail to another SMTP host, which enforces STARTTLS. I could not find a way to enable TLS in fetchmail. Is this possible at all? If so, how?
1
vote
1answer
60 views

How can I forward emails from a POP3 account to another SMTP or IMAP account?

I have an email address that I can access via POP3, but which I rarely use. Though it receives quite a bit of email. I cannot use a forwarding feature for this account. Yet I want to forward ...
4
votes
1answer
31 views

How to configure kmail2 to use client certificates for POP3 and IMAP access

I would like to run a POP3 server with TLS transport security such that a client must authenticate with a client certificate. (This shields the server from brute force password guessing attacks.) How ...
1
vote
1answer
187 views

Problem extracting email attachment using munpack

I have fetchmail running perfectly to fetch emails from Gmail, and then I am using procmail to store them in $HOME/Mail/Inbox. In my .procmailrc, I added this code which pipes to munpack to extract ...
3
votes
3answers
230 views

Script to email all matching files in a directory

Trying to set up a bash script to automate sending data files. Desired end result is to check a specified directory once per week, make a list of all Excel files modified within the last 2 days, and ...