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
1answer
1k views

Auth error when sending mail through Postfix with SSMTP

I'm trying to send mail from server A running SSMTP via a server B running Postfix. The Postfix server is running just fine and has been in production for a while without any problems. It runs Postfix ...
-1
votes
0answers
14 views

how to use the mutt command and send an email through a specific instance with postfix?

I set multiple instance postfix in one server, how to use the mutt command and send an email through a specific instance?thanks.
0
votes
1answer
19 views

Postfix send e-mail on behalf of G Suite

I have a domain registered on G Suite and I'm building a app that needs to send Transactional email such as password recovery and email verifies. The smtp for gmail has a low quota for that. I need to ...
0
votes
0answers
5 views

Sender address substitution when relaying the mail

I would like to implement sender address substitution on Postfix server, namely, if email originates from some dummy@mycompany.org to some friend@gmail.com then substitute the sender with real+dummy@...
0
votes
0answers
16 views

Sending mail from Docker container

I want to send mails from my docker container . We have an SMTP relay host in our network which forwards mail traffic to the SMTP server . I manually installed postfix in our docker container and ...
-1
votes
1answer
21 views

I'm not receiving anything in my inbox I set up using ISPConfig. How do I fix this?

Before I upgraded to Debian Stretch, I had to manually install ISP-Config and adjust a bunch of other things before I could even install it. Now, when I went to check for a new version to run on ...
0
votes
1answer
1k 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): user=<...
0
votes
1answer
18 views

How to use emojis on the subject line of mail?

I am writing a shell script to setup a few servers and once it is done, it will send an email to our help desk letting us know that the server is ready to be used. I would like to use the following ...
0
votes
0answers
15 views

Find wich mailbox encrypt or not encrypt there passwords for IMAP or POP3

I try to list all mailboxes with the method of encryption passwords. How can I do this? I know that I can grep the method=LOGIN,PLAIN,CRAM-MD5 with: cat /var/log/mail.log | grep method=LOGIN or ...
1
vote
1answer
1k views

Postfix + dovecot, disable authentication on port 25

I use postfix 2.9.6 on ubuntu 12.04 (with dovecot if that matters). I'm trying to disable auth on port 25 and only allow it on port 587, so that I can receive mails normally from other servers but ...
0
votes
0answers
13 views

Filter out incomming emails based on a domain TLD, using regexp

I want to filter incomming emails for certain domains, using a regexp. My regexp: sudo cat /etc/postfix/header_checks /^From:\d+[.]com$/ REJECT 554 Config: $ sudo postconf | grep header_checks ...
0
votes
1answer
17 views

How does postgrey track inbound mail

I need to understand how postgrey keeps track of inbound mail. I know the concept of how greylisting works, but I'm wondering about the actual method. Greylisting will count the number of times a mail ...
0
votes
2answers
889 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....
0
votes
2answers
1k views

Postfix - Modify header “Message-Id” twice

I am trying to do both of the following actions. However Postfix only changes the first Message-Id. With this example Precedence: bulk won't be added because it's at the bottom. /^Message-Id:\s+<(....
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
794 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: ...
-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
921 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
12 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 ...
0
votes
1answer
25 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 ...
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
53k 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
113 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
11 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 ...
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
21 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
109 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
82 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
23 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
85 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
875 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 ...
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
336 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
26k 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
747 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
60 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 ....