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.

5
votes
0answers
10k views

How should I deal with smtp_relay_restrictions in postfix?

I just setup a mail server with postfix and dovecot, now I'm having trouble sending emails with evolution. e.g When I send an email to to@gmail.com, I got an error: NOQUEUE: reject: RCPT from ...
4
votes
0answers
66 views

How to reject email falsely claiming to be from a local address in Postfix?

Let's suppose I run the mail server for example.com and the server is running Postfix on Ubuntu. There are two registered users, alice and bob. Postfix receives an email from badhost.com like so: To:...
4
votes
0answers
482 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 ...
4
votes
0answers
4k views

How to configure postfix to send mail to external SMTP server?

I have a machine with http://phabricator.org/ set up on it and I would like to set up postfix to enable e-mail sending to my company's mailboxes (as for notification emails coming from e.g. ...
3
votes
0answers
1k views

Should double-bounce@mydomain.com be a valid email address?

Our postfix setup uses recipient address verification. Obviously, postfix uses for this process a special email address, defined right here. $ /usr/sbin/postconf | grep double_bounce_sender ...
3
votes
0answers
291 views

Postfix sending hostname needs to be different for different domains

We have an application that generates outbound email for a range of domains. The app servers connect to a part of Postfix servers in a DMZ and these then forward on to filtering in a second DMZ. We ...
3
votes
0answers
888 views

Hosting Dovecot and Postfix Behind nginx?

So I'm looking at setting up postfix and dovecot on a server that is currently hosting some web-sites via nginx, and I've stumbled upon the mail {} configuration option for nginx, but I'm having a ...
3
votes
0answers
1k views

Check & filter outgoing mails in Postfix

I am looking for a way to check outgoing mails with rules like : mails sent to a particular domain mails sent without subject or with a specific subject mails with an attachment of a certain size ...
2
votes
0answers
231 views

Warning in the logs of Postfix: “restriction NNN ignored: no SASL support”. But it does have SASL support

I have postfix + dovecot + pgsql. All has been working. Recently I've changed something in the config to combat spam. Now I see this in the logs: localhost postfix/smtpd[2299]: warning: restriction `...
2
votes
0answers
152 views

postfix ssl cert permission issues

I am setting up a Postfix server on CentOS 7. Selinux would be the obvious culprit, so it is disabled. and I am having the same issue. My certs are stored in /etc/ssl/certs/<domain>. My master....
2
votes
0answers
50 views

Can Postfix handle multiple address extensions like Qmail does (user-ext1-ext2@example.com)?

Qmail and Postfix support address extensions like username-ext1@example.com where emails will be delivered to username, if the delimiter is configured to -. Users can handle mails with .forward files ...
2
votes
0answers
107 views

postfix, recipient_delimiter, backup mx

I've set up a fresh instance of postfix to act as the backup MX to my domains, using a mysql back end. I've loaded the db table that the relay_recipient_maps setting in postfix looks at with my users ...
2
votes
0answers
228 views

Postfix stop continuously

I just successfully configured Sendgrid into a Google Cloud Instance which is CPanel installed on CentOS. Here I have done it. When install Postfix I have to remove currently installed exim4. ...
2
votes
0answers
414 views

Postfix reject unknown recipient

I have a problem with backscatter. Spammers send emails to non existent username @ existent domain hosted on my server. I am trying to abort the session instead of sending bounce messages back to ...
2
votes
0answers
135 views

Restricting what users can send/receive mail to/from off-site destinations

I have around 2000 email accounts. How can I configure postfix in a way that some users can send/receive email to/from the internet and others not. I am following this manual to restrict sending so ...
2
votes
0answers
385 views

Spam in Zimbra OpenRelay

First apologize me for the grammar, english isn't my native language. The problem I have is users from our local zimbra mail are getting spam messages from other email addresses who don't exist, like ...
2
votes
0answers
415 views

Postfix: Outgoing Email Filter + Deliver sent email to a folder

I'm running a filter for incoming email on Postfix that basically sends the email through SpamAssassin and then delivers it to the user by using dovecot-lda. This is happening by editing Postfix's ...
2
votes
0answers
872 views

Postfix SMTP client won't authenticate with AUTH LOGIN

Log extract: 127.0.0.1[127.0.0.1]:11127: 250-AUTH LOGIN PLAIN maps_find: smtp_sasl_passwd: hash:/etc/postfix/sasl_passwd(0,lock|fold_fix): [127.0.0.1]:11127 = XXXX smtp_sasl_passwd_lookup: host `127....
2
votes
0answers
48 views

How to trap spam sent from certain top-level domains?

I'm getting a lot of spam from eu TLD Maybe I could have put a rule set giving a score of say 2.5 or 3 for any mail originating from the .eu TLD; then this score + other factors could have made it ...
2
votes
0answers
2k views

virtualbox mail server postfix+dovecot

I'm setting up a mail server(ubuntu14.4 serverX64) for development/testing purposes (using virtualBox bridged-mode) and I just finished this tutorial and everything seams to work. Now I'm not able ...
2
votes
0answers
921 views

Mails from my server goes directly to spam

I am running an ubuntu server with plesk panel, Mails sent from this server goes directly to spam folder. All records seems perfect like spf, DKIM, Domain key, PTR etc.. I'm really stuck with this. I ...
2
votes
0answers
1k views

Impossible to send mail to microsoft (hotmail, live …)

I cannot send mail to hotmail with my postfix server. I can send and receive mail from gmail and others, but not hotmail. I made an "Authentication Report" on auth-results@verifier.port25.com: ======...
2
votes
0answers
831 views

Postfix/devcot MailServer - not receiving emails

I'm new to linux and unix in general, I've worked with a shared hosting provider over the years where everything was setup for me, including email. I'm now trying to create my own mail server in my ...
2
votes
0answers
737 views

Cannot configure Postfix to receive mail

I try to configure Postfix on CentOs 6. I can send mails from the server just fine, but cannot receive. The Delivery Status Notification that I get is: The error that the other server returned was: ...
2
votes
0answers
219 views

why is FQDN using external IP address

When postfix connects to the FQDN dur.bounceme.net it uses the external IP address: root@dur:~# root@dur:~# tail /var/log/mail.log Aug 28 04:39:45 dur postfix/master[6667]: terminating on signal 15 ...
2
votes
0answers
2k views

postfix queue file write error only when sending emails from smartphone

This might sound weird, but the thing is, that I cannot send emails from my smartphone even though it works from my desktop email client. I double-checked that the smtp settings are correct. This is ...
1
vote
0answers
70 views

Debian / Postfix / Header Checks / Changing Subject based on “To:”

I'm trying to configure a change of subject for incoming emails based on the "To:" address of the (virtual) email address, rather unsuccessfully. I run into two problems. The first problem is that I ...
1
vote
0answers
946 views

Postfix send mail problem “connection timed out”

I have Windows 7 local machine and virtualbox Ubuntu virtual machine. i have installed Postfix on it and configured it, but when I try to send test mail I get the following error (in var/log/mail.log ...
1
vote
0answers
92 views

Postfix server: Mailman email double checked with SpamAssassin

I have set up postfix with spamassassin, and then added mailman for mailing list management, everything on Debian 9 Stretch: postfix: 3.1.8 mailman: 2.1.13 spamassassin: 3.4.1 The problem is that ...
1
vote
0answers
56 views

Issue forwarding email with POSTFIX

I need that emails arriveds from an external email (example "user@external_domain.com"), to an email account on my server (example: "root@my_domain.com"), be forwarded to another external address (...
1
vote
0answers
76 views

Cannot find alternative to sendmail on Windows

On Windows, I used XAMPP, PHP, and Sendmail to be able to send an email from a specific gmail account to another. LAMPP on Linux does not come with Sendmail, so I tried installing it and linking it, ...
1
vote
0answers
188 views

Postfix: How to avoid forwarding spam (Spamassassin + Aliases)

We have a configuration where we have multiple shared IMAP folders (using dovecot) for a given group of people (e.g one for ressort A, one for ressort B). These groups have a mailaddress e.g. a@...
1
vote
0answers
171 views

Create dependency in SysV file to a systemd service

I am running Ubuntu 16.04.3. I have configured that a docker container sends email using the host's smtp (postfix). In order for this to work, I have to add the docker network to postfix's main.cf ...
1
vote
0answers
477 views

Centos Email Server Unable to Send Email

I have a Centos 5 box. My server is running plesk. Individual domains are able to receive emails on plesk created email accounts. However, my server is not able to send emails. I tried to use php ...
1
vote
0answers
39 views

postfix: name service error

postfix/error[2874]: 1398FA00AC7: to=<foo@mydomain.com>, relay=none, delay=0.12, delays=0.1/0/0/0.02, dsn=4.3.5, status=deferred (delivery temporarily suspended: Host or domain name not found. ...
1
vote
0answers
605 views

What is the effect of $mydomain, $myorigin and $myhostname in postfix?

I tried to play with those parameters, but it seems they have no effect on sending mail from Postfix. Basically, my problem was each mail I tried to send got rejected because the sender address didn'...
1
vote
0answers
122 views

Reading local email in Thunderbird without postfix

Is this possible? And if so how? I'm running Debian 9.1 with KDE on my personal computer (which I also don't configure remotely). When opening the /var/mail/username file KMail tells me "The file ...
1
vote
0answers
57 views

Setup mailboxes at external disk with postfix & courier

I have been investigating this for a long time but I'm not able to find a solution: I have an up&running mail server with Postfix and Courier in an Ubuntu Server. I'm using PAM users with a ...
1
vote
0answers
42 views

Postfix Mail User's restriction - specified mail user alone on centos 6.5

I have a mail server in linux and the MTA is POSTFIX. I need to configure the restricted settings in mail users level alone. For Exmaple. My mail server hostname is: example.com and my mail user's ...
1
vote
0answers
439 views

Send mails on Ubuntu 16.04 - Failed to authenticate on SMTP server with username using 3 possible authenticators

I'm trying to send mails on my ubuntu server (from gmail). I have the Starter Cloud package from Scaleway. I have installed sendmail on my ubuntu server with the following tutorial. In my Laravel ...
1
vote
0answers
208 views

Fetchmail fails to deliver mail locally due to enforced STARTTLS

I have setup a local mail server using postfix and dovecot. I now want fetchmail to get my mails from another server and deliver them locally. I am getting errors, however, since fetchmail does not ...
1
vote
0answers
415 views

Trying to run PostFIX mail server. But mail sending in not working

I was trying to setup postfix MTA to use the mail() function in PHP. Using MAMP 4.1 the free version on Mac OSX sierra PHP version 7.1.0 I am not interested to use MAMP PRO and third party libraries ...
1
vote
0answers
126 views

Secondary postfix instance is not listening

I've two postfix instances running on the same server, but just the main IP is listening at port 25. I can send emails with both instances, each one with his outgoing IP. But I can't do: telnet ...
1
vote
0answers
376 views

postfix relay mail from localhost

I am trying to setup postfix with virtual domain forward to dovecot lmtp. The setup should: accept relay from authenticated users only or mail coming from localhost check if sasl user owns the mail ...
1
vote
0answers
87 views

How to delay postfix start on raspbian?

Running postfix 2.11.3 on Raspbian 8 (jesse) and seeing the same problem described here: Postfix does not send mails until the service is restarted I want to try postponing startup of postfix until ...
1
vote
0answers
518 views

Postfix with SendGrid 'Relay access denied'

My email configuration is apparently right, but still I am not able to send emails, through SendGrid, from other places. I think that the problem is about ssl configuration, here is what I find in /...
1
vote
0answers
195 views

Postfix as a MTA, and not being able to receive e-mail

I'm using postfix and I get the following log entry: Transcript of session follows. Out: 220 catch22bbs.com ESMTP In: EHLO mail-it0-f43.google.com Out: 250-catch22bbs.com Out: 250-PIPELINING ...
1
vote
0answers
82 views

How can my postfix/spamcop learn from Gmail 421 rejections?

I have a number of vanity catch-all email domains. Back in the day, that was a good idea, and now it's too late to change for my friends and family. I do not relay out, only serving incoming domains. ...
1
vote
0answers
348 views

Postfix Not sending mail, but can recive

Hey everyone I have an issue with my postfix server not sending emails. The server retrieves emails no problem, but when I go to send an email it just times out. It did sort of work before I added ...
1
vote
0answers
183 views

Microsoft seems to block email from custom domain for any address except one

I have a VPS server at DigitalOcean with a domain. There is a postfix server and a mailman (mailing list server) running on it. Also my personnal email address is @hotmail.fr (nobody's perfect) but I ...