Postfix is Wietse Venema's mail server that started life at IBM research as an alternative to the widely-used Sendmail program.

learn more… | top users | synonyms

2
votes
1answer
131 views

Postfix stops working when /var mounted with noexec

I have /var on a separate partition, mounted with noexec,nodev,nosuid. Sending email through postfix does not work, I have following errors in my log: postfix: fatal: unknown service: smtp/tcp ...
0
votes
2answers
147 views

Do we need to configure postfix for using Google Apps gmail?

Do we need to configure postfix to use Google Apps gmail account or adding the correct MX records is sufficient. I'm trying to use Google Apps gmail account for my domain. Hosted on CentOS 6 VPS. I ...
1
vote
2answers
477 views

Redirect mail adressed to specific address to individual mail servers - postfix

My current set up: mailserver1 mailserver2 (both serving the same domain) and user1 user2 I want do redirect all mails which are addressed to user1 to mailserver1 and the same for user2 to ...
2
votes
2answers
57 views

allow mails to one address only from local server

On my companies mail server there is a mail address everyone@example.org which sends a mail to every user which is useful for internal communication etc. I want to restrict this recipient to only ...
3
votes
1answer
282 views

How to config Postfix to prevent sender spoofing?

At work, I'm facing security risk with the mail sender spoofing. I have a relay mail server which accepts mail relay from all server subnets. If an user in a normal server sends mail within command ...
1
vote
1answer
412 views

Send all local mail to a single external e-mail

I am trying to send all local mail to a single external e-mail, using Google's SMTP servers. Using Google's SMTP servers work, as I am able to send mail to external addresses work using mail from ...
1
vote
0answers
177 views

Local mail not arriving when sending external mail through an external SMTP server

I am in the process of setting up postfix. I want it to send external mails through a GMail account and have followed the tutorial: ...
3
votes
3answers
73 views

Appending a pem to another

I found a blog that helped me relay postfix through smtp.gmail.com with SASL authentication. One of the steps was: cat /etc/ssl/certs/Thawte_Premium_Server_CA.pem | \ sudo tee -a ...
0
votes
1answer
184 views

Processing multiple mails in a Postfix mailbox by making cronjob run per second-is that considered good practice?

I need to process at least three thousand incoming emails an hour that are received in a postfix mailbox. Processing involves extracting email attachments and sending the content of an email ...
1
vote
1answer
922 views

Mail Server on CentOS - Relay access denied

I have setup Postfix and Dovecot on my CentOS Server. Now I am using unsecure SMTP and POP/IMAP (ports 25 and 110/143). I can send mail locally to and from myself, but when I want to send email TO ...
2
votes
1answer
117 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
1answer
603 views

Postfix: force local users (PHP) to use the SMTPD for outside recipients

My server has been hacked and was sending lots of spam over the Internet. The first thing I did is shutdown postfix, close the outgoing port 25 and take the time to clean the website, the postfix ...
1
vote
2answers
199 views

Saving all incoming messages into a database with Postfix?

Is there some plugin for Postfix that can allow you to save all incoming messages into a relational database (PostgreSQL)?
2
votes
1answer
173 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 ...
1
vote
2answers
907 views

sending email to IP address via postfix

I and a friend of mine have setup 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 ...
1
vote
0answers
577 views

postfix + Cyrus SASL - cannot connect to saslauthd server: No such file

Everything is up and running and answer on calls but the login for postfix doesn't seem to work (it works for Courier IMAP, just not postfix). Here's the error output: Jun 30 22:22:10 HOST ...
1
vote
1answer
245 views

Postfix - unable to send mails to Internet (i.e. Gmail)

I've set up postfix (Debian) and it works fine. I can recieve mail and I can send them, but I can only send them to local (and local virtual) adresses. But when I try to send the mail for example to ...
1
vote
2answers
1k views

CentOS 6.4 Mail Server

I'm trying to install a mail server on my root server. I'm relative new to Linux but not a absolute beginner. There are many many how to's on the internet I tried to get my own mail server with ...
0
votes
0answers
98 views

Postfix - do not send bounce message to original sender

We use Postfix and we need to redirect all bounce messages to another mailbox (instead of sending back to original sender). How to modify Postfix settings to change this behaviour?
3
votes
1answer
389 views

Procmail: Denying special privileges for “/etc/procmailrcs/default.rc”

I'm trying to setup postfix, dovecot and procmail to work together with virtual users. In the end I want to have virtual users and the possibility to add rules to sort incoming rules. For the last ...
3
votes
1answer
335 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 ...
1
vote
0answers
96 views

Ubuntu email: Wrong (and unexpected) postfix mapping

I am quite experienced with Linux but a beginner with email configuration and with postfix. On my desktop I have installed Ubuntu Linux 10.04 with package postfix 2.8.5-2~build0.10.04. I have ...
0
votes
1answer
1k views

Courier IMAP cannot find my Maildir but can find root's Maildir

I'm running into a weird issue setting up Postfix and Courier IMAP on a clean Ubuntu 13.04 install. I'm using this tutorial, and am currently Testing Courier IMAP. When I try to login with root, ...
0
votes
0answers
84 views

Allow Only Local Accounts to sent mails Centos

I would like to resctict postfix/centos to allow only local recipients sent mails either internally or Externally and not allowing gmail/hotmail or any other mails account that is not on my local ...
0
votes
1answer
1k views

Postfix: 554 5.7.1 Relay Access Denied

My Problem is this: I can send E-Mails from my E-Mail (evolutio@lars-dev.de) to my other Emails like @gmail @web @gmx ... But when I try to send a E-Mail from GMail to evolutio@lars-dev.de I have the ...
0
votes
1answer
168 views

Set up an email domain with Postfix and Dovecot

I am very new to the Linux world so please forgive me. I have a VPS running Ubuntu 12.10 x86 and I have installed Rails3, Nginx, Mysql and Passenger. All are up and running. I want to set up mail so ...
1
vote
1answer
140 views

Can't delete system email

While running Postfix on an Ubuntu, I have acquired a number of test email in an account usr1, and now I want to delete them before starting other testing. However, every time I try to delete using ...
2
votes
1answer
2k 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 ...
1
vote
1answer
33 views

See which file using postfix

I have a - what I think Malware - problem on my site. Using my server to send spam mail. When running top and SHIFT+M I get the following: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ ...
0
votes
0answers
155 views

Postfix address resolver + loopback to root problem

Ubuntu Linux 12.04.1 With LAMP stack. The goal is to setup a web server that can send mail via the PHP mail() function, which uses localhost. The mail must then be relayed to an ISP domain ...
1
vote
1answer
176 views

Postfix uses the interface alias instead of the primary interface

When sending e-mail with /usr/sbin/sendmail (e.g., using a script), Postfix causes the mail to be sent using one of the host's interface aliases (eth0:0, 74.50.122.55) instead of using the primary ...
0
votes
1answer
134 views

Postfix header_checks

I want to forward a copy of the users email which has the specific subject. I have tried the below settings, able to Redirect that particular subject mail. But I want to forward a copy of that mail to ...
1
vote
1answer
261 views

Is there a way to store mail attachments outside of mailboxes?

Nowadays, size limits on mail attachments are less comprehensible by traditional users. I am looking for a way to extract mail attachments as simple files that I would be able to manage elsewhere. On ...
2
votes
1answer
682 views

How to handle bounce mail sent to the VERP address

We have our postfix configured to handle mail for our websites. For every website we have configured a bounce handling user with local_recipient_maps = hash:/etc/postfix/recipient_maps The file ...
2
votes
1answer
901 views

Linux: Use maildir instead of mbox

Is there a way to use Maildir instead of mbox on a Linux box? On some websites, it is suggested to add to /etc/aliases: myuser: /var/mail/myuser/maildir I've issued the newaliases command, but it ...
2
votes
1answer
148 views

Port 110 visible to the outside world - necessary or a bad idea?

I just did [a test][1] that told me my gateway's (debian squeeze) port 110 is visible from outside. It's a box with two network cards, eth0 is for my internal network (192.168.1.0/24) and eth1 goes ...
3
votes
1answer
4k views

Postfix error: Relay access denied

I can't send mail to external email addresses such as gmail. When I try to send a mail with telnet I get the following error: Trying 130.xx.xx.128... Connected to mydomain.com. Escape character is ...
1
vote
1answer
93 views

When I set up an email server using Postfix, how do I configure it to use my domain name?

I decided to follow this guide, but they only make a passing mention of using a custom domain name: Insert the following details when asked (replacing server1.example.com with your domain name ...
2
votes
1answer
2k views

Email Sent via root@domain.com despite modifying /etc/aliases

First, here are the entries I added/modified in /etc/postfix/main.cf file: mydomain = domain.com myorigin = $mydomain relayhost = email-smtp.us-east-1.amazonaws.com:25 smtp_sasl_auth_enable = yes ...
4
votes
2answers
6k views

“IPv6 support is disabled” warnings

I get the error while running a script which tries to send emails. send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol send-mail: warning: ...
2
votes
2answers
280 views

fetch data from Incoming mail in postfix

I have configured postfix for my kk.com domain successfully. Now I want to add function as described in the following example: If someone mails me at admin@kk.com, one php script will fetch ...
1
vote
2answers
357 views

Use /etc/aliases for outgoing mail relayed by postfix with local domain

I'm using Ubuntu 12.04 with postfix configured as satellite system that relays outgoing mail to Gmail. For sake of example, my registered domain is example.com I want root cronjobs' error output to be ...
2
votes
1answer
298 views

Trouble with postfix install (timing out from client) [closed]

I have just outfitted a basic server (Ubuntu 12.04 LTS /Precise Pangolin) and have installed Postfix and Dovecot, based on the Ubuntu manuals. https://help.ubuntu.com/community/Dovecot ...
2
votes
1answer
1k views

How to discard mails sent from a specific local user to external addresses?

How can I configure Postfix to silently drop / discard mails that were sent from one of my users to an external address? I'm already able to discard all mails to external addresses using the ...
1
vote
1answer
641 views

Sender based redirection on Postfix

I'm running postfix on Debian, receiving email for my.com, and I would like all incoming emails from sender.com to be delivered to jack@my.com, regardless of the original recipient. Emails from other ...
0
votes
1answer
303 views

postconf -e postfix_mydestination = localhost blah.deblah.com.au

Above is example of command someone used to successfully direct to subdomain but when I try it I get postconf: fatal: missing '=' after attribute name which makes no sense to me when clearly the equal ...
0
votes
1answer
422 views

how to solve postfix errors?

After following several tutorials on setting up postfix at basic level on CentOs for my VPS, continue to get the following: -bash-4.1# postfix start /usr/libexec/postfix/postfix-script: line 317: ...
1
vote
1answer
3k views

Which name should be used for myhostname in Postfix's main.cf?

For #myhostname, I should uncomment and put my hostname, i.e. the name I gave my VPS, right? Or does it just go myhostname = mydomain.net, in other words don't edit the phrase 'myhostname' except to ...
2
votes
1answer
267 views

CNAME: Mail address gets rewritten

I have a problem with receiving mails. I do not know if my server or the server of the sender is wrong configured. I have a domain daniel-marschall.de which has following DNS RR: ...
1
vote
1answer
521 views

Error when restarting Postfix

I have recently purchased an SMTP server for my web app (I need to send account confirmation emails to my users and I don't want them to go into the SPAM folder, I will also be using it for email ...