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

7
votes
1answer
466 views

Multiple instances of Postfix throwing error fatal: unknown service: smtp/tcp

I am trying to configure multiple postfix-2.12 instances on FreeBSD 10.0-RELEASE following the README. postmulti -e init postmulti -I postfix-out -G mta -e create ... This all works I can start and ...
6
votes
3answers
9k views

Postfix doesn't send mail, complaining about “Host or domain name not found”

I followed these instructions in order to send mail and here's the Postfix log: Sep 26 00:46:24 tshepang postfix/smtpd[5728]: 8EE2464931: client=localhost[127.0.0.1] Sep 26 00:47:44 tshepang ...
6
votes
1answer
575 views

Postfix configuration - keep the envelops

I have a postfix server that delivers mail and send a copy of the outgoing mail to a second server for content analysis using the following configuration (addresses and IPs have been replaced): ...
6
votes
1answer
320 views

Mailman / Postfix Configuration Assistance

I am writing for some help regarding Postfix configuration. I cannot seem to get Postfix configured properly to transfer mail to the mailing list installed on the same server. I followed many steps ...
5
votes
1answer
5k views

Configure postfix to send and receive to and from localhost

Does anyone know what needs to be configured for postfix so that emails can be sent to localhost and received from localhost? e.g. send an email to user1@localhost will: result in user1 receiving ...
5
votes
1answer
236 views

accessing Maildir locally with Mutt and remotely over IMAP simultaneously

I have Postfix + Maildir + Dovecot + IMAP on my mailserver. I am accessing my mailbox remotely over IMAP with one or more clients (Thunderbird). Additionally, on the server I have mutt configured for ...
4
votes
2answers
17k views

Where does postfix store email?

I can't find any documentation on how postfix stores email. Where is it stored, and in what format? I'm using Ubuntu server 11
4
votes
2answers
11k 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: ...
4
votes
1answer
1k views

Postfix: disable authentication through port 25

When using Postfix and IMAP on a mailserver, at least 3 ports are usually opened 25 smtp : incoming emails from anybody (whole internet) 465 smtps : outgoing emails from authorized users (to the ...
4
votes
1answer
308 views

Mail Server Spoofing Prevention

I was in the mail logs yesterday when i noticed the following messages.. only there were more like 10,000 odd hits... Jun 21 10:47:10 exi-svr-2 dovecot: pop3-login: Disconnected: user=, method=PLAIN, ...
4
votes
1answer
95 views

multiple clients accessing one email account over IMAP

I am using Postfix + Dovecot + IMAP + Maildir and I am accessing my server from two different machines (desktop and Laptop), i.e. two clients (Thunderbird). The are sometimes running simultaneously, ...
4
votes
2answers
477 views

configure postfix to accept mail from two WANs

I have a mac server but my question has long left the realm of the GUI. My last hope is a unix forum. I have a cisco router with two WAN ports. The mac uses postfix 2.8.3. I have correctly ...
3
votes
2answers
2k views

Protecting postfix from bruteforce attacks

a few days ago I've set up a VPS, including personal SMTP service using postfix + procmail under Debian / Wheezy. I am already seeing a LOT of hammering onto the SMTP and other ports. Here's an ...
3
votes
3answers
113 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 ...
3
votes
1answer
5k 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 ...
3
votes
1answer
436 views

simple script for monitoring a mailserver

I would like to use a simple bash script (python would be second best) to monitor regularly (hourly) if my mailserver is online and operating. I know that there are dedicated solutions for this task ...
3
votes
1answer
6k 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 ...
3
votes
3answers
571 views

Dovecot ignores settings for mailboxes

I have set up Dovecot on my Postfix mailserver. My mailserver is using Maildir format: home_mailbox = Mail/inbox/ A user's Mail directory looks like this: $HOME/Mail/inbox $HOME/Mail/drafts ...
3
votes
1answer
644 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
3k 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 ...
3
votes
1answer
77 views

Mail delivery problems

Once upon a time there was a server. Lets call it zzz.com, running Ubuntu LTS 10. Then, domain owner decided to create his corporate mail via Google Apps, and created account username@zzz.com. ...
3
votes
1answer
646 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 ...
3
votes
1answer
5k views

Add header to outgoing email with postfix

Can someone please provide an example on how to add a Precedence: bulk header to all outgoing emails using postfix. I would like to know what file(s) to create or edit and what I should put ...
3
votes
1answer
193 views

postfix default alias used even when I have other aliases

I tried adding a rule to /etc/aliases which would send a message to /dev/null if it was sent to a particular alias: fooname: /dev/null I have postfix set up with a default address for a particular ...
3
votes
1answer
96 views

My IP is blacklisted for sending spam, logs aren't showing anything

I have Ubuntu server which is more or less acting as a web and mysql server. There is no postfix or anything similar installed. With a help of Virtualbox there is also virtualised Ubuntu server which ...
3
votes
1answer
128 views

Disable postfix HELO checks completely

I'm trying to set up a mail relay for a cranky old voicemail system. I set up postfix on a vm, enabled relaying, verified that I can telnet to port 25 from the same subnet and send mail wherever I ...
3
votes
1answer
79 views

Unknown entries in the default /etc/postfix/aliases file

While setting up a new Postfix installation on a Mageia 3 Linux system, I came upon a few entries in the default /etc/postfix/aliases file that I do not know the background of: # Common aliases for ...
3
votes
1answer
659 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 ...
3
votes
1answer
4k views

I am failing to send mail to a Gmail address using Postfix

I am trying to send mail to my test GMail account using Postfix (default Debian setup), and I am failing ("/var/log/mail.log"): Sep 26 16:13:43 sugarmailer postfix/smtpd[1473]: connect from ...
3
votes
1answer
459 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 ...
3
votes
2answers
549 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 ...
3
votes
1answer
331 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 ...
2
votes
1answer
6k 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
2answers
1k views

Too many smtpd daemon forks?

I have many forks from smtpd in my process list on my webserver. What does this mean? Is my mailbox full? postfix 2662 0.0 0.9 106336 4856 ? S 17:37 0:00 smtpd -n smtp -t ...
2
votes
2answers
286 views

Where do uncaught local emails go?

Suppose I run - mail goldfish There is no such account on the system and no such aliases defined, where would the mail go? How do I see a list of such mails?
2
votes
1answer
179 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 ...
2
votes
1answer
62 views

How to identify faked mail origin?

Today while setting up a mail server using postfix, I practiced to use sender_canonical_maps option, and noticed that it can change outgoing mail "sender" to appear like someone else. When Gmail ...
2
votes
1answer
259 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
34 views

is there a way to stop users sending to unwanted email accounts?

I want to set a command that only allows users to send emails to accounts ending in @hotmail.com @gmail.com @talktalk.net for example. Is there a way to set it so users can only enter these ...
2
votes
1answer
91 views

Allowing outgoing emails that will be delivered to localhost only

I operate a Linux system where I give out free Linux shell accounts to people for educational purposes. Unfortunately, while doing so it's expected to meet abusive users who will keep sending spam ...
2
votes
1answer
28 views

change smtps port in Postfix

Is it possible in Postfix to specify a non-standard port for smtps? Normally, smtps listens on standard port 465. Standard port is good for publicly used server. But if a server is only intended for ...
2
votes
1answer
187 views

Postfix Relay Multiple Domains with Multiple Origins

I currently have Postfix relaying multiple hosted customer solutions which all works as expected. There are no local accounts and it is used solely as a relay server. In the config I have the ...
2
votes
2answers
4k views

My Postfix installation is sending out spam; how to stop it?

Since a few days, my web/mailserver (centos 6.4) is sending out spammails by the bunch, and only stopping the postfix service is putting an end to it. SMPT is set up to only accept connections over ...
2
votes
1answer
363 views

How do postfix and mailx interact with mbox locking?

If postfix is setup as the MTA using its virtual transport to deliver mail to a local mbox file (and handling delivery of outgoing messages), and mailx is the MUA, being used on that same computer for ...
2
votes
2answers
2k views

sending email to IP address via postfix

My friend and I have configured 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 ...
2
votes
1answer
2k 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
2answers
3k views

Postfix: save every outgoing mail in files

I am using postfix as a SMTP server on a network that does not have internet connection. I would like to configure every mail client to send mail to the postfix SMTP server. When the server receive a ...
2
votes
2answers
563 views

Mail send to my domain ends up in local inbox instead of exchange server

I'm running a MediaWiki install under Ubuntu Server 10.10. I have configured it to use the standard php mail() function with my local mail delivery agent (postfix). The mail gets sent from the ...
2
votes
2answers
1k views

Postfix cannot find a MySQL shared library

I am trying to install Postfix with MySQL support. When I start or run the postfix daemon, it complains that it "cannot find libmysqlclient.so.18", which is in the directory /usr/local/mysql/lib, ...
2
votes
1answer
32 views

Rewriting from header when forwarding email using Postfix

I'm sending email using Postfix on my Debian server, which is working fine. Now I want to receive email by forwarding all incoming email to my email address (which is not on this server). I got this ...