Questions tagged [mail]

This tag is used when the question is about real mail. Such as asking how to get a copy of Ubuntu in the mail. If you have questions regarding email, please use the the email tag.

Filter by
Sorted by
Tagged with
0 votes
3 answers
66 views

How does postfix intercept root's mail?

Quite a number of apps e.g. cron etc will send mail to root if there are errors. I saw some tutorials which involve installing postfix + quite a bit of configuration to have them forwarded to gmail or ...
bilogic's user avatar
  • 181
0 votes
1 answer
94 views

Send email from command line with an image in the body (not as attachment)

I have a setup where I am sending an email using mailx with an attachment and that works OK. I am trying to send an email with the image in the body. Is there a way to do this - I tried several ...
SEU's user avatar
  • 129
1 vote
0 answers
58 views

How do you output the contents of an .eml file [ Not including all of its metadata ] to the commandline in plaintext? [duplicate]

I can do this: cat foobar.eml Delivered-To: anonymous@gmail.com Received: by 2002:a4a:6c09:0:0:0:0:0 with SMTP id q9-v6csp1498994ooc; Thu, 23 Aug 2018 10:00:37 -0700 (PDT) X-Google-Smtp-...
Anon's user avatar
  • 11.7k
0 votes
0 answers
31 views

Pine/alpine creating two mbox file and 'mail' folder in the home directory

I am trying to setup 'alpine' and when I start up it creates a file 'mbox' in the home directory for emails and another folder 'mail' which is empty. I would like to have these folders in /var/spool/...
SEU's user avatar
  • 129
0 votes
1 answer
104 views

How to change FROM name with mailutils?

I have a script that sends email with some server info regularly. I use following command within a script cat $msg |mail -r script1@my.domain.com -s "server event" myemail@adress.com The ...
DenisZ's user avatar
  • 123
0 votes
0 answers
48 views

How to install and send emails with Postfix

I am trying to install Postfix on a server and have it go through a relay. I would like to have the email with a custom domain, so I bought a domain and registered a A record to point to the relayHost'...
GuerillaRadio's user avatar
0 votes
0 answers
56 views

Mail command stop working

I'm not sure how to debug this while my simple mail command used to work, but no longer working right now. Ex. echo 'test' | mail -s 'test' jdoe@gmail.com While these commands not working I was able ...
code-8's user avatar
  • 195
0 votes
0 answers
34 views

Are the files with username and numbers after it archive log files in var/mail?

I have the normal files with just name but after that I have 2-3 more files with numbers after it. For example I have root and then root201303. This is for pretty much all users. Are those just some ...
hijimbob's user avatar
0 votes
0 answers
152 views

Ubuntu server mail server

I wanted to ask if you could help me to start my own email server. I followed a tutorial to start my own mail server on my bought domain but something is not working.. I have a server on digital ocean ...
king's user avatar
  • 11
1 vote
1 answer
174 views

How to migrate a remote mail server without having to notify its users?

I've got a remote mail server(henceforth A), based on this tutorial. Dovecot is the software used as the IMAP/POP3 mail server. I want to migrate every byte in A to another remote server(henceforth B),...
Kostas M's user avatar
0 votes
0 answers
87 views

Why do mail clients try to access my UBUNTU 20.04 Postfix (v3.4.13) outgoing mail server

I run a private mail server, however it is found by non associated mail clients that try to access the outgoing server smtp ports. Why and how does this happen? Is it hackers that look for machines ...
ScottD's user avatar
  • 1
0 votes
0 answers
208 views

What can be wrong with my mail server

I'm trying to setup a postfix, dovecot, and roundcube mail service system on Ubuntu 20.04. I have been following this tutorial https://ubuntu.tutorials24x7.com/blog/install-mail-server-on-ubuntu-20-...
Metallic Stream's user avatar
0 votes
1 answer
81 views

GnuBiff - Preferences

I try to use GnuBiff as a mail notification with no avail. My address mail is myname@yahoo.co.uk So what settings shall I use at Preferances of GnuBiff ? Thanks in advance.
Manolis's user avatar
  • 11
0 votes
0 answers
112 views

Slow email receiver in postfix configured on Ubuntu

We are sending emails to destinations and the email traffic is high but recipient server is not accepting all emails due to their security rules and source emails can't be restricted. How to deal or ...
Rahul's user avatar
  • 1
0 votes
1 answer
120 views

Is there a way to view the message-id (msgid) when receiving email using the Linux mail command?

0 I have a program that extracts email from the command line using the mail command as follows: The Message-ID/msgid is not part of the resulting email Is there a way to keep the message-id when ...
Jared's user avatar
  • 1
-1 votes
1 answer
190 views

How to install Thunderbird with Terminal

How to install Thunderbird using Terminal? I don't want to download from Ubuntu Software
Luca The Cat's user avatar
1 vote
0 answers
159 views

mailto links not opening after upgrade to Kubuntu 21.10

Ever since upgrading from Kubuntu 21.04 to 21.10, mailto links in both Firefox and Chromium don't work anymore. No error message when I click them, just nothing happens. Thunderbird is set as the ...
tomatic's user avatar
  • 11
0 votes
1 answer
215 views

Ubuntu 18 send email with crontab

SO: Ubuntu 18.04.6 Postfix: 3.3.0 GNUmailutils 3.4 I've a script that send email to office/outlook user. If I start script from terminal, email arrive correctly to user. If i set same script on ...
paoloD77's user avatar
0 votes
0 answers
213 views

mailutils in script versus command line

The following works fine as expected from command line: mail < /home/incoming/mailprocoutput.txt -s "Message Processing results..." -r from@somewhere.com someusername@gmail.com cat ...
alabamatoy's user avatar
1 vote
1 answer
714 views

msmtp logging doesn't work in /var/log/mail/[logfile].log

Good day I'm using msmtp to send mails. I have different accounts that log to different logfiles. Unfortunately whenever it tries to log the following error appears: send-mail: cannot log to /var/log/...
silbro's user avatar
  • 33
0 votes
0 answers
285 views

root mail - postfix, etc

for reasons that I cannot seem to divine, my postfix keeps trying to deliver messages to root to root@[MyISP].com, which of course is getting rejected as invalid username by the SMTP gateway at [MyISP]...
alabamatoy's user avatar
0 votes
0 answers
48 views

Setting up Mail Server for multiple domains mapped to different ip addresses

We have taken dedicated hosting and using it for hosting multiple domains. The different domains are mapped to different ip addresses. for example example1.com mapped to 1.0.0.1 and example2.com ...
Gurpreet Singh's user avatar
0 votes
0 answers
325 views

What does "sSMTP[2916968]: 501 Mail from address must be same as authorization user" mean?

I tried many many times to send email from command line. But just failed a hundred of times. I installed mailutils, s-nail, and edit /etc/s-nail.rc as set from=xxx@qq.com set smtp=smtp.qq.com set smtp-...
user15964's user avatar
  • 101
2 votes
1 answer
150 views

mail.google.com popup

I have Kubuntu 21.10 and recently reinstalled Plasma 5.22.5,and now receive an annoying popup Authentication Dialog "you need to supply a username and password to access this site mail.google.com&...
gusz's user avatar
  • 31
0 votes
0 answers
344 views

Attachment with -A option in mailx not working in Ubuntu 20.04,

Attachment with -A option in mailx not working in Ubuntu 20.04 Body also coming as attachment when we use -A option 1)Example Code :- echo -e "Hi Team\n\nPlease find attached report.\n\nRegards\...
Muthu's user avatar
  • 1
10 votes
1 answer
998 views

Using CLI "mail" command

I feel a little silly asking this question... as the answer may be quite simple... but searching here on AU, or on Google, or man mail, hasn't given me the answer. If I start mail, I see this: "/...
heynnema's user avatar
  • 67.4k
0 votes
1 answer
494 views

Is my postfix mail configuration correct? (Emails aren't being received) [closed]

I'm very much a linux noob and greatly appreciate any help and patience you can provide. I'm running Ubuntu 21.04 Email setup instructions from web host: I'm trying to setup mail to be sent via ...
youngfong's user avatar
0 votes
0 answers
1k views

Ubuntu 20.04 Port 465

I've tried running the following. However, port 465 is still closed when I used an online port checker to test. Is there another way on Ubuntu to open this SMTP port? sudo iptables -A INPUT -p tcp --...
ccc's user avatar
  • 1
3 votes
1 answer
1k views

On Ubuntu server, how can I receive "new mail" notifications on the terminal while logged in?

I connect to my Ubuntu 20.04.2 LTS server via SSH, and the "You have new mail" notification works properly when logging in, however, if I receive mail while already logged in, I don't get ...
Displayname71's user avatar
0 votes
0 answers
138 views

Server won't receive emails from Instagram

I am having issues receiving emails from instagram to my server domain. The email works fine (to and from) everywhere else. Facebook also wouldn't send to a different email using the same domain. Any ...
Hawk007's user avatar
  • 125
0 votes
1 answer
149 views

help configuring rspamd to be used from remote postfix

Good day! my postfix is in different host from my dovecot and rspamd, and everytime a mail comes the postfix will deliver it to my dovecot. Now I am having a hard time configuring my postfix to use ...
user13539846's user avatar
1 vote
1 answer
702 views

mail MIME-Version and Content-Type not setting header - Mail Behavior Different from Ubuntu 14.04 vs Ubuntu 20.04

I recently copied over scripts from an Ubuntu 14.04 server to an Ubuntu 20.04 server. Some of my scripts do NOT appear to work as they did before on the older Ubuntu 14.04 server now that they're ...
OwN's user avatar
  • 181
2 votes
2 answers
3k views

Send email via gmail, without other mail server, with postfix

I am inexperienced in configuring mail systems. I am using Ubuntu #54~20.04.1-Ubuntu. How can I configure my computer to send emails using a gmail account, with postfix? I mean not to have any other ...
sancho.s ReinstateMonicaCellio's user avatar
0 votes
0 answers
178 views

I created a mail server using postfix and dovecot on ubuntu 20.04 but my mail goes to spam

I created a mail server using postfix and dovecot on ubuntu 20.04. I'm using a valid trusted SSL certificate from let's encrypt, but my mail goes to spam on Gmail and other mail services. I'm sending ...
Kai Lawson Baker's user avatar
0 votes
1 answer
93 views

Mail in Command Line Interface

How can I know if my mail is delivered when I used Command line to send it? I used the MailUtile package.
Wishwell's user avatar
1 vote
1 answer
910 views

Can't install mailutils Ubuntu 18.04

It seems like I can't install mailutils in Ubuntu 18.04. It's a dependency error and I can't find about this issue also somewhere else. Command: sudo apt install mailutils Output: The following ...
Rom's user avatar
  • 13
0 votes
1 answer
93 views

rsync log file gets corrupted when using nano editor or mail ( postfix ) command

I have a strange situation where I am re-directing the whole output of an rsync command to a file and the file gets corrupted if I open it with nano editor or if I send the output to outlook mail. If ...
AlexP's user avatar
  • 83
0 votes
1 answer
2k views

Postfix Send-Only SMTP Server domain name configuration

I found 2 ways of sending mails from Linux/bash : through a service , like sSMTP, which implies using an external SMTP server, like gmail through Postfix server, which configures the Linux server to ...
AlexP's user avatar
  • 83
0 votes
1 answer
1k views

iRedMail + Apache + MySQL + Ubuntu 20

I have VSP with Ubuntu 20. There is already installed Apache and Mysql. Is it possible to install and run iRedMail server on this device? I started with Mail-in-a-box mail server but it requires fresh ...
Čamo's user avatar
  • 627
0 votes
0 answers
2k views

Opendkim Key Not Secure

Ubuntu 20, cannot get opendkim-testkey to pass for the life of me. Checked all dependencies, configs numerous times, any help appreciated. --------------------------------------------------------------...
TomVT's user avatar
  • 1
0 votes
1 answer
157 views

Cant install mailspring [duplicate]

Theres a dependency error when i try to install mailspring it was like this: usr@user-HP-EliteBook-8470p:~$ sudo dpkg -i ~/Downloads/mailspring-1.8.0-amd64.deb Selecting previously unselected package ...
ZX2's user avatar
  • 1
0 votes
0 answers
69 views

Why `at` can't find `mail` even if it's in every path, including the systemd unit?

I'm trying to get the logs of at, which AFAIK are sent via local mail. The problem I'm having (on Ubuntu 20.04) is that I've configured the mail, and the PATH, but any time I execute at, the syslog ...
Marcus's user avatar
  • 2,255
1 vote
1 answer
361 views

Sending email with attachment

I am trying to use the mail command in a script to send emails with attachment. However, although the attachment is received, the body text is not. Here is the command I used: mail -A attachment.pdf -...
Shuyang Liu's user avatar
0 votes
1 answer
140 views

DNS Records Configuration - Going Straight to Spam Box?

I know that in order to hit the inbox, the main DNS records need to be properly set up. These are the main DNS records that every mail delivery system should have for their domain: TLS A MX DKIM SPF ...
Aaron Esteban's user avatar
0 votes
2 answers
1k views

Individual attachments in mail merge from thunderbird

I am trying to send multiple emails with unique fields from thunderbird with mail merge addon in ubuntu. How to add individual attachments using this method? I have tried adding a separate field ...
Praveen's user avatar
  • 1,015
2 votes
0 answers
74 views

How to remove hyphens in signature in evolution mail [duplicate]

When we design our signature in evolution mail, 2 dashes are automatically added before the signature, like this: -- regards fram How can we remove those two hyphens?
fram's user avatar
  • 91
0 votes
1 answer
1k views

530,5.7.0SMTP server error: MAIL FROM command failed Detail: Authentication Required

PHP Mail error with the message: 530,5.7.0SMTP server error: MAIL FROM command failed Detail: Authentication Required Following are the key sections of my PHP Script. new PHPMailer(true) Host as '...
Naren's user avatar
  • 1
0 votes
3 answers
1k views

Kmail not sending mail

I am asking this here because I could not find a solution anywhere on the web. KMail can currently receive my email but will not send any (either to mailing lists or to a regular address) The error it ...
Peterson Silva's user avatar
1 vote
0 answers
287 views

mail (gnu mailutils) 3.4 not able to send an attachment

We upgraded from Ubuntu 14.04 to Ubuntu 18.04 and now we are not able to send emails with attachments. On Ubuntu 14.04, we have mailutils 2.2 and we used to use the following command mail -s "...
A K's user avatar
  • 11
0 votes
1 answer
187 views

Libreoffice dysfonctional mail merge

Ubuntu 19.10/LibreOffice 6.3.5.2 Mail merge (by email) does not work. I checked: the db calc document contains a column with valid emails the SMTP connection from libreoffice was tested In the ...
Hilaire Fernandes's user avatar

1
2 3 4 5
8