Questions tagged [email-server]

Refers to the hardware or software that make up a server dedicated to sending and receiving emails. Many popular modern email servers bundle other functionality for contacts and calendaring along email delivery.

Refers to the hardware or software that make up a server dedicated to sending and receiving emails. Many popular modern email servers bundle other functionality for contacts and calendaring along email delivery.

A list of mail servers can be found on Wikipedia, though sendmail, Microsoft Exchange Server, Postfix, and Exim are the most popular email servers, which together control over 85% of market share for SMTP service.

3029 questions
11
votes
5 answers

Delete from mailq where subject matches

I have a mailq which is getting backed up with multiple emails with the same subject line. I would like to delete all emails in the mailq that match a particular subject line so they don't get sent. Any ideas how to do this? Pretty urgent as its…
David
  • 841
  • 3
  • 14
  • 31
11
votes
3 answers

How do I setup a SENT and TRASH folder with Dovecot?

The IMAP mailbox that Dovecot sets up has no SENT folder or TRASH folder. How do I set those up? Is there a way to place them outside of the INBOX hiearchy? I want to make sure that these folders work with the iPhone email client or any other mobile…
user18233
10
votes
3 answers

Configuring outgoing mail to port 587 on Ubuntu/Postfix

I'm configuring a backup server on a local network that has a cable connection. The Cable ISP is filtering all port 25 (smtp) traffic. uname -a Linux myhost 4.4.0-119-generic #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018 x86_64 x86_64 x86_64…
S.ov
  • 361
  • 2
  • 4
  • 13
10
votes
3 answers

Why does DMARC operate on the From-address, and not the envelope sender (Return-Path)?

Several emails sent from my webserver to a Gmail address, where the From: address is websitevisitor@gmail.com, have been marked as spam by Gmail. The From: field is populated from form data, and corresponds to the visitor's actual email address,…
EelkeSpaak
  • 203
  • 1
  • 2
  • 5
10
votes
3 answers

Helo command rejected: Host not found - Setup postfix to accept sending mails from my home server through my public server

I would like to receive system emails from my home server. So I'm trying to configure postfix to do that through my public server. My public server has a fixed IP, while my home server is in a private network with a messed up hostname due to my…
The Quantum Physicist
  • 658
  • 2
  • 11
  • 26
10
votes
2 answers

Parse undelivered mail headers (bounced mail)

What is the best way to parse the headers of bounced (undeliverable) email that is sent back to my server and determine whether it is a soft or hard bounce? I only send opt-in emails to my users, but occasionally some email addresses go stale. When…
Richard
  • 363
  • 1
  • 3
  • 12
10
votes
2 answers

invoke filtering manually in dovecot+sieve

I've configured dovecot with a sieve filtering (also I've configured roundcube, but this does not matter I think). It's working fine, I've set up some filters. But now I've got a huge unfiltered INBOX folder which I don't want to filter…
Arenim
  • 227
  • 1
  • 3
  • 9
10
votes
1 answer

postfix multiple IP SMTP banner

I've installed postfix 2.11.3 and we have multiple IP addresses on our server which we want to host two domains, isolated and running on their own IPs. domain1 unix - - n - - smtp -o smtp_bind_address=1.1.1.1 -o…
Satish
  • 682
  • 3
  • 8
  • 22
10
votes
1 answer

How do I use OpenDKIM with multiple domain names on a single server?

How do I use OpenDKIM with multiple domain names on a single server? I own 3 domain names, and I have a single server that's running postfix for sending email. How do I use OpenDKIM? Can I use the same keyfile for all 3 domain names? Do I have to…
user18233
10
votes
2 answers

SPF hardfail and DKIM failure when recipient has e-mail forwarding

I configured hardfail SPF for my domain and DKIM message signing on my SMTP server. Since this is the only SMTP server that should be used for outgoing mail from my domain, I didn't foresee any complications. However, consider the following…
Belmin Fernandez
  • 10,799
  • 27
  • 84
  • 148
10
votes
3 answers

Can I setup an MX record for a particular user email address?

I would like to configure 2 MX records : - One MX record that identifies an email server to the domain @mycompany.com that will handle all of the emails except one email - Another MX Record that will redirect to another email server if the address…
fabien7474
10
votes
5 answers

Using gmail as your primary mail server

I have read that there is an option of using Gmail as your primary mail server. In the sense that you can add mx records etc and you do not have to do it on your own server. Do you think this is a recommended setup in terms of security. Will Gmail…
Saif Bechan
  • 10,960
  • 10
  • 42
  • 63
10
votes
2 answers

Does the email size limit include the size of the body?

(If there is a better place to ask this, let me know.) A lot of email servers limit the combined size of files attached to incoming emails. Like, for example, maybe some email server disallows messages larger than 20MB; it would fail if an…
Mathew Alden
  • 267
  • 4
  • 7
9
votes
1 answer

Connect to Milter service unix:/var/run/opendkim/opendkim.sock: No such file or directory

I've just been moving a postfix mail server to a different box, and I'm having trouble getting postfix to talk opendkim via a unix socket. The opendkim socket is located at /var/run/opendkim/opendkim.sock: srwxrwxr-x 1 opendkim opendkim 0 Aug 14…
starbeamrainbowlabs
  • 353
  • 1
  • 7
  • 16
9
votes
2 answers

How can I use wildcards for sendmail TLS_Rcpt?

sendmail lets one place restrictions on TLS conversations. I want to check that messages sent to example.com are sent to a server that has a *.messagelabs.com certificate. I want to protect against DNS spoofing and MitM. If messagelabs only had one…
Law29
  • 3,557
  • 1
  • 16
  • 28