Questions tagged [email]

The server configuration of email, including POP3, SMTP, IMAP, and popular server software packages that control email.

The server configuration of email, including POP3, SMTP, IMAP, and popular server software packages that control email.

6589 questions
13
votes
1 answer

Change Envelope From to match From header in Postfix

I am using Postfix as a gateway for my domain and need it to change or rewrite the Envelope From address to match the From header. For example, the From: header is "joe@domainA.org" and the Envelope From is "bob@domainB.com". I want Postfix to make…
lid
  • 265
  • 2
  • 7
13
votes
4 answers

Mail server for Windows 2008

I'm going to get a Windows 2008 dedicated server sometime soon. I'm going to have my website hosted on it, so, I also want to run a mail server on the same machine to receive any mail sent to the website (I use the SMTP Server in IIS for sending…
Mee
  • 845
  • 5
  • 15
  • 24
13
votes
3 answers

Sending mail from command line if body not empty

I'd like to write a simple script that alerts me if a log changes. For this I'm using grep to find the lines I'm interested in. Right now it works like this: grep line /var/log/file | mail -s Log email@domain.tld Problem is that this sends a mail…
cdecker
  • 411
  • 2
  • 5
  • 18
13
votes
3 answers

Postfix sending and receiving the same e-mail every 5 minutes for 4+ months

Back in June I sent myself the EICAR test signature to make sure my postfix/amavis/spamassassin etc setup was working properly. I didn't notice at the time, but this somehow created a tear in the space-time continuum or something whereby every 5…
James Carppe
  • 181
  • 7
13
votes
4 answers

Sending email from my server

So, I'd like to send email from my server. I installed mailx apt-get install mailx But a command like mail -s "Hello world" me@gmail.com Is actually giving an error in /var/spool/mail/ which says: Mailing to remote domains not supported. Why is…
bobobobo
  • 789
  • 6
  • 14
  • 26
13
votes
2 answers

Cost of getting in-house certificate authority trusted

My company has an in-house certificate authority that is currently self-signed. Since we want to start using it for external SSL and secure email to our customers, we need to get it trusted. Does anyone have a ballpark as to what it costs to get…
13
votes
3 answers

SPF/DKIM/DMARC for Gmail "Send mail as" via smtp.gmail.com on external domain

Since "Google Apps" / "Google Apps for business" / "G-Suite" / "Google Workspaces" free tier is being discontinued, I need a solution to migrate my ~30 extended family to a sustainable solution. I'm looking at the option of having them each…
Ozzah
  • 239
  • 2
  • 3
13
votes
3 answers

Setting up Exim to forward mail

I'm trying to setup Exim on a fresh CentOS install so that it will receive mail for a collection of given addresses, and forward the mail respectively to another address. For example, receiving mail from me@example.com would be forwarded to…
Joe Freeman
  • 233
  • 1
  • 2
  • 5
12
votes
1 answer

Email dkim=temperror (no key for signature)

I have a custom built web application that sends emails. This application is hosted by a third party. This application sends emails through their servers. I have correctly set my spf record. However, when my application sends emails the emails…
Edwardcode
  • 143
  • 1
  • 2
  • 7
12
votes
3 answers

How can i send /var/mail/root again?

Through some misconfiguration I've a lot of emails in /var/mail/root and /var/mail/www-data How can I "loop" over these files and send each mail another time?
Max
  • 465
  • 2
  • 6
  • 11
12
votes
2 answers

Office365 SPF record has too many lookups

For some utterly ridiculous administrative reasons we've got a split domain with one mailbox on Office365 which requires us to add include:outlook.com to our SPF record. The problem with this is that that rule alone requires nine DNS lookups of the…
Sammitch
  • 2,111
  • 1
  • 21
  • 35
12
votes
10 answers

Where to go to see if my IP is blacklisted as a SPAM

This has happened before and some mail servers will tell you that your IP has been blacklisted (RBL, CBL, etc) but I can't find that site to check anymore and searches result in a site that may or may not be legitimate.
Sheldon McGee
  • 441
  • 1
  • 7
  • 14
12
votes
2 answers

Can an email server be set-up on an Azure VM?

I am considering the possibility of setting up a simple SMTP+IMAP email server for internal use on an extra small Azure VM. When I say internal use I don't mean "used by internal users", but for use as part of a larger system and to serve the main…
Ivan Zlatev
  • 223
  • 1
  • 2
  • 6
12
votes
2 answers

Hosting multiple domains on a single email server with one IP

I have an email server (mail) that currently hosts one domain example1.com. The server is behind NAT and I have split-dns configured on the LAN. The time has come to host additional domains on the same email server and after many hours of googling I…
joshu
  • 791
  • 3
  • 12
  • 28
12
votes
2 answers

What are the steps to make the php mail() function work on ubuntu-server?

I want to enable the simple php mail() function on an Ubuntu server. This will only be used for sending administration stuff and logs. This is all the mail functionality that I want on this machine. 1) Can you name 1 or 2 simple to setup standard…
user12096
  • 927
  • 6
  • 23
  • 39