Questions tagged [postfix-mta]

QUESTIONS ABOUT POSTFIX ADMINISTRATION ARE OFF-TOPIC. Server admin questions may be asked on Server Fault. Postfix is a free, open-source, widely used cross-platform mail server (mail transfer agent), available on all common platforms.

The postfix-mta tag can be used for programming questions related to the Postfix mail transfer agent. Non-programming questions relating to setting up a mail server are off-topic for Stack Overflow. Such questions are often on-topic on Server Fault.

Postfix is a popular mail transfer agent (MTA), created as an alternative to Sendmail by Wietse Venema. Postfix is intended to be similar enough to Sendmail to be comfortable for those already familiar with Sendmail. However, Postfix is specifically intended to be fast, easy to administer, and secure, and will deviate from Sendmail convention when necessary to achieve those goals.

Postfix is free and open source, and offers a source distribution that is capable of running on a wide range of Unix-like systems, including Linux, Solaris, FreeBSD, AIX, HP-UX, and Mac OS X. Some system vendors also provide pre-built binaries for ready-to-run use.

Useful Links

1541 questions
-1
votes
1 answer

Postfix. Restrictions. Send mail from/to specified table

I have ldap table with logins ldapsearch -x -h ldap.server-b 'ou=mail,ou=Groups,dc=my,dc=org' '(&(cn=mailFullAccess)(memberUid=username))' output dn: cn=mailFullAccess,ou=mail,ou=Groups,dc=my,dc=org gidNumber: 5555 memberUid: fred memberUid:…
Anton Shevtsov
  • 1,279
  • 4
  • 16
  • 34
-1
votes
1 answer

Postfix Blacklist multiple EMails Reject

is there a possibility to block multiple EMails with* or % like this: Emails I want to block: test123@domain.com REJECT test243@domain.com REJECT test173@domain.com REJECT test923@domain.com REJECT My idea: test*@domain.com…
CWollinger
  • 13
  • 5
-1
votes
1 answer

telnet localhost 25 auto-disconnect

I trying to use telnet on port 25 at localhost but I get disconnected right after connected. "Trying ::1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host." I can't do nothing... Here is my main.cf for…
-1
votes
1 answer

LDAP ldapsearch filter: return uidNumber if person has sub ou=mail

I'm trying to construct a ldap filter for my Postfix setup which acts as the example pseudo code below: return uidNumber OF objectClass=posixAccount IF they have a ou=mail AND the mailAddress in this ou=mail IS EQUAL to test@Mydomain.TLD More…
Leander
  • 11
  • 6
-1
votes
4 answers

run script when postfix/dovecot get new mail

I have: postfix->dovecot-> new mail go to [aaaa@11111.xemple.com] mailbox postfix->dovecot-> new mail go to [aaaa@22222.xemple.com] mailbox postfix->dovecot-> new mail go to [aaaa@33333.xemple.com] mailbox I need run script when incoming mail…
snex
  • 982
  • 11
  • 21
-1
votes
1 answer

Can't receive mail others than my own

I am currently trying to configure my first Postfix - Dovecot - PostgreSQL installation. When I connect from Thunderbird, I can receive and send mail on my 3 domains with virtual and real mail accounts. Emails are instantaneously sent. It works too…
Juaniyyoo
  • 87
  • 5
-1
votes
1 answer

What is wrong with my Postfix config for Linux mail command?

EDIT: Thank you to Cyrus for the solution. The issue was with my cron jobs not postfix. Instead of: */5 * * * * | /usr/bin/mail -s 'Scheduled Email' user@gmail.com Jobs need to be scheduled like: */5 * * * * echo "Message body" | /usr/bin/mail…
CallumStyan
  • 81
  • 1
  • 2
  • 9
-1
votes
1 answer

How to add new 'From' email id each time sending email using PostFix server

I am new to PostFix and have setup PostFix as a server recently. In the testing, PostFix is working fine and relaying the emails with 'From' email address stored in the PostFix credentials files likes admin@mydomain.com and password : xxxxxxx My…
Rupendra
  • 608
  • 2
  • 11
  • 42
-1
votes
2 answers

c++ prefix and postfix expression

#include using namespace std; class Mybase { public: Mybase(int value):my_base(value){ } Mybase& operator++() { Mybase tmp(*this); ++my_base; return tmp; } Mybase operator++(int) { …
vishal kumar
  • 43
  • 1
  • 9
-1
votes
1 answer

Can send mail but can't receive SMTP failure

I've got dedicated server to run all my sites from. I created domain and updated all DNS records to this server, everything is fine and propagated however when i try and receive mail nothing happens but it can send. I went to dnsstuff.com and this…
Richard Skinner
  • 738
  • 3
  • 10
  • 26
-1
votes
2 answers

Configuring gmail, postfix with my domain?

I have a gmail account with my domain (contact@mybus.com) also I have my website at DigitalOcean with postfix working fine. My domain "www.mybus.com" has his dns point to my website at DigitalOcean and I wanted to use my gmail account to receive and…
Guilherme GM
  • 567
  • 2
  • 5
  • 15
-1
votes
1 answer

Postfix: Relay mails from specific domain

I'm using postfix in combination with Zarafa as Groupware (local server) and import mails from an external server to a mailbox on my local server. I do this, because of restricted resources on the external server. So incoming mails at the external…
AndrejDelany
  • 423
  • 4
  • 18
-1
votes
1 answer

Postfix server stopped sending external email

We have a postfix server running on MAC. Sometime yesterday our server stopped sending external email. We can send and receive internally, and we can receive from external. When we sent emails to other domains, though, they just disappear... …
w3bguy
  • 2,215
  • 1
  • 19
  • 34
-1
votes
1 answer

Postfix smtp mail server and client

I have a Ubuntu 14.04 LTS SMTP server running postfix and the postfix is currently sending email correctly. I am looking for suggestions on how to allow the automated system that sends email through the server to send an email to an address on the…
dutchlab
  • 541
  • 1
  • 13
  • 27
-1
votes
1 answer

Distinguishing fake emails sent with PHP via postfix on a CentOS VPS

I am going through my first steps on VPS management and configuration; been able to install PHP, mySql, phpMyAdmin, postfix, etc ... and migrate a Wordpress from an existing shared server to this VPS. Sorry for my question being naive, but when…
BMM
  • 690
  • 1
  • 13
  • 26