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

1
vote
2answers
55 views

Is it safe to remove write permission from postfix main.cf?

While I track down what facility is re/setting mydomain to "local" I'd like turn main.cf into a read-only permissioned file. At present the permissions are 644, owned by root. Is that safe to do? ...
1
vote
1answer
46 views

Postfix SMTP recipient filter not filtering

I have setup Postfix with a list of blacklisted recipients, so that the Postfix server should not relay mail to them (smtpd_recipient_access parameter in main.cf). The addresses are properly listed ...
2
votes
1answer
33 views

Postfix replaces “from” when using simple filtering

I'm trying to configure Postfix (on a RHEL 6.5) to modify the content of incoming messages and forward the emails to a remote server. I used a Perl script piped to Postfix to modify the content, and ...
1
vote
1answer
29 views

smtpd_recipient_restrictions works but not always

I have POSTFIX set up to filter certain email addresses. The main.cf file contains: smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/blacklist, permit_mynetworks, ...
-1
votes
1answer
133 views

Postfix- Host or domain name not found - looking up wrong domain name

I want to know where i can configure the following. I want postfix to lookup the host: myexample.com, but instead it is looking up Host-Wordpress-01. Which is my digitalocean droplets name. ...
2
votes
1answer
360 views

NOQUEUE: reject: RCPT from on freebsd and postfix

I am building a server using this config -> http://www.purplehat.org/?page_id=4 and when trying to test basic email capabilities I get -> NOQUEUE: reject: RCPT from when try to send a test email. ...
2
votes
1answer
57 views

configure Postfix to send diferent user through same relay depending on domain

I need to configure postfix to send through a relay server but with different user depending on the sender domain. For example: domain1.com userA passwordA domain2.com userB passwordB I need to ...
1
vote
1answer
87 views

postfix | sender_bcc_maps for specific emails (with attach)

How, if possible, copy all incoming mail with attachments to mybackup@example.net If I use sender_bcc_map = type:table - all mails will be copied, without attachments too. I do not need that, I just ...
0
votes
2answers
251 views

Postfix 2.9 or sendmail, outgoing spam prevention (check if sender exists)

Operating System: Linux Ubuntu 12.04 TLS Context: Plesk 11.5 Utility: Postfix 2.9.6 (updates restricted by Plesk 11.5 distribution) I would like Postfix to check the 'sender' field of every ...
0
votes
1answer
93 views

Postfix/OpenDKIM not signing PHP sent emails

We installed SPF, DKIM, and DMARC records for email security/verifiability. When sending through the console or a mail client like Outlook or Mac's Mail it processes fully and has all three pass. ...
1
vote
1answer
73 views

Postfix smarthost, allow relay by dynamic IP

I have several servers (web, mysql, java) that have postfix installed which are set up to relay to a smarthost postfix server. DYNAMIC IP STATIC IP INTERNET ...
-1
votes
1answer
32 views

POSTFIX Not delivering mail to one box

One of my users has been experiencing a weird problem. He is on a distribution list and does not receive any of these emails. His mailbox is spelled correctly in the mail headers, and other employees ...
6
votes
1answer
983 views

amavis cronjob throwing an error out of nowhere

Can someone explain why amavis cronjob is suddenly trowing the following error? Cron <amavis@bee> test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync rules: ...
3
votes
1answer
148 views

Configure Barracuda Spam Filter behind Postfix to use client IP when do RBL-checking

I have the following setup: Internet -> Postfix Mail setup as Proxy -> Barracuda Spam Filter -> Microsoft Exchange I have tried searching through the documentation and configuration panels to see ...
2
votes
2answers
161 views

What is telling me postfix with this error: warning: connect #n to subsystem private/proxymap: Connection refused

Can anyone tell me what's postfix telling me with this error? Feb 9 13:08:59 hostname postfix/postfix-script[23077]: starting the Postfix mail system Feb 9 13:08:59 hostname postfix/master[23079]: ...
1
vote
1answer
148 views

How to interpret postfix logs on Ubuntu

I just installed postfix on my server which runs Ubuntu 14.04.1 LTS. I am a little confused as to how I should interpret the postfix logs located at /var/log/mail.log. Firstly, one of the reasons I ...
-2
votes
1answer
86 views

How can I avoid being classified as spammer when I forward mail to a gmail account? [duplicate]

Update: The link pointed to by the "duplicate" initially didn't seem like the same problem to me, because the post talked about blacklisted "domains" not blacklisted "IP addresses." However the main ...
1
vote
1answer
62 views

Postfix doesnt apply virtual mailbox rules when external domain sends email

I set up my Postfix to use virtual mailboxes. When I telnet the mail server and send an email from that, it works flawlessly (both when on the mail server and telnetting from a remote client). The ...
2
votes
1answer
60 views

How can postfix hash: databases be replaced by static: or inline:?

What is the syntax to replace a postfix hash-Database, for example domain.tld PREPEND my-header: foobar with a static map? docs define it as Example: "inline:{ key=value, { key = text with ...
2
votes
2answers
99 views

Debugging a Postfix Saslauthd PAM-PGsql authentication failure

I've set up pam-pgsql to lookup passwords in my database for Postfix via Saslauthd. I can test credentials using the command line: $ sudo testsaslauthd -u user@email.com -p password 0: NO ...
0
votes
1answer
29 views

Dynamically set SRS_DOMAIN

I have a mailserver forwarding mail and using postsrsd for SRS. Since postsrsd uses postfix's mydomain setting to alter the Return-Path, is there a way to set the SRS_DOMAIN for forwarded mail based ...
-1
votes
1answer
29 views

spf record fail on forwarded mail

I've set up Postfix, Dovecot and MySQL according to this tutorial from linode. In the virtual aliases table I have an account which forwards to my gmail. Because these messages are then being ...
-2
votes
2answers
70 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
35 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
30 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
68 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
45 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
143 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
120 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
75 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
279 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
196 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
242 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
206 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
64 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
108 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
149 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
109 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
47 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
103 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
168 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
94 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
168 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
122 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
47 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
165 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
183 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
108 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 ...
-2
votes
1answer
147 views

gmail blocking 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 ...
1
vote
1answer
72 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 = ...