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.

Filter by
Sorted by
Tagged with
14
votes
1answer
44k 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 ...
14
votes
1answer
34k views

Postfix: disable authentication through port 25

When using Postfix and IMAP on a mailserver, at least 3 ports are usually opened 25 smtp : incoming emails from anybody (whole internet) 465 smtps : outgoing emails from authorized users (to the ...
4
votes
2answers
1k 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 ...
7
votes
3answers
7k 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 ...
2
votes
1answer
16k 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
1answer
8k 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 ...
4
votes
2answers
12k 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 ...
0
votes
0answers
103 views

Sendmail (by postfix) is not working on Ubuntu

For about 2 days I'm trying to configure Ubuntu so that I can send an email, but when I type in: echo "Subject: sendmail test" | sendmail -v my@email.com I'll get: postdrop: warning: unable to look ...
45
votes
9answers
68k 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 ...
10
votes
4answers
30k 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 ...
4
votes
3answers
4k 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 ...
12
votes
8answers
82k 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 ...
11
votes
6answers
28k 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
2answers
4k 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
653 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
688 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 ...
5
votes
1answer
4k 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
4k 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 ...
4
votes
1answer
10k 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&...
3
votes
1answer
6k 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 ...
3
votes
1answer
4k 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
4k views

extracting attachments from mail that is coming to my postfix inbox

How do I extract attachments from mails arriving at my postfix mailbox and preferably send the content of the attachment to another email account? I am interested in being able to acquire/read the ...
2
votes
3answers
2k 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 ...
2
votes
2answers
2k 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: ...
2
votes
2answers
3k 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
0answers
98 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 ...
1
vote
1answer
3k views

Relay access denied

postfix/smtpd[15709]: NOQUEUE: reject: RCPT from mydomain[192.166.218.190]:454 4.7.1 <mailongmail>: Relay access denied; from=<mailondomain> to=<mailongmail> proto=ESMTP helo=<...
1
vote
1answer
1k 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
1answer
1k 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
0answers
2k 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,...
0
votes
1answer
2k 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
4k 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 ...