Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [postfix]

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

0
votes
0answers
15 views

Postfix / SpamAssassin ignoring SPF entirely

I am currently getting a ton of email from "myself" and have been having a ton of difficulty filtering it. I have postfix configured to check SPF and (presumably) reject if it fails, and SpamAssassin ...
0
votes
1answer
745 views

clamd.sock permisson denied

Clamav is running as clamscan user But I get a permisson denied error: Apr 6 20:23:48 nais2 clamsmtpd: 100003: CLAMAV: couldn't connect to: /var/run/clamd.scan/clamd.sock: Permission denied But: ...
-1
votes
0answers
29 views

I want to start an email hosting solutions on my own server [on hold]

I want to start an email hosting solutions on my own server. Something which Migadu ( https://www.migadu.com/en/index.html ), google apps(email) for business or Zoho does. I am not sure how to get ...
-2
votes
0answers
7 views

Any attachment should not deliver to cross domain

I'm Using Postfix and created virtual domain for example acb.com and xyz.com. If we send any mail with attachment from abc.com to abc.com that should be deliver but if we are sending mail from abc.com ...
3
votes
1answer
898 views

Authentication not working in Dovecot and PostgreSQL

I want to put my own mail server on VPS using Postfix, Dovecot, LMTP and PostgreSQL database. I can't send messages from VPS using the mail command, ie I don't receive these emails at my replacement ...
0
votes
0answers
10 views

Generate postfix log file for current month or last year in 12 log files

I have an issue with my postfix mail server amount of sent emails in 11-5-2019 and when I use pflogsumm command pflogsumm /var/log/mail.log.1 __ /name.txt It generate new days. I need: 1- Command ...
0
votes
1answer
2k views

Grep /var/log/maillog for email to a certain user, based only on his linux username

I have a learning environment, based on Linux CentOS, with Postfix and SquirrelMail running, but my assignment is more in general. I need to find in the maillog e-mails received by a certain user ...
-1
votes
0answers
32 views

How can I know where bounces are coming from? [on hold]

I have inherited a postfix configuration on a host. The host has been named mail.mydomain.org. I'm trying to have it receive mail for mydomain.org. I've updated the DNS zone for mydomain.org like so:...
0
votes
1answer
22 views

Transfer all root mail to the anough user

I want to transfer my root mail to another user (his nick's userto). I do not want to forward mail, because of userto's home directory locate at encryption HDD which I mount when I use it and dismount ...
-1
votes
1answer
34 views

Why isn't mail arriving at my telnet tests?

I have inherited a postfix installation, possibly not fully configured, and it's not landing mail where it belongs. Here is a paste of a telnet test: user@hostname:~$ telnet mail.myhost.org 25 ...
0
votes
0answers
21 views

Thunderbird can't find mail server configuration

I'm having issues when it comes to connecting to my mail server using Thunderbird client. The weird thing is that I can connect to my mail server usign telnet in the client "telnet mail.zumsfresh 25" ...
5
votes
4answers
52k views

Relay access denied when using SMTP to external recipients POSTFIX FREEBSD

i am trying to send an email with my freebsd server using postfix and dbmail to an external adress. I have noticed the following things: MYSERVER -> MYSERVER = OKAY EXTERNALSERVER -> MYSERVER = ...
0
votes
2answers
111 views

Sendmail compatibility interface

Postfix (and lots of other stuff) claim they offer sendmail compatible interface. Since I want to write my own sendmail implementation, I was wondering what that actually means. Is there anything RFC-...
0
votes
0answers
10 views

How to read content of bayes_seen & bayes_toks

I want to copy spam filter configuration from another server and use it for same domain which I migrated to new server, so I wanted to use it's spam filter, but how can I read it, or copy? I have ...
3
votes
1answer
2k 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 ...
0
votes
0answers
13 views

What would be the mail sent count for group mail

I have a group mail ID with 100 members in it. If I send a mail to that group ID, will the send count will be one or hundred? Note: mailer(outlook account) blocks me sending because of the send ...
3
votes
1answer
4k views

SMTP Auth - SASL on Dovecot, Postfix and CentOS 6.2 (and Open-Xchange)

I am trying to get open SASL to work on CentOS 6.2. I followed this tutorial: http://wiki.centos.org/HowTos/postfix_sasl I suspect it works perfectly for CentOS 5.x so all I really need is an update ...
0
votes
1answer
20 views

Inconsistency between Spamassassin command line check vs daemon check

I'm running a mail server with postfix and spamassassin, and I appear to be getting a fair amount of junk mail through. I picked on one email at random to compare what the email headers say ...
0
votes
1answer
2k views

“TLS is required, but was not offered by host alt4.gmail-smtp-in.l.google.com[64.233.186.27]”

Sending emails using TLS not working. Without its working. Copy of tls_policy_file (if I change gmail to secure it gives TLS is requied error): cat /etc/postfix/tls_policy gmail.com may ...
0
votes
1answer
58 views

failed to start postfix.service: Unit not found

I just got my own VPS with CentOS 7, and I'm trying to install GitLab on it. I'm following the instructions listed here. My problem is the command systemctl start postfix. I did the yum install ...
0
votes
1answer
60 views

opendkim.sock file not being created or does not exist

I'm attempting to configure opendkim on my raspberry email server that has a dovecot/postfix setup already configured. I have followed some tutorials and some forum posts to further diagnose my issue....
1
vote
1answer
3k views

SMTP Error (530) 5.7.0 Must issue a STARTTLS command first

I am trying to use port 587 in roundcubemail running in the same machine as my mail server, and I am always receiving this error: SMTP Error (530): Failed to set sender "X" (5.7.0 Must issue a ...
0
votes
1answer
20 views

Closing port 25 for SMTP when using Gmail via Postfix

On my server, I need to send email via Postfix. The SMTP settings are as follows and these work. Email is sent via Gmail properly: relayhost = [smtp.gmail.com]:587 smtp_use_tls = yes ...
1
vote
2answers
2k views

Configure Postfix to Relay and Login From External Machine

I have a Crunchbang Debian LAMP server which I use to host some Mailing list applications. I also use it at a mail server running Dovecot and Postfix. Postfix is configured to relay to my Pro SMTP ...
0
votes
1answer
1k views

Every email that I receive gets sent to root@example.com (Postfix on CentOS)

It seems that all emails I receive never make it to my actual inbox. They go to the root email. (in my case this is root@example.com) Here is my /var/log/maillog: Nov 10 19:43:43 mail postfix/...
2
votes
1answer
2k views

Setting up SMTP-AUTH & TLS in Postfix

So I have been in the process of installing a Postfix Server on my CentOS 6.2 Virtual Private Server. I have been following this tutorial: http://www.howtoforge.com/virtual-users-and-domains-with-...
0
votes
1answer
83 views

Create new mail address with postfix

I need to create a new mail address with postfix. The problem is I joined a company and I am now in charge of the administration of the servers (but I am just a dev not an adminsys...), so I need to ...
1
vote
1answer
871 views

Postfix: Users impersonating other users at same domain

I've a postfix email server running and everything was fine... well until someone decided to impersonate other users. The current situation is: user1@mydomain.dev can send email with a faked from ...
0
votes
2answers
870 views

postfix & cyrus-SASL SASLDB2 0: NO “authentication failed”

We are setting up a Postfix mail relay to accept only authenticated smtp sessions and forward them to our backend smarthosts. CentOS 6.8 postfix-2.6.6-6.el6_7.1.x86_64 cyrus-sasl-lib-2.1.23-15.el6_6....
4
votes
6answers
21k views

Thunderbird fails to connect to Dovecot and Postfix

I set up Dovecot and Postfix, but when I try to authenticate with Thunderbird, it gives this error: "Thunderbird failed to find the settings for your email account." ==> /var/log/dovecot-info.log &...
2
votes
1answer
327 views

CentOS: postqueue -p show a message that keeps coming back to queue

When I run "postsuper -d ALL" all messages from mailq are deleted. For a few seconds I am able to send emails from terminal just fine. However, even if I just stand still and do nothing after clearing ...
1
vote
0answers
249 views

Ubuntu email: Wrong (and unexpected) postfix mapping

I have installed Ubuntu Linux 10.04 with package postfix 2.8.5-2~build0.10.04. I have configured postfix to send email through my ISP and this works fine: I can open mutt and send an email to an ...
2
votes
2answers
2k views

CentOS 6.4 Mail Server

I'm trying to install a mail server on my root server. There are many many how to's on the internet I tried to get my own mail server with IMAP/SMTP. Also maybe some virus/spam detection. I've got a ...
3
votes
4answers
2k views

Installing Postfix conflicts with MySQL-server package

I had to install MySQL Server community on our server (team lead did not want MariaDB due to support or something). Therefor I removed MariaDB which in turn also removed Postfix. Now I need to ...
0
votes
1answer
2k views

Ubuntu Postfix Open LDAP integration - no SASL authentication mechanisms

Ive followed all the steps in https://help.ubuntu.com/community/Postfix/DovecotLDAP but I am getting a localhost postfix/smtpd[12520]: fatal: no SASL authentication mechanisms in my /var/log/...
11
votes
1answer
25k 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 ...
1
vote
1answer
743 views

All mail sent by Postfix is received as spam

I have a dedicated server on Server4You. The machine has Debian 7.8 and Plesk 11.5.30. On the server I have 2 web sites , each with its respective IP address. The problem is that all mail I send is ...
2
votes
2answers
7k views

Postfix service enabled but won't start on reboot

The postfix service won't start after rebooting the system. We are using our own custom Linux OS based on OpenSuse 12.1 and recently verification departement has found that the /var repository is ...
8
votes
3answers
28k 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 status:...
1
vote
3answers
9k 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 ...
2
votes
2answers
51 views

Send mail to SMTP server on same LAN from CLI (confused with Mutt and Postfix)

I need to send mail from CLI (Cron) to a mail server that is on the same LAN. After some googling Mutt seemed like a good option as it appeared simply installing Mutt and adding SMTP options to ....
0
votes
0answers
45 views

Debian / Postfix / Header Checks / Changing Subject based on “To:”

I'm trying to configure a change of subject for incoming emails based on the "To:" address of the (virtual) email address, rather unsuccessfully. I run into two problems. The first problem is that I ...
1
vote
0answers
11 views

Randomly failing services CentOS7 - Monit too [closed]

I've recently created a new CentOS 7 setup with Apache, Nodejs, Lfd and Postfix and i'am also using monit to track failed services. For some reason randomly, services are failing including monit as ...
0
votes
0answers
17 views

how to omit warnings of mail command, can these warnings be ignored

how to omit the warnings in output of mail command . user@sanadmcode:~> echo "Test mail from postfix" | mail -s "Test Postfix" myemail@domain.com user@sanadmcode:~> send-mail: warning: /etc/...
0
votes
0answers
31 views

postfix dual delivery to local (virtual) mailbox and google smtp

We're migrating from our own mail server to Google Apps and I need to somehow deliver any incoming mail to both the local mail server and Google until we have everyone moved over. I'm following the ...
1
vote
1answer
459 views

Altermime and SELINUX

I've setup an application called altermime (http://www.pldaniels.com/altermime/) for postfix (SMTP server) which alters emails midstream. I'm injecting a "X-ListUnsubscribe" header into every email ...
1
vote
1answer
945 views

Postfix cannot start but dovecot is ok

My postfix service cannot start. Here is message: Job for postfix.service failed. See 'systemctl status postfix.service' and 'journalctl -xn' for details. And here is service status: postfix....
3
votes
1answer
4k views

simple script for monitoring a mailserver

I would like to use a 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 (Nagios,...
0
votes
1answer
981 views

Cannot send email via postfix / dovecot error status=deferred (mail transport unavailable)

I am trying to setup a mail server with postfix/dovecot/maria DB on centos 7 and have seem to hit a roadblock. I am not able to send emails to internal users and the logs suggest "mail transport ...
2
votes
1answer
2k views

Postfix rewriting subject for specific addresses

I would like to add a tag to all email messages sent to a particular address. I have tried to copy examples from the web, but can't seem to get it working. Here's what I've done so far: Add to /etc/...