Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [postfix]

Postfix is Wietse Venema's mail server that started life at IBM research as an alternative to the widely-used Sendmail program.

12
votes
1answer
34k views

Configure postfix to send and receive to and from localhost

Does anyone know what needs to be configured for postfix so that emails can be sent to localhost and received from localhost? e.g. send an email to user1@localhost will: result in user1 receiving ...
4
votes
2answers
456 views

I can't send email via my own Postfix anymore due to enforced restrictions that I made

Until recently my server with Postfix has worked well. Then I enforced some restrictions to a) combat spam b) disable sending emails to me on behalf on my own name -- I have begun receiving emails ...
6
votes
2answers
3k views

Postfix: prevent users from changing the real e-mail address

My postfix e-mail server is finally working well. Now, I need to prevent users from forging their e-mail addresses in the client programs in the "from" field in the header, because a user can send ...
3
votes
1answer
3k views

How can I have multiple email accounts from different domains using Postfix?

I just made it through this helpful article and successfully have my mail server set up with a single domain. What I'm wondering now is how I can be able to add multiple email account for different ...
0
votes
1answer
6k views

setting up a relay port for postfix smtp on CentOS 7

A CentOS 7 server has postfix, dovecot, and mailx installed. I am able to make an IMAP connection to the server from my remote Thunderbird client running on my local devbox. But I am not able to ...
34
votes
7answers
50k views

postfix/smtpd: warning: connect to Milter service unix:/var/run/opendkim/opendkim.sock: No such file or directory

I have problem with postfix on debian after upgrading from squeeze to wheezy. Postfix was configured to sign messages using dkim-filter. Before update, everything was working flawlessly, now it fails ...
3
votes
3answers
3k views

How to install postfix for sending mails to admin only?

I have a VPS running Ubuntu 13.10 on Digital Ocean. I'd like to install postfix on the server, but I want it to be able to send e-mails only to my e-mail address whenever a system message wants to be ...
10
votes
5answers
22k views

Postfix doesn't send mail, complaining about “Host or domain name not found”

I followed these instructions in order to send mail and here's the Postfix log: Sep 26 00:46:24 tshepang postfix/smtpd[5728]: 8EE2464931: client=localhost[127.0.0.1] Sep 26 00:47:44 tshepang postfix/...
8
votes
3answers
21k views

Run script on receipt of email

I run a Postfix/Dovecot mail server for personal use. There's only a handful of actual mailboxes, essentially just postmaster@domain.com and username@domain.com. I frequently use the virtual file to ...
7
votes
2answers
3k views

Postfix + SpamAssassin: Incoming mail headers changes

I made a Postfix + SpamAssassin setup following the instructions most websites recommend for this kind os setup. Basically I edited my master.cf to add: smtp inet n - - - ...
5
votes
0answers
402 views

Mail Server send/receive issues [closed]

I have set up a mailserver using Postfix, Dovecot as my SASL and Rainloop as my WebClient. I'm using MySQL (after asking my last question) for my user accounts and passwords, and it's working properly,...
4
votes
0answers
480 views

Mail Server user management issue using Postfix+Dovecot+RainLoop

I'm using mail server using postfix+dovecot (over TLS/SSL), RainLoop as my WebClient, and using auth-system.conf.ext so user's password will be read by/from pam. Consider at least 10 users using this ...
8
votes
8answers
61k views

Helo command rejected: need fully-qualified hostname Error

My mail server is in some blacklist cause of spams. I reconfugured postfix. Aften then My customers get this error they can't send emails. 404 4.5.2 <PLLAMNAZIFE>: Helo command rejected: need ...
1
vote
1answer
12k views

Mail filtering with procmail in a postfix/dovecot system with virtual users

I had a postfix/dovecot system with mail users working. After unsuccessfully following a few tutorials online to enable procmail, now I have an unusable system. What I want is to enable procmail ...
0
votes
0answers
82 views

How to install Postfix in an all default way (no setup wizard) and to be used with no email DNS records?

The following question is a follow up to this question. In a latest Debian 9 stable I desire to install Postfix to send email from my machine to my very own Gmail account by the quickest install ...
6
votes
1answer
2k views

Postfix configuration - keep the envelops

I have a postfix server that delivers mail and send a copy of the outgoing mail to a second server for content analysis using the following configuration (addresses and IPs have been replaced): main....
4
votes
2answers
9k views

sending email to IP address via postfix

My friend and I have configured two Postfix mail servers on our laptops. We succeeded in sending mail to a real network (to some Gmail accounts) from our computers; that was the easy part. We now ...
4
votes
1answer
1k views

Can I read /var/mail with a GUI?

I can set up local-only mail accounts using sendmail or postfix, and messages will be stored in /var/mail/USERNAME and readable in a terminal window using mutt. I tried setting up a couple of MUA ...
4
votes
2answers
2k views

What is the correct helo for a smtp server that does not receive mail and does not have a FQDN?

What is the legal and correct helo for my SMTP server. Out going email only. Behind a NAT with no inbound ports open. SMTP server does not have a FQDN. Send mail for 2 different domains We are a ...
3
votes
3answers
1k views

(Raspian) DHCP startup race conditions - lots of service failures at startup (no DNS for ~5-10 seconds)

(Edit: This applies to much more than postfix; it's just where I noticed/debugged it) I've installed postfix, but when it starts up and creates its chroot, it gets an empty copy of /etc/resolv.conf ...
3
votes
1answer
3k views

Block local (unix) users from sending mail

Is there a way to block a local/unix user (or a list of local users) from sending mails via mail command (or maybe even in postfix, which is the MTA I have).
3
votes
1answer
7k views

CLIENT wrappermode (port smtps/465) is unimplemented

I am getting the following error when I try to send email using a relayhost from a CentOS 7 server using postfix: Oct 19 19:53:08 localhost postfix/pickup[7174]: 64DAF1A53CB: uid=1002 from=<me&...
2
votes
1answer
3k views

How to change the email address Postfix sends out as

I currently use Postfix on an Ubuntu machine that uses Nagios for monitoring. I'd like to change the email address that Postfix uses to send out. Postfix just relays all its email through our ...
2
votes
2answers
2k views

How to send mail from a remote SMTP host?

I have Postfix suite installed locally on Ubuntu 10.10. I can send/receive mail to my local address, e.g. user@local.com. I'm given credentials to a remote mail server mailbox, e.g. other@remote.com....
1
vote
1answer
874 views

Why postfix doesn't verify the sender is who they say they are using reverse dns, SPF or DMARC?

Making sure postfix isn't an open relay, I tried to send a mail from my mail address towards my mail address, the telnet log goes like this: Resolving hostname... Connecting... SMTP -> FROM SERVER:...
1
vote
1answer
813 views

enabling smtp on port 465 and imap on port 993 for webapps running on centos 7

A CentOS 7 development server is used for prototyping webapps that send and receive email using JavaMail to connect with a remote mail server elsewhere on the internet. The remote mail server uses ...
1
vote
0answers
1k views

Postfix does not send mails until the service is restarted

When I restart my server, postfix starts up - I can verify this by doing postfix status. It says "the Postfix mail system is up and running." When I try to send an email from a PHP script after that,...
1
vote
2answers
1k views

Redirect specific e-mail address sent to a user, to other email-recipients

I'd like to know if it is possible to configure postfix to redirect to many email addresses (including the original recipient) instead of only one? Here is my scenario: When an e-mail is: Sent from: ...
0
votes
1answer
1k views

Postfix Root email forwarding to external address as bcc only

I have set up postfix to relay proxmox messages through my gmail account and used aliases to forward all my root email to an outside address. When using sendmail command the email can be seen in the ...
-1
votes
3answers
3k views

unable to view postfix email from centos 7 command line, why not?

I have postfix installed on a development box and I used the parameters from this other posting to configure postfix to work on localhost only. But the other posting does not explain how to send ...