Questions tagged [postfix]

Free and open source mail transfer agent (MTA) that routes and delivers email. When asking about postfix problem, please include the relevant maillog lines and output of the following command: `postconf -n` (non-default content of main.cf) and `postconf -M` (content of master.cf)

Postfix is a mail transfer agent (MTA) that supports IPv6, DNSBL, SMTP AUTH (SASL), TLS and various database backend.

Postfix was written by Wietse Venema in 1997 and first released in December 1998 as IBM Secure Mailer.

It was designed to be highly secure and configurable, and is a drop-in replacement for , with much simpler configuration syntax.

The software was also formerly known as VMailer.

6398 questions
2
votes
2 answers

Will adding an MX record for email forwarding conflict with an email provider like sendgrid

I'm planning on receiving email/forwarding email using postfix, but sending email using sendgrid. According to this tutorial, I need an MX record pointing to my machine -…
mrwaim
  • 163
  • 8
2
votes
1 answer

Postfix mandatory smtp/smtpd vs "not mandatory" difference and configuration

Three questions: Correct me if I'm wrong: smtpd_tls_mandatory_ciphers => settings for incoming mandatory TLS encryption smtpd_tls_ciphers => settings for incoming opportunistic TLS encryption smtp_tls_mandatory_ciphers => settings for outgoing…
Akimiya
  • 23
  • 1
  • 4
2
votes
1 answer

Does postfix cache RBL queries?

This is driving me nuts… Linux Debian + postfix… /etc/postfix/main.cf has the following lines: smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/access, reject_invalid_hostname, reject_non_fqdn_recipient, …
Gabriele
  • 341
  • 1
  • 4
  • 14
2
votes
1 answer

SMTP service detection

I have some basic questions regarding SMTP connections, particularly for Postfix but would appreciate advice for MS Exchange too: When a single relay for a given remote domain becomes unavailable, how frequently does a postfix mta that is sending…
Andy
  • 1,111
  • 1
  • 7
  • 10
2
votes
2 answers

Self signed certificate in certificate chain

I'm having some problems building a certificate chain. My certificate is a class 2 certificate issued by StartSSL. Here’s what I have put in my ssl.crt: my…
MultiformeIngegno
  • 1,687
  • 9
  • 26
  • 31
2
votes
0 answers

How to pass full user name to saslauthd from postfix

I'm trying to configure postfix for SMTP Auth using Cyrus saslauthd and an rimap configuration. I have it working, except for the fact that, due to virtual domains, the auth username for my IMAP installation uses full email addresses…
Flimzy
  • 2,454
  • 18
  • 26
2
votes
1 answer

Postfix forward specific mails from HOLD queue

Is it possible in postfix to forward messages from the hold queue by referencing to them by their file name? The best way would be by a terminal command. Even better would be a python command. If that's not possible editing the main.cf would be a…
elhombre
  • 435
  • 1
  • 8
  • 18
2
votes
1 answer

Postfix, ruled based filtering independently for each user

I managed to create successfully a white-list sender email filter see: here. My goal now is to have separate filter for each user. I would like to filter out all the emails based on the rules created send to the group email all@mydomain.com, but I…
Stanislav
  • 121
  • 1
  • 3
2
votes
2 answers

imapd: 'username': No such file or directory

I'm using Apache, Postfix, Courier IMAP and roundcube on my CentOS 7 machine. I would like to create a new user account / new user email to be able to send emails from my domain outside my local network (to the internet). I crated a user named…
Brian Brown
  • 39
  • 1
  • 1
  • 7
2
votes
2 answers

Postfix: How can I BCC myself on outgoing mails only if I'm not already in the recipients list?

To avoid setting up Bcc or sent mail locations manually on every email client I set up to access my mail server (Debian Wheezy + Postfix + Dovecot IMAP), I've configured my Postfix server to automatically BCC me every message I send out through it,…
2
votes
1 answer

Alias to external address in compound with catchall in mydestinations

I have a mail server that accept emails from any domain. This is accomplished by using the following line in Postfix's main.cf: mydestination = regexp:/etc/postfix/mydestinations.reg and mydestinations.reg looks like this: /^.*/ …
horen
  • 411
  • 2
  • 7
  • 22
2
votes
1 answer

Configure postfix to send email only from authenticated and receive from anywhere

I`m having problem configuring postfix to receive emails from any domain but block senders for only authenticated users in localhost My main.cf is like : mydomain = domainname myhostname = mail.$mydomain myorigin = /etc/mailname smtpd_banner =…
jlemes
  • 21
  • 2
2
votes
1 answer

Postfix won't forward email using virtual_alias_domains and virtual_alias_maps

Here is what i did: apt-get install postfix picked "internet mail" added a file "virtual" and appended a list with emails and emails (see below for sample) when changing postfix, i always updated the virtual db ( with command) and reloaded +…
NicoJuicy
  • 141
  • 2
  • 10
2
votes
1 answer

Authentication error connecting to a mail server via openssl in the terminal

I've set up an email server using Postfix and Dovecot and I'm able to send and receive mail using various mail clients but for some reason I get an authentication error when I try to connect via openssl in the terminal. This is pretty much how it…
ste
  • 381
  • 1
  • 3
  • 8
2
votes
0 answers

Postfix on server with multiple IP addresses sends mails with wrong HELO in header

I have a VPS with multiple IP addresses: venet0:0 x.x.x.2 venet0:1 x.x.x.3 venet0:2 x.x.x.4 venet0:3 x.x.x.5 All IPs have A records m2.domain.com -> x.x.x.2 m3.domain.com -> x.x.x.3 m4.domain.com -> x.x.x.4 m5.domain.com -> x.x.x.5 and rDNS…