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

3
votes
2answers
1k views

Test if postfix is running

I'm searching for a reliable way to test if postfix is running from inside a bash script. My first attempt was simply trying pidof postfix, which doesn't work. Then I tried to get the postfix ...
3
votes
1answer
6k views

postfix smtp connection timed out, why?

A CentOS 7 web server has postfix, dovecot, and mailx installed. I have been able to make an IMAP connection to the server in order to read inbox mail using a remote Thunderbird client, but I am not ...
0
votes
1answer
432 views

On Linux, what is the “mail” user account for?

The title says it all; there's an account mail and a group by the same name on my system, what's its purpose ? It owns the /var/spool/mail directory (empty currently). I plan to use that directory, ...
0
votes
1answer
60 views

FreeBSD dbmail , postfix port 110 error (220)

I am currently setting up a FreeBSD mail server with DBMAIL and Postfix. I have forwarded port 25,110 and 587 to this server. When I try to log in using pop3 on port 110 my mail program does not find ...
1
vote
1answer
776 views

Sending mail via cron doesn't work

We have an rsync script for making a backup from server 1 to server 2. The server is Centos-type, Amazon Linux AMI. The script is executed daily via crontab. The backup is made, so cron runs and the ...
0
votes
0answers
102 views

thunderbird can't connect to my email box

I have installed mail server successfully on my vps according to https://www.digitalocean.com/community/tutorials/how-to-set-up-a-postfix-e-mail-server-with-dovecot. I create user joe with passwd ...
2
votes
2answers
645 views

Server compromised - How do I find out what is sending mail

A friend of mine has a few small businesses and hosts Wordpress-based sites for them on a dedicated host. The Wordpress installs were neglected for awhile and the host ended up getting compromised. ...
1
vote
2answers
168 views

fetchmail doesn't get mail from provider

somehow can't get fetchmail to work properly... it wont get email from provider but it connects to properly # Configuration created Tue Feb 10 10:18:32 2015 by fetchmailconf 1.52 $Revision: 4636 $ ...
4
votes
0answers
801 views

Permission problems. Can't retrieve inbox mails from dovecot

I got a VPS server at a webhoster which has CentOS 6.6 as operating system. Because I have multiple domains which are used by various people this server is going to serve multiple roles: nameserver ...
-1
votes
1answer
1k views

How do I read Maildir RFC822 messages from the CentOS 7 terminal?

In a CentOS 7 server with dovecot, postfix, mailx installed, I have mail configured to be stored in Maildir format. How can I use the terminal to access and view the RFC822 messages stored in a ...
0
votes
2answers
819 views

Should I ignore or totally block non-SMTP command attempts?

I have a couple of messages appearing in my Postfix mail logs every day, like: postfix/smtpd[7363]: warning: non-SMTP command from unknown[xx.xx.xx.xx]: GET / HTTP/1.0 Should I ignore them or ...
0
votes
1answer
406 views

IMAP Dovecot cannot connect

I am trying to set up my own mail server (for 'fun'). I followed this tutorial to the bone. But I get this error message: imap-login: Disconnected (auth failed, 2 attempts in 9 secs): ...
1
vote
1answer
33 views

Tool for migration of service configuration

Is there a tool that handles generic migration of config? For example if I have httpd, postfix, MySQL and users and groups data, is there a tool that can extract the config data for each service so ...
1
vote
2answers
472 views

Migrate from Sendmail to Postfix

We have an HP-UX environment running HP-UX 11.31. The system was originally built to send email out through Sendmail. The server only sends email out, and the programmer has built a number of programs ...
3
votes
3answers
5k views

Run script on receipt of email

I run a Postfix/Dovecot mail server for personal use. There's only a handful of actual mailboxes, essentially just postmaster@domain.com and username@domain.com. I frequently use the virtual file to ...
1
vote
1answer
205 views

can i get imap access using just postfix and mailx?

I have postfix and mailx installed on a CentOS 7 server. I am able to send and receive email from the command line using the mailx command. I am also able to read email in each user's inbox using ...
1
vote
2answers
2k views

postfix multidomain myhostname configuration

I have two IP address running on Postfix and each IP has own domain. In short i want to isolate domain so outside folks think it is running on own IP and fully isolated even PTR also But in postfix ...
1
vote
0answers
326 views

Postfix multi IP/Domain SMTP Helo'ing

We have Postfix running with two domain and each domain has own IP so it's isolated. But Spamhuaus blocked my IP and saying you are sending "localhost.localdomain" HELO I am already using ...
1
vote
1answer
787 views

Relay access error when I try to send mail from outside to postfix

I run a debian 7 system and I run postfix as smtp server. I can send mail from postfix to outside (even though it gets to spam folders by google) but when I try to send a mail from, lets say my google ...
-1
votes
3answers
2k views

unable to view postfix email from centos 7 command line, why not?

I have postfix installed on a development box and I used the parameters from this other posting to configure postfix to work on localhost only. But the other posting does not explain how to send ...
0
votes
1answer
332 views

How can I programmatically access the contents of a Dovecot mailbox in CentOS 7?

I just set up postfix and dovecot on a CentOS 7 server using this tutorial. I am able to successfully create a mail record using echo "TEST" | mail -s "testmail" youruser@localhost && tail -f ...
3
votes
1answer
1k views

ACL/MAC Permissions for dovecot and postfix in CentOS 7

I am using this tutorial to set up Postfix and Dovecot on a CentOS 7 web server. But when I try to send a test email using sudo echo "TEST" | mail -s "testmail" newuser@localhost && sudo tail ...
1
vote
1answer
216 views

/private/var socket not created with postfix/dovecot sasl

I'm currently running into a problem I have with my email server. I try to setup Postfix and Dovecot with SASL authentication but I get the following error when I connect with telnet (port 25) to the ...
1
vote
1answer
370 views

Force sending emails on port 587

I have an email server that is running postfix and dovecot for emails. Receiving emails works just fine, however my ISP blocks port 25. I'm trying to use either TLS or SSL to avoid this. The problem ...
0
votes
0answers
141 views

Postfix - send email from catch-all adress

I have a domain with a catch-all address. Let's say every mail with @example.com as destination-domain will be routed to my primary address. That is working fine with postfix and virtual addresses. ...
3
votes
1answer
85 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 ...
3
votes
1answer
904 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 ...
0
votes
1answer
506 views

No Sendmail but ISPConfig Postfix

This is what php uses to send php mail with the php mail() function: ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ...
3
votes
1answer
375 views

postfix virtual domain on specific IP address

We are running postfix with single domain (example.com) currently and we have appropriate PTR record for that. Now we want to add one more domain but i want to isolate that domain totally, Even i ...
1
vote
1answer
172 views

Is it safe to remove “received” header?

Is it safe to remove "received" fields created by my mail server for all outgoing mail? For example like this (all "received" headers from my server are deleted by postfix "smtp_header"checks"): ...
2
votes
0answers
4k 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 ...
0
votes
0answers
15 views

Postfix: Map display name with smtp_generic_maps [duplicate]

I have a server where I have postfix configured to relay all mails to a smart host. Even mails sent from local accounts to local accounts. Furthermore all mails sent to local accounts are mapped to a ...
2
votes
1answer
502 views

How to mark read mails as unread in Postfix

In our postfix server, the mail directories cur and new are under /home/<user>/Maildir. I don't have much of an experience with mail servers, but I am aware that new e-mails land in the new ...
2
votes
1answer
187 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 ...
1
vote
0answers
301 views

Unknown user in postfix (virtualmin)

I'm getting these mailer daemon errors when receiving email to support@domain2.com. Both domain1.com and domain2.com are main level domains in virtualmin. I can't understand why domain1.com is ...
0
votes
3answers
2k views

mailx: nss-config-dir=/etc/pki/nssdb/: No such file or directory

I am trying to send email using mailx using remote SMTP server (in my case it is office365 SMTP Server). Here is the command: # echo "THis is the Body of the email" | mailx -v -s "This is email ...
1
vote
2answers
368 views

Postfix trivial-rewrite expands recipient incorrectly after virtual aliasing is done

I host a handful of domains on a single box (Linux, Ubuntu 13.x) and am attempting to use Postfix 2.10.2-1 to route mail to them. (I used sendmail for the past 10 years, so this is new to me.) All ...
0
votes
0answers
999 views

Logwatch is not sending mail to my email address on CentOS

I assume logwatch is using postfix because this is what I see in the log files.. 2014-11-03T15:01:35.509850+11:00 workshop2 postfix/smtpd[7048]: disconnect from ami[127.0.0.1] ...
2
votes
1answer
1k views

Postfix no longer logs to /var/log/mail after it has been deleted and re-created?

I accidentally deleted the /var/log/mail file. Until that point I was able to monitor it using postfix stuff. Now, it seems that Postfix doesn't send its logs to /var/log/mail, since the file is not ...
3
votes
1answer
366 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 ...
1
vote
1answer
739 views

Stopping postfix - are messages queued when postfix is idle?

I am running some scans on my server tonight and would like to disable email notifications since there is a chance for a LOT of them to be sent out. I am planning to issue service postfix stop ...
1
vote
2answers
299 views

Redirect specific e-mail address sent to a user, to other email-recipients

I'd like to know if it is possible to configure postfix to redirect to many email addresses (including the original recipient) instead of only one? Here is my scenario: When an e-mail is: Sent from: ...
1
vote
1answer
9k views

How to configure sendmail.postfix to relay on exchange 2010?

I'm currently trying to figure out how to configure sendmail.postfix in Red Hat 6 to work with exchange 2010 relay. I've already configured our exchange server to allow our web server to relay. What ...
5
votes
1answer
1k 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 ...
0
votes
1answer
54 views

Postfix or mutt changes subject string

I suspect that when I send a message to my postfix server with Re: in the beginning of the subject I get the following view in mutt: The first message containg Re: looks fine. But if I resend ...
1
vote
0answers
2k 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. ...
1
vote
1answer
4k views

Must issue a STARTTLS command first, even with it in main.cf

This is my first time setting up a linux server and I can't seem to get the email to work. Anytime I try to telnet and do the "mail from" command I get "540 5.7.0 Must issue a STARTTLS command first" ...
2
votes
2answers
448 views

How to restrict helo to match the client's ip/domain

Postfix has some nice options to restrict client accesses with respect to DNS/IP address setup and helo names (documentation). For example one can instruct postfix to reject clients if the helo ...
2
votes
1answer
520 views

Why doesn't Postfix reject a specific client's connection attempts?

My SMTP server is being probed. It looks like a brute force attach on SASL, where they're going through a password dictionary. Having seen thousands of these lines in the log files Sep 18 14:09:52 ...
1
vote
0answers
128 views

.forward file username and folder separator

I found (I'm learning how e-mail works) a .forward file in a user home folder; emails should be forwarded to mailboxes of other users. Email addresses are written in user+folder addressing notation, ...