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.

266 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
2answers
4k views

Restricting who can send to an email address

I'd like to do so that only certain From: addresses can send to an email address (mailing list) on an Ubuntu system running Postfix. Understanding the Postfix the manuals are requires a lot of ...
5
votes
0answers
298 views

Why does postfix main.cf contain configuration like readme_directory, manpage_directory etc?

I am setting up a mailserver with Postfix. While configuring it, I see the following values in main.cf. What causes these entries to appear? manpage_directory = /usr/share/man ...
5
votes
0answers
13k 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
73 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
2answers
2k views

Postfix does not check “From:” address with sender_login_maps

I am trying to set up a postfix configuration where (virtual) users are allowed to only send with "From:"-addresses they own. So I put reject_authenticated_sender_login_mismatch into ...
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 ...
4
votes
0answers
1k 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 ...
4
votes
0answers
5k 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
479 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 ...
3
votes
0answers
2k 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
390 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
2answers
318 views

Is it possible to redirect root email to axigen internal e-mail?

For a few month I've been using Axigen webmail as my main e-mail server. For the last month I was looking for a way of redirecting my root e-mail, as well as my crontab outputs into an internal ...
3
votes
1answer
2k views

How can I configure Postfix to silently drop/discard/reject mails that were sent from specific users to an external address?

How can I configure Postfix to silently drop/discard/reject mails that were sent from specific users to an external address? It should work only for specific users E.g: abc@localdomain can send ...
3
votes
1answer
4k views

SMTP Auth - SASL on Dovecot, Postfix and CentOS 6.2 (and Open-Xchange)

I am trying to get open SASL to work on CentOS 6.2. I followed this tutorial: http://wiki.centos.org/HowTos/postfix_sasl I suspect it works perfectly for CentOS 5.x so all I really need is an update ...
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 ...
3
votes
4answers
2k views

Installing Postfix conflicts with MySQL-server package

I had to install MySQL Server community on our server (team lead did not want MariaDB due to support or something). Therefor I removed MariaDB which in turn also removed Postfix. Now I need to ...
2
votes
0answers
19 views

How to redirect, in postfix, outgoing mails that get blocked, to another email address?

I'm a happy user of a postfix mail server. But, every now and than an outgoing mail is blocked by the receiving system. Be it that that system considers the mail as spam, or for some other reason. I ...
2
votes
0answers
38 views

Automatic replies with dovecot and pigeonhole

I would like to send automatic replies to e-mails with certain characteristics and it seems that the dovecot pigeonhole plugin can do this, but I'm confused about what I need to get it to work. I now ...
2
votes
1answer
191 views

fail2ban will not ban again after first one expires

I couldn't make fail2ban to block IP address coming up in postfix log on Debian 9. I rewrote the failregex to be like this: NOQUEUE: reject: RCPT from (.*)\[<HOST>\]:(.*) 550 5.7.1 Service ...
2
votes
0answers
604 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
412 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@...
2
votes
0answers
72 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
349 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 ...
2
votes
0answers
149 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
296 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
1answer
324 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 ...
2
votes
0answers
225 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
936 views

Postfix mailbox_transport and mailbox_command

I have Postfix set up in main.cf to use mailbox_transport=lmtp:unix:private/dovecot-lmtp as LDA, which works fine. I also need to enable mailbox_command in order to pass internal sanity checks as ...
2
votes
0answers
535 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
539 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
2k 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
1answer
1k views

Postfix - domainkeys=neutral (no sig)

I have everything else working fine (SPF and DKIM) but I can't get domainkeys=neutral (no sig) to pass! domainkeys=neutral (no sig); from=foo.com; dkim=pass (ok) I know what some people are already ...
2
votes
0answers
701 views

postfix sender mailaddress rewrite based on recipient mailaddress

I use postfix to send out mails to my contacts. Usually I use the info address for this and I've set a rule to rewrite my internal address into a valid mail address. So for example me@localhost gets ...
2
votes
1answer
1k views

Displaying emails with mutt

After being able to retrieve emails from an IMAP account on a remote mail server using fetchmail and POSTFIX as an MTA, I am able to see the emails in the spool folder /var/spool/mail/ghassan in a ...
2
votes
1answer
1k views

How to configure SMTP with postfix with user and pass

I'm looking for a way to enable postfix (or any other mail delivery system) in which I can easily have aliases (user and domain aliases), and in which I can have an external user send mails through ...
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
1k 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
881 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
787 views

Postfix: restrict all external access but allow for only mynetworks

How can I restrict access for an internal domain but allow all access for me the administrator? All users should be blocked from communicating outbound and no external domain may contact them, but I ...
2
votes
0answers
787 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
1answer
382 views

Redirecting mail to Gmail

I'm trying to set up the redirection of all emails to my VPS to my Gmail account because it's easier to handle. At the moment though, it is not working, and I can't see why. I have tried a few ...
2
votes
0answers
221 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
1answer
970 views

Information about the 1630/master app

When I run $ sudo netstat -a --programs | grep LISTENING | grep 1630 I will get this output. Do you know what good are processes running under this app name? Why they are running on my system and if ...
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 ...
2
votes
1answer
70 views

Stopping brute force attempts

"postfix/smtpd[28164]: warning: unknown[45.227.253.210]: SASL PLAIN authentication failed: authentication failure" Normally I'd use fail2ban however it seems that under the openvz container fail2ban ...
2
votes
1answer
2k views

Postfix/Dovecot import mail from Gmail

I setup an iRedMail server on Ubuntu 14.04. My company currently uses Gmail but wants to switch to a cheaper solution. I set up the server with an LDAP DB, and I'm using Postfix and Dovecot for the ...
1
vote
0answers
23 views

Postfix: sending outgoing mail through port 465/587 locally

I've got a mail server set up using postfix, dovecot, opendkim, and spamassassin. After a bit of hassle, I managed to get incoming mail working--I even set this account up using that server. However, ...
1
vote
0answers
28 views

Postfix 535 Authentication credential invalid with gmx.net

Without changing the config, I started receiving the above error meassage End of April 2021. postfix/error[25237]: 55BF41A1B13: to=<?????@gmy.de>, relay=none, delay=240000, delays=239999/0.68/0/...

1
2 3 4 5 6