Questions tagged [smtpd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
107 views

Can postfix enforce reject_unknown_helo_hostname before permit_sasl_authenticated?

I have a working postfix 3.5 relay where the config includes: smtpd_client_restrictions = permit_mynetworks, reject_unknown_client_hostname, permit smtpd_helo_required=yes ...
Jonathan Wakely's user avatar
0 votes
2 answers
447 views

Postfix smtpd_sender_restrictions with logical AND

I am using postfix, I need to configure sender based restrictions so nobody that is not authenticated & not part of mynetworks can send mail through this server, this is my smptd sender ...
csx4's user avatar
  • 101
0 votes
1 answer
1k views

Postfix logging to syslog even though it's excluded

Ubuntu 22.04 and postfix 3.6.4 Postfix config is set to use syslog_facility=mail, and I have modified /etc/rsyslog.d/50-default.conf to the following *.*;mail,auth,authpriv.none -/var/log/syslog ...
Brett A.'s user avatar
  • 156
2 votes
1 answer
865 views

Postfix - Discarding EHLO Keywords Duplicate Log Entries

Ubuntu 20.04 Postfix 3.4 For each message received by my Postfix I see the following two entries: Mar 8 16:34:42 mail postfix/smtpd[863775]: discarding EHLO keywords: ETRN DSN Mar 8 16:34:42 mail ...
user1801810's user avatar
1 vote
1 answer
721 views

Malformed BASE64 value in vmail_ssl.map.db

I'm using postfix in Ubuntu 20.04.5 . Here's my vmail_ssl.map file, with domain names redacted: mail.domain.org /etc/letsencrypt/live/mail.domain.org/privkey.pem /etc/letsencrypt/live/mail.domain.org/...
Valerica's user avatar
1 vote
0 answers
89 views

Postfix: getting 50 or more copies of the same email from specific senders

I have a Postfix (2.10.1) / Dovecot server running on Centos 7. From specific servers I get about 50 copies of the same email every weekend, I tried a wireshark but it uses STARTTLS so its all ...
Jeremy's user avatar
  • 11
4 votes
1 answer
2k views

reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your reverse hostname

Sending an email from my local network is going fine. Also through Thunderbird or remote with Roundcube, which is locally installed. But now, I am in Asia and try to send an email with Thunderbird. ...
Zilvermeeuw's user avatar
1 vote
1 answer
794 views

Postfix ignores -o settings in master.cf

I'm configuring a Postfix with three services in master.cf. So far I learned from @anx (thank you so much!) that smtpd-based services in master.cf do not understand transport-related options. Only ...
Joe's user avatar
  • 111
0 votes
0 answers
2k views

Postix to relay SMTP from port 587

I have a debian server with postfix, fail2ban, roundcube, webmin and dovecot installed on it. I have been able to send mails from port 25, but regardless of what I try I can't get it to work from 465 ...
caobo's user avatar
  • 1
0 votes
1 answer
249 views

Mail server set up for inbound mail on a subdomain to trigger php script

I'm trying to set my company server up to be able to receive emails to a certain account on a subdomain of our main domain i.e.: [email protected] Those incoming mailers should trigger a ...
ajax1515's user avatar
  • 157
1 vote
1 answer
896 views

Postfix rejects emails relayed from O365

I have to do a migration of Office 365 from Postfix with Sogo. My goal is to configure small hybrid of Office 365 with Postfix, a bit the same way you do with Exchange On-premises. Currently, postfix ...
MadBoy's user avatar
  • 3,745
0 votes
1 answer
495 views

postfix multiple smtp banner with smtp relay like mandrill, mailjet

I followed the guide to setup postfix with multiple SMTP banners and I am really happy. It works wonderfull. guide: postfix multiple IP SMTP banner The same thing I try to use with a transactional ...
SmileMZ's user avatar
  • 131
0 votes
1 answer
5k views

NOQUEUE: reject: RCPT from 451 4.3.5 Server configuration

Unfortunately after some changes on master.cf and main.cf in postfix I'm getting these errors when I try to send out a e-mail. root@mail:/etc/postfix# tail -f /var/log/syslog | grep "rene.brakus@...
Rene's user avatar
  • 113
0 votes
1 answer
312 views

OpenBSD 6.5 /etc/mail/aliases correct format?

What is the correct entry format for an alias? Right now I have root: [email protected] Running newaliases -f /etc/mail/aliases yields a syntax error. Are there examples in the manual page ...
user avatar
2 votes
1 answer
1k views

If I am using dovecot for submission, should I reject all emails sent through postfix?

I have configured dovecot submission service on port 587, with the relay being the postfix server. They are on two different ip addresses/machines. The only way I want email to be sent, is through ...
Christopher Thomas's user avatar
1 vote
1 answer
423 views

How to get postfix to check all 'Recieved:' headers against an RBL?

I have several rbls listed in smtpd_client_restrictions, but this only checks the client IP against the RBLS. Is there any way to get postfix to check each Recieved: line against the RBL like ...
nyet's user avatar
  • 131
1 vote
1 answer
2k views

Postfix: define a global concurrency_limit

I need to limit the simultaneous outgoing connections Postfix can make. It is possible to limit the number of connection per destination with transport_destination_concurrency_limit, but not globally ...
Maxxer's user avatar
  • 302
0 votes
2 answers
487 views

Why my postfix server is connecting to outside IP constantly?

I've set up a VPS which is working fine. I'm using postfix server to send email using PHP. I was just checking the log files and I noticed that my server is getting a connecting request or connecting ...
Vipin Yadav's user avatar
3 votes
1 answer
3k views

Postfix: How to limit outgoing messages (smtp) while sender_dependent_default_transport_maps is enabled?

I would appreciate and thankful if anybody could suggest me regarding the following issue I am dealing with for the last 7 days. Current Condition: 1 working mail server (collocation) that host for ...
busythomas's user avatar
0 votes
0 answers
492 views

Spam from my Debian Stretch server - postfix

I have a huge problem with my Debian Stretch installation. Out of the blue one client email address started sending a huge amounts o spam. My server uses standard configuration. I installed it with ...
Get Schwifty's user avatar
0 votes
0 answers
248 views

Dovecot SpamAssassin results different than standalone

I'm trying to filter spam with smtpd, spampd, dovecot, and SpamAssassin, and I'm finding different results of a spam email between the X-Spam-Report added by spampd/dovecot (which scores low) versus a ...
Kevin's user avatar
  • 215
0 votes
1 answer
2k views

How to bypass smtpd_recipient_limit for single domain?

Can any one help me bypassing smtpd_recipient_limit to 100 or 150 for a single domain in postfix ? Apart from those domain all other domains smtpd_recipient_limit should be 50.
Anand Shrestha's user avatar
0 votes
1 answer
401 views

Postfix daemon connects and immediately disconnects periodically

Postfix's smtpd(daemon used to receive mail) flaps/(connects/disconnects) every 30 seconds with the connection from localhost. May 24 17:33:03 ---- postfix/smtpd[8397]: connect from localhost[127.0....
notapatch's user avatar
  • 121
1 vote
0 answers
646 views

Postfix seems slow, no load, no idea -.-

Our new postfix server we set up just for our weekly newsletter seems very slow, it takes more than double the time our old server at 1&1 did. The last days i tried to figure out whats wrong, ...
Libertas's user avatar
3 votes
1 answer
9k views

postfix/submission/smtpd[xxxxx]: warning: hostname <**> does not resolve to address <IP>: Name or service not known

I installed iRedMail on VPS (Ubuntu). Fail2Ban bans my home IP address. In /var/log/mail.log I see messages like: postfix/submission/smtpd[32149]: warning: hostname unallocated.sta.lan.ua does not ...
TitanFighter's user avatar
0 votes
0 answers
97 views

Postfix do not send emails to googleapps email

I am using postfix on one of the server from where I can't send emails from command line. below is the extract of command postconf -n postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/...
Shailesh Sutar's user avatar
1 vote
2 answers
6k views

postfix allow localhost only local users

I have a little problem. I am offering some clients access to my server in order to execute own scripts (of course in their own chroot environment, etc...). The problem which occured today: Some ...
Bene's user avatar
  • 127
1 vote
0 answers
1k views

Postfix logs to remote log host

On my Ubuntu 14.04 server, I'm using Postfix as a front-end mailserver, and I would like to send all mail related info, including email addresses, to a remote host. In the file /etc/rsyslog.d/50-...
user3771743's user avatar
4 votes
1 answer
3k views

What's the proper way to get smtpd (OpenSMTPD) to pick up changes to smtpd.conf?

I'm new to OpenBSD and in the process of learning OpenSMTPD. I would have expected some sort of "restart" option from the smtpctl command, but it only has a stop with no start which might force a ...
rcampbell's user avatar
  • 1,035
2 votes
1 answer
779 views

OpenSMTPD wont work at reboot

I just installed an OpenSMTPD server on my arch linux machine. It is working fine when I start it myself, but is failing to start when I reboot the machine. Here is the journalctl -f _SYSTEMD_UNIT=...
Niols's user avatar
  • 123
1 vote
1 answer
1k views

openDKIM breaks email forwarding

After moving our server over to Postfix, I have decided to implement DKIM using OpenDKIM. I have been successfully able to install and run this, but while it is enabled as a milter, all mail ...
Joe's user avatar
  • 13
1 vote
1 answer
232 views

Postfix acting like an open relay for domain mailboxes

I have a mail server running on Debian 7.8 configured with postfix 2.9.6. My restrictions are these: smtpd_sender_restrictions = reject_sender_login_mismatch, reject_unknown_sender_domain, ...
enne's user avatar
  • 31
2 votes
2 answers
665 views

Where do these "single-dot" smtp connection failures come from?

I'm running a mailserver based on postfix. There are a lot of connection failures like this: Transcript of session follows. Out: 220 hostname.tld ESMTP Postfix In: . Out: 502 5.5.2 Error: command ...
McJoey's user avatar
  • 121
5 votes
1 answer
18k views

Postfix: Set custom SMTP Banner based on address used to access server

The Postfix parameter smtpd_banner sets the text of a server's SMTP greeting banner. The default setting is: smtpd_banner = $myhostname ESMTP $mail_name My mail server has several unique IP ...
user avatar
34 votes
1 answer
35k views

What's the difference between postfix/smtp and postfix/smtpd

A bit confused when reading through the logs of my smtp/mail server, I'm turning this questions to you guys. In the maillog files I'm seeing entries for postfix/smtp as well as postfix/smtpd. I can ...
Edwin Krause's user avatar
0 votes
1 answer
5k views

Why am I getting a 'fatal: SASL library initialization'

If I turn on smtp_sasl_auth_enable=yes <- yes I get this set of warnings and a fatal for SASL. I can not see why it's also looking for cyrus - which is not compiled in. postfix/smtp[87056]: ...
Harry McGovern's user avatar
-2 votes
1 answer
643 views

Issues sending and receiving mail, Dovecot, Postfix etc

I have been trying to fix my mail server for 3 days now. I'm not really new to Debian and Apache and such but I am new to Dovecot and Postfix. At this point I have set up the virtual users and the ...
Desultory's user avatar
  • 197
-1 votes
1 answer
567 views

Understanding Postfix Mail Log (Part II)

There are several logs like below in my Postfix mail log: Mar 9 06:01:10 postfix/smtpd[23043]: initializing the server-side TLS engine Mar 9 06:01:10 postfix/smtpd[23043]: connect from mlxmail4....
rei's user avatar
  • 61
5 votes
1 answer
20k views

Limit concurrent connections to Postfix server

I'm having trouble limiting the number of concurrent connections from the same client to my Postfix server. Limiting the maximal number of concurrent processes, from the same or different clients, is ...
Jay's user avatar
  • 151
1 vote
2 answers
3k views

How to scan mails with amavis from other mailserver

I have two postfix mail servers mailserver1 is running amavis to scan spam and virus mails mailserver2 is running without amavis. My question is how is the smartest way to use mailserver1 ...
Ulli's user avatar
  • 97
5 votes
1 answer
40k views

550 Recipient address rejected: User unknown (in reply to RCPT TO command) - for an external domain

In postfix, I'm unable to receive mails from the specific domain but I'm able to send mails to it. For some reason postfix thinks the domain is internal, correct me if I'm wrong? Sample from postfix ...
Eran's user avatar
  • 65
1 vote
1 answer
5k views

Postfix refuses to send mail to some recipients

I got a third-party application running on localhost trying to send mails with postfix via smtp on the same machine. The problem is that postfix seems to refuse mails to some recipients: Content of /...
ProfHase85's user avatar
0 votes
1 answer
225 views

Postfix accepts unauthorized requests

Here is an excerpt of my Postfix configuration: broken_sasl_auth_clients = yes smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_relay_restrictions = ...
Daniel's user avatar
  • 161
0 votes
2 answers
134 views

Receiving mail in a python process on an aws instance

I'm using a Python smptd server on an AWS instance. It's listening on localhost, port 25. I can send mail to it through a Python smtp client on the same instance. I have an elastic IP associated with ...
user avatar
2 votes
3 answers
117 views

use two different configs in one postfix, is it possible?

I'm wondering if is it possible to specify another main.cf for the configuration of smptd service in another port paired with normal config in standard port. I know that is it possible to override ...
theist's user avatar
  • 1,249
0 votes
1 answer
754 views

Incoming hotmail connections timing out with TLS enabled

Okay, this has me completely baffled. I have tried many things to fix this but I'm at my wits end. At the start of June, the server which I maintain suddenly decided to stop accepting incoming TLS ...
Andrew S's user avatar
3 votes
6 answers
17k views

SMTP server takes 30+ seconds to accept a message, how to make it faster?

One of our SMTP servers is slow accepting emails, here is the typical output (response time 30+ seconds) from a smtp client script: 2014-02-26 11:44:11 +0800 BEGIN 2014-02-26 11:44:11 +0800 LOGGED IN ...
ohho's user avatar
  • 1,025
1 vote
2 answers
2k views

Postfix noqueue reject

I have own a vServer and multiple domains. The server is mainly used for Websites but I've also set up postfix and dovecot to deliver mail. Everything is working as expected. Even for different ...
byf-ferdy's user avatar
1 vote
1 answer
6k views

postfix welcome message smtpd_banner

I would like to greet the remote client showing his IP. For example: "mysite.com ESMTP Hello xxx.xxx.xxx.xxx your actions will be logged" I have this... smtpd_banner = $myhostname ESMTP Hello $...
Martin Graws's user avatar
3 votes
1 answer
182 views

Avoiding non-existent domain point to my country's Network Information Center?

I have received an alerting email about the Mailqueue length from the Nagios: Additional Info: WARN - Mailqueue length is 18 (More than threshold: 10) In the mailq, I see some messages like this: -...
quanta's user avatar
  • 51.8k