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.

-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
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
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
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
19 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 ...
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
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 ...
-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 ...
0
votes
0answers
13 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
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
22 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
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 ...
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
116 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
24 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
83 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
0answers
62 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
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 ....
0
votes
0answers
18 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
12 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
39 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
16 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
11 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
29 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
62 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
246 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
70 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
82 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 ...
0
votes
3answers
201 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. One the one ...
0
votes
1answer
47 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
81 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
29 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
45 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
1answer
247 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
226 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
60 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
81 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
165 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
46 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
144 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
117 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
47 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
454 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
52 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
152 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
191 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
845 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 ...