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
27 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
6 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 ...
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 ...
-1
votes
0answers
31 views

How can I know where bounces are coming from?

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
21 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
33 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
20 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" ...
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 ...
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 ...
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
55 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
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 ...
0
votes
1answer
55 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....
0
votes
0answers
44 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 ...
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
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/...
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
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 ...
0
votes
1answer
15 views

How to build Postfix from Debian Salsa Git? (gbp:error: upstream/3.3.2 is not a valid treeish)

I would like to rebuild the Debian package 'postfix'. Without anything fancy, so no local patches and unsigned packages are fine. Here's what I tried: Install some dependencies: $ apt install ...
0
votes
0answers
9 views

postfix maillog realtime Formatted?

Question: I can "tail" the maillog for a real time view of the postfix mail log BUT... is there anyone out there whom wrote a way to do this that is "reasonably formatted?" Meaning: It's garble......
0
votes
0answers
25 views

Debian - problem related to procmail

recently I started getting an error like that: This is the mail system at host xxx. I'm sorry to have to inform you that your message could notbe delivered to one or more recipients. It's ...
0
votes
1answer
49 views

Repairing postfix - unable to create /root/mailbox.lock

Because of recent policy changes at our office's ISP (no more SSL or TLS 1.0, only TLS 1.1+), I've had to ditch ssmtp as our mail relay on a Debian 9 workstation. I reinstalled postfix, which ...
0
votes
0answers
172 views

Mutt error SMTP session failed: read error

set ssl_starttls=yes set ssl_force_tls=yes set imap_user = 'name@gmail.com' set imap_pass = 'password' set from='name@gmail.com' set realname='name@gmail.com' set folder = imaps://imap.gmail.com/ ...
1
vote
1answer
61 views

fail2ban will not ban again after first one expires

I couldn't make fail2ban to block IP address coming up in postfix log on Debian 9. I rewrote the failregex to be like this: NOQUEUE: reject: RCPT from (.*)\[<HOST>\]:(.*) 550 5.7.1 Service ...
0
votes
0answers
79 views

How to install Postfix in an all default way (no setup wizard) and to be used with no email DNS records?

The following question is a follow up to this question. In a latest Debian 9 stable I desire to install Postfix to send email from my machine to my very own Gmail account by the quickest install ...
1
vote
2answers
144 views

Understanding sendmail binary

I have a website with some PHP based CMS on which I'm the only user. This website has a simple contact form (name, email, phone and body) by which I get mail from non registered users. I'd like to ...
0
votes
1answer
46 views

Postfix: Whitelist all entries in address book

my postfix currently rejects emails that are potentially SPAM. Howver, some of my contacts have servers that are not correctly configured and I want to avoid rejecting their email. ...
1
vote
1answer
68 views

Postfix domain not found

I have set up postfix on a server that has to send all output from root to R*****@gmail.com - But the problem is that when it sends mail it tries and sends to "root@rene-desktop" which I am notified ...
0
votes
0answers
24 views

change maillog default path in rsyslog

I am using redhat linux and the default location of my postfix is /var/log/maillog . I am trying to change maillog location to /app/log/maillog. I have tried to update rsyslog.conf mail.* ...
0
votes
0answers
39 views

Rsyslog concatenate postfix output

I'm trying to concatenate postfix log output with rsyslog directly. This is my template. template(name="TestMailTemplate" type="list"){ property(name="timestamp" dateFormat="rfc3339") constant(value="...
0
votes
0answers
179 views

Update postfix/mail version

When I'm checking my postfix version postconf -d | grep mail_version the output I get is mail_version = 2.11.0 milter_macro_v = $mail_name $mail_version But when I run apt-get install postfix, ...
2
votes
0answers
210 views

Warning in the logs of Postfix: “restriction NNN ignored: no SASL support”. But it does have SASL support

I have postfix + dovecot + pgsql. All has been working. Recently I've changed something in the config to combat spam. Now I see this in the logs: localhost postfix/smtpd[2299]: warning: restriction `...
1
vote
1answer
57 views

Sendmail migration: Replicating all incoming mails to another mailserver

I am migrating a mailserver running sendmail 8.14.3 to a postfix server. The MDA on the new server is Dovecot. In order to ensure a seamless transition, it would be best if incoming mails are ...
1
vote
0answers
70 views

Why does postfix main.cf contain configuration like readme_directory, manpage_directory etc? [closed]

I am setting up yet another mailserver with postfix. So while configuring I see these configurations in main.cf. Can someone tell me why these are in the main.cf? I mean, why would a daemon config ...
1
vote
2answers
134 views

Postfix: Remove the software name in the email header

I need to remove the software name in the email header. Every time when I send the emails, the postfix server sent emails at the destination the emails headers include the following: by mail.example....
3
votes
2answers
45 views

Hide “You have old mail” message when logging into shell?

I have a mail system set up on my server (Postfix + Dovecot) that I use for personal and sys-admin email. Every time I login via shell (for all of my accounts), the message "You have old mail." is ...
2
votes
2answers
133 views

Sending attachments with GNU mail to @kindle.com

Background: I'm trying to set up a server to regularly pull RSS feeds, package them up in a mobi-ebook and send them to my kindle. Problem: If I configure the server to send to my @kindle.com email ...
2
votes
1answer
104 views

Automating postfix installation

I have been trying to automatically install postfix in a non-interactive way via startup-script on machine boot up. After a bit of research I found out some suggestion that I could try to install it ...
1
vote
0answers
39 views

With “reject_sender_login_mismatch” I can no longer send email [duplicate]

I've added "reject_sender_login_mismatch" to "smtpd_sender_restrictions" as was suggested to me. Now I get this when sending an email: <my_email@my_domain.com>: Sender address rejected: not ...
4
votes
2answers
418 views

I can't send email via my own Postfix anymore due to enforced restrictions that I made

Until recently my server with Postfix has worked well. Then I enforced some restrictions to a) combat spam b) disable sending emails to me on behalf on my own name -- I have begun receiving emails ...
2
votes
2answers
51 views

Auto-notify when postfix requires TLS?

I've set up postfix on CentOS 7, and configured it to require STARTTLS to accept incoming mail. I've run into a couple instances where a server doesn't, for whatever reason, support TLS encryption, ...
0
votes
1answer
129 views

How to install MIMEDefang on Debian?

I'm trying to install MIMEDefang on my Debian Stretch but it doesn't work out the of box and I can't find any guides that work. After apt install mimedefang I added the following to /etc/postfix/main....
2
votes
2answers
182 views

Configure Postfix to Send Mail Using Gmail in Ubuntu 16.04

I have configured Postfix to Send Mail Using Gmail. I have modified the file /etc/postfix/main.cf adding myhostname = fqdn.peris.app mydestination = $myhostname, peris.app, localhost, localhost....
2
votes
2answers
746 views

How to fix postfix set-permissions without user named root?

I'm trying to setup Postfix from Entware (a repo for embedded devices). There is no SElinux involved and chroot is disabled in master.cf. # postconf -n command_directory = /opt/sbin ...
1
vote
0answers
827 views

Postfix send mail problem “connection timed out”

I have Windows 7 local machine and virtualbox Ubuntu virtual machine. i have installed Postfix on it and configured it, but when I try to send test mail I get the following error (in var/log/mail.log ...
0
votes
1answer
111 views

Postfix not accepting mail from procmail in Centos7?

I have a Centos 7 server setup with Postfix, Spamassassin and procmail. It works fine, it receives and sends email , it passes it to the spam filter and delivers it to the required user or external ...
3
votes
1answer
401 views

Permission problems for postfix to connect to clamav-milter socket

I am running postfix postfix-3.3.1_1,1 and clamav-milter clamav-milter-0.100.1_1 on FreeBSD 11.2. Postfix and the milter are set to communicate via a socket. I am not able to get the milter and ...
0
votes
0answers
33 views

Indexing dovecot's date and time in solr

I'm using Solr with dovecot for full text search. Everything working fine but I want to index date or date time. I tried several ways but I can't find the correct field name to index. Few types that ...
1
vote
0answers
84 views

Postfix server: Mailman email double checked with SpamAssassin

I have set up postfix with spamassassin, and then added mailman for mailing list management, everything on Debian 9 Stretch: postfix: 3.1.8 mailman: 2.1.13 spamassassin: 3.4.1 The problem is that ...
1
vote
0answers
20 views

postfix wont send or receive email [closed]

I am running CentOS7 with postfix and dovecot connect to a mysql backend for user authentication. When I run doveadm user it responds correctly and the mailboxes get created automatically so I know ...