Free and open source mail transfer agent (MTA) that routes and delivers email. When asking about postfix problem, please include the relevant maillog lines and output of the following command: "postconf -n" (content of main.cf) and/or "postconf -M" (content of master.cf)

learn more… | top users | synonyms

-2
votes
2answers
84 views

Postfix - How to prevent external clients from using my server as a relay? [closed]

I have a postfix server installed on Ubuntu 14.04. A PHP script running on the machine uses it to send outgoing email. Additionally, I use postfix to receive mail sent to a local account, which is ...
-1
votes
1answer
44 views

postfix conditional canonical maps

i have a postfix MX and i need to make the following logic: if a message arrives with aaa@example.com in the rcpt to header, then i need to change the from header to bbb@example.com. any ...
1
vote
1answer
36 views

How do I know if Postfix has MySQL/PostgreSQL support?

I'm not sure if my Postfix installation has MySQL or PostgreSQL support. How do I find out?
0
votes
1answer
73 views

DKIM signing key

when I create DKIM key like this: sudo opendkim-genkey -s mail -d example.com -s specifies the selector and -d the domain, this command will create two files, mail.private is our private key ...
1
vote
1answer
63 views

mail command : does content-filter in postfix works?

I use Postfix in my machine (linux). When i send a mail to a local user with telnet localhost 25 in command line, my mail is parsed by a content-filter (for example: spamassassin) => no problem. But ...
3
votes
1answer
251 views

Restricting outgoing mail to specific domains in From Address using Postfix

For reasons that make me want to hurt myself, an application I am required to support has the ability to send mail using a 'MAIL FROM' address of any domain. Because I am unable to lock down the ...
2
votes
1answer
136 views

make Postfix to bcc mail twice

I am running a Postfix mail-server, to scan mails I forward them to amavis, after the scanning amavis forward the mail to ciphermail (a program that automatically de- and encrypts emails). Ciphermail ...
-1
votes
3answers
79 views

Postfix setup from domain [duplicate]

I'm trying to sending email from nagios monitoring to some email addresses. But I have a problem with setup my from domain when I'm sending an email every time my from email address seems like this: ...
0
votes
1answer
478 views

Postfix: fatal: no SASL authentication mechanisms (unable to telnet)

I am setting up Postfix with Dovecot for a mail solution. When I try to telnet localhost 25 the connection closes. The error seen in the log is: postfix/smtpd[22958]: initializing the server-side ...
1
vote
1answer
234 views

Authentication with Dovecot, SHA512, and salts

I have a database that has a username, password, and password salt in it. The password is hashed using SHA512. The data in my users database looks like this: user = testuser password_hash = ...
0
votes
1answer
400 views

Postfix: As a smarthost, how can I limit incoming mail to sender domain and sender IP?

I'm running a Postfix+Dovecot service on Centos 7 with a few unrelated virtual domains. This same Postfix server is also set as a smarthost (relay) for IP 192.0.2.2 and 203.0.113.2. Right now, ...
1
vote
1answer
284 views

Postfix mail sent to SPAM in Yahoo and Outlook (SPF, DKIM, DMARC also configured)

I have implemented DMARC in out email server and got the response from some of the email domains as follows, <?xml version="1.0"?> <feedback> <report_metadata> ...
0
votes
1answer
72 views

Make postfix trigger a php script using always_bcc

I have been having a VERY hard time with this, have searched everywhere, and in utter desperation am posting this question. I am using postfix and dovecot on ubuntu 12.04. I am trying very hard to ...
2
votes
2answers
137 views

Forward email to other servers if the recipient doesn't exist in alias map

This is the first time I am starting to write a more complex postfix as I hate setting up mail settings without knowing what to do. But right now I am required to do. Here the setting: For internal ...
5
votes
1answer
172 views

virtual_alias_domains - how to use different IP addresses when forwarding mail?

I host 2 web domains (domain1.com and domain2.com) on a CentOS 6.6 Linux server with 4 IP addresses. Postfix 2.6.6 accepts mails to info@domain1.com and info@domain2.com and forwards them to ...
1
vote
1answer
127 views

How to redirect spam to a different email address (spamassassin/postfix)

I have setup postfix and spamassassin on Ubuntu 14.04. I would like to set it up such that if the score of a message is above 5.0, it goes to one email account on my mailserver. If it's less that ...
-1
votes
1answer
54 views

Sending emails from non-configured domains with postfix/dovecot

I am trying to setup a mail server with postfix/dovecot. I can currently receive emails and send emails from domains that I have configured. I have a lot of domains and my email setup is simple - ...
1
vote
1answer
125 views

Postfix lookup failure: works from localhost, not on other nodes in LAN

I am getting temporary lookup failure for the recipient address when trying to send email using Postfix and Gmail from a machine other than the host, on the same network. It works just fine when ...
0
votes
1answer
192 views

Email configuration - DigitalOcean, CloudFlare, Postfix

I have a website (safirasaloes.com.br) hosted at DigitalOcean and DNS set at CloudFlare. I'm trying to receive e-mails at contato@safirasaloes.com.br with Postfix but I can't. The big problem here is ...
0
votes
1answer
113 views

Postfix - 5.7.1 relay access denied

I'm running postfix on RHEL6: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.6 (Santiago) # rpm -q postfix postfix-2.6.6-6.el6_5.x86_64 # I'm trying to implement following: ...
0
votes
1answer
225 views

Can't receive emails to my mail server

I created a mail server, following this tutorial: https://www.linode.com/docs/email/postfix/email-with-postfix-dovecot-and-mysql , I configured the email on my email client, SMTP and IMAP and both ...
2
votes
2answers
193 views

Relay host based on destination MX record

I wish to set up Postfix to use an external relay depending on the destination hostname, ie: If destination hostname is *.outlook.com, use relay some_smtp.example.com If any other destination ...
0
votes
1answer
56 views

Postfix/Dovecot on a VM. Problems with understanding port fowarding

I've set up a mail server with postfix and dovecot on a virtual machine running debian 7. At first I basically made a seperate network with a host-only adapter , so host and guest were in the same ...
0
votes
1answer
265 views

Postfix / Dovecot not receiving e-mails in Ubuntu 14.04

I've just setup a VPS with Ubuntu 14.04 at Linode. I have installed Postfix, Dovecot & SquirrelMail to handle E-mail. I am able to send e-mails to other accounts (GMail & Yahoo!) but when I ...
0
votes
1answer
209 views

Postfix logging “Fatal: no SASL authentication mechanisms”

I was trying to close the open relay postfix server I had running, as there was spam coming from it, and now I can't get e-mails. The message I get in the log when someone tries to send an email is ...
2
votes
1answer
126 views

Postfix Rejects incoming bounce notifications ( Recipient address rejected: User unknown in local recipient table )

So I've set up a postfix email server, I can send, I can receive. But I noticed some interesting activity in my logs. I was testing an accidentally sent to a non-existent email address, now the ...
-1
votes
1answer
239 views

Why blocks gmail my postfix relay? [closed]

Here is partial postfix config: relayhost = [smtp.gmail.com]:587 smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous ...
2
votes
1answer
87 views

postfix parameter default_privs

I have set default_privs=myuser in main.cf, which is a perl script, executed in the context of this user. In the perl script I added some debug to print out the user: my $exec_username = ...
0
votes
1answer
75 views

Mailserver creating mail accounts upon “User unknown in virtual mailbox table” on local delivery

I'm running an older Postfix and Courier mailserver with virtual domains. I recently experienced that local delivery (using webmail) to a not existing mailbox would result in that actual mailbox to be ...
1
vote
2answers
179 views

Can't receive mail with postfix virtual alias

I can't receive mail on the virtual aliases (normal email works in and out), i didn't try the virtual domains but that's what i was going for to get to work. So i have a Debian Wheezy 7.8 Build: ...
0
votes
1answer
84 views

124 emails sent at once while one should be sent every five minutes by cron if a certain web service stops running

So I set up a simple script to send an email alert when a certain web service stops running. It has a simple flow of: test = $( curl [address] | grep [a certain string in response] | wc -l ) if [ ...
0
votes
2answers
48 views

Forward mail to “root” user even if RCPT TO field is different? (Postfix)

I have a script that basically connects via telnet to my postfix server and sends email. Of course, it accepts only email when the field "RCPT TO" is like "root@example.com" or "user@example.com". Is ...
1
vote
1answer
64 views

Comparison of methods to send Postfix emails to Procmail

I want to begin using Procmail in order to perform filtering on specific accounts in virtual domains as received by Postfix on my Centos 7 server. In various articles it seems that there are two ...
0
votes
1answer
110 views

Postfix catch-all email, save to combined file

We're running a spam trap / honeypot, and by using the amazing guidance of the members here, I've been able to configure our Ubuntu server running Postfix 2.11.0 to catch all inbound email, regardless ...
-1
votes
1answer
84 views

Sendmail (or postfix or somebody) not speaking SMTP

I've got a Linode Debian server which tries to send email (normally through PHP, but mail from the command line doesn't work either). But the mail never arrives successfully. My two clues from people ...
2
votes
1answer
228 views

Postfix/Dovecot: SASL LOGIN authentication aborted

I use Postfix together with Dovecot (auth/LMTP) on my mailserver. Everything is working fine, but I notice several warnings in the log-files each day: postfix/smtpd[4169]: warning: ...
1
vote
1answer
105 views

Postfix: For a certain address, only allow emails from a certain domain

I've set up my server so that, in order to track down the source of spam (and block it), the email address that I use to sign up for stuff is service_name@example.com (e.g. for Facebook, it would be ...
1
vote
2answers
194 views

Why do I have to manually copy /etc/services and /etc/resolv.conf into /var/spool/postfix/etc?

I encountered this problem with my Postfix install: https://www.virtualmin.com/node/23909 i.e. I was getting the error: postfix/smtp[130]: fatal: unknown service: smtp/tcp and like at the url ...
0
votes
1answer
118 views

How to drop orig_to using postfix virtual domains?

With the virtual domains, the final mailbox receiving the email gets the orig_to email address in its header. Is there a way to prevent this (i.e. address translation without keeping the orig_to)?
0
votes
0answers
21 views

Reject outgoing mail if sender is X and recipient is Y [duplicate]

Is there any way I can create a list to not send an email if the sender is X and the recipient is Y? I see options to create a reject list for either, but not a combination.
1
vote
2answers
568 views

How to enable RBL checking in postfix?

How to enable RBL filters in postfix? My current configuration: submission inet n - n - - smtpd -o syslog_name=postfix/submission -o ...
0
votes
3answers
344 views

Certificate on port 25 when trying to secure SMTP with POSTFIX

Background I think I am close to getting my POSTFIX setup to my liking. I've run some SMTP online checks and my SMTP passes all the basic security tests. I get a certificate warning in Thunderbird. ...
2
votes
1answer
51 views

Postfix silently ignoring recipients

I have a weird issue wherein an email is received to my mail server running Postfix with multiple recipients on the same domain and only one of the recipients will receive the message. An example ...
0
votes
1answer
513 views

Postfix in Docker container not forwarding virtual aliases

I am trying to configure Postfix for the first time. I do not need mailboxes, I want only virtual aliases, forwarding info@example.com --> myname@gmail.com My Postfix is running in a Docker ...
1
vote
1answer
142 views

Postfix very slow delivery

I installed postfix + dovecot + mysql + amavisd + spamassasin. Everything works fine (mail is sent and received) except that the received mail stays too long in the queue (for about 15 minutes) before ...
0
votes
1answer
50 views

Postfix with external SMTP

I'm trying to install Request Tracker and configure it to use an external SMTP server to sent mail notifications. I've already put postfix to send emails using this tutorial, but it keeps sending then ...
1
vote
1answer
33 views

Sympa suddenly changed the domain of all lists

we have on our server sympa with postfix installed. Everything was working fine for about 6 months. On our server were about 100 lists with the format listname@foobar.de Since yesterday the format of ...
1
vote
1answer
39 views

Postfix after-queue filtering for local destinations only

I need to run all mail addressed to local domains (as defined in vmail_domains) through a simple after-queue content filter which then re-injects the processed emails back into Postfix via sendmail. ...
0
votes
3answers
334 views

postfix/dovecot - run script when mail is received

I need to implement solution on my postfix/dovecot server which will execute bash script every time message arrives. For this purpose I did following things in master.cf configuration myhook ...
0
votes
1answer
791 views

Mail sent from my POSTFIX mail server goes to gmail spam [duplicate]

I have set up a POSTFIX server on my VPS and mail sent trough it is going to Spam in gmail. Here is my message: Delivered-To: sgenov@gmail.com Received: by 10.140.43.75 with SMTP id d69csp350632qga; ...