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
3
votes
1 answer

Is it possible for a Java Program to be an Email destination on Linux

Is it possible to have emails received by postfix delivered to a java program? I have a Linux system which uses Postfix to receive emails. I would like to use a Java program to process the raw email messages. In other words, I don't want to deal…
auser
  • 6,307
  • 13
  • 41
  • 63
3
votes
0 answers

Postfix alias for all user names?

Is there something you can put in /etc/aliases that will make postfix send all mail to one user, no matter what the username?
mjgoins
  • 304
  • 1
  • 3
  • 8
2
votes
2 answers

EC2 mail via gmail

I've got a EC2 / centOS vps, it's got postfix / sendmail for pushing out mail. Now, the domain it self is set up on Google DNS, with it's mail records pointing to gmail servers. Gmail is used for primary email / smtp. Back to the EC2, the ec2 does…
Michael Mikhjian
  • 2,760
  • 4
  • 36
  • 51
2
votes
1 answer

Fix Postfix Authentication for Sendgrid?

I'm having trouble configuring Postfix to deliver e-mail via relay to Sendgrid. I get the following error: "Unauthenticated senders not allowed"
Winfield
  • 18,985
  • 3
  • 52
  • 65
2
votes
2 answers

Configuring Postfix relayhost

I am trying to configure postfix for using relay host with the following in /etc/postfix/main.cf: relayhost = [mailtrap.io]:2525 smtp_sasl_auth_enable = yes smtp_sasl_mechanism_filter = plain smtp_sasl_password_maps =…
Bogdan Gusiev
  • 8,027
  • 16
  • 61
  • 81
2
votes
0 answers

Postfix - disable open relay

I set SASL up on my postfix server and ran an open relay test. The relay access was denied (which is what I want) in all cases except when the sender and recipient are both on my domain. I'd like to force authentication in all cases except when the…
gkres
  • 668
  • 1
  • 8
  • 17
2
votes
1 answer

What are these lines of log-parsing Perl doing and how can I come up with something that might work?

This problem comes under the context of pop-before-smtp / Postfix / Dovecot, but if I knew Perl string parsing, I could come up with an answer myself. However, I'm so lost I don't even know the precise question. To wit: We've been using Postfix for…
Richard T
  • 4,570
  • 5
  • 37
  • 49
2
votes
1 answer

ruby on rails actionmailer receive character encoding issues

Rails 3.0.11 ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-linux] mail gem v. 2.2.19 postfix v. 2.7.0 I pipe received emails to an actionmailer. This usually works well unless the received email is not correctly encoded. I have tried multiple…
Florian
  • 373
  • 5
  • 18
2
votes
3 answers

php mail() Goes to spam but when sent via SMTP Server it works fine?

I am currently setting up my webserver so then i can send emails via PHP Code, the problem i have is that the emails sent via php mail() always send to my gmail spam where as when im sending emails via the SMTP Server the same VPS has on it on Gmail…
Ryan Walmsley
  • 369
  • 1
  • 4
  • 18
2
votes
1 answer

Is there a way to use django send_mail but the sender is based on a specific field in a django model?

Currently,I am using gmail's smtp and Django send_mail. EMAIL_HOST = 'smtp.gmail.com' EMAIL_PORT = 587 EMAIL_HOST_USER = 'sample@gmail.com' EMAIL_HOST_PASSWORD = 'samplepass' EMAIL_USE_TLS = True Whenever I use django's send mail, the sender is…
patty
  • 31
  • 2
2
votes
1 answer

Postfix Mail Server - Local accounts and external accounts - Forwarding

This is the issue. I've a postfix mail server which has external email accounts (that exists on both my mailserver and my ISP) and internal use accounts (that only exists on my local mailserver). The problem is when a local account tries to send an…
Matias
2
votes
1 answer

redmine email notifications with my own postfix server

I can't get redmine's email notifications to work. I am running my own mailserver with postfix using some mysql backend for the accounts. I added an account for redmine and tested it successfully using thunderbird. It is configured on port 25 using…
janoliver
  • 7,744
  • 14
  • 60
  • 103
2
votes
2 answers

With sendmailR, how can I specify a recipient/sender name along with the address?

I am using sendmailR to send emails but I cannot get it to work with a name associated with the email addresses, like "Sender name" With Postfix as the SMTP server, it throws SMTP Error: 5.5.4 Unsupported option:…
Erwin Mayer
  • 18,076
  • 9
  • 88
  • 126
2
votes
2 answers

HTML emails sent through rails arrive as attachment

Following problem: Whenever I try to sent a HTML-email through rails, it arrives at my googlemail-adress as an empty email with the content as an attachment. I'm not quite sure what I'm doing wrong here. Setup as…
Rhywden
  • 642
  • 7
  • 20
2
votes
1 answer

SBCL error with cl-smtp

This is a recent error that I can't find any documentation for. It might not be cl-smtp specific, but it occurs each time I attempt to evaluate (cl-smtp:send-email "localhost" "source@email.com" "test@email.com" "TEST" "Testing email from Common…
Inaimathi
  • 13,853
  • 9
  • 49
  • 93