Questions tagged [smtpd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
34 votes
1 answer
36k 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
9 votes
5 answers
9k views

Receive emails on Amazon EC2 Server

I just got started with an EC2 instance and got my mail sending limit removed, allowing me to send emails from my instance. But due to lack of experience, I have no clue on how to enable receiving ...
Kartik's user avatar
  • 201
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
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
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
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
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
4 votes
1 answer
10k views

unable to open Berkeley db /etc/sasldb2: No such file or directory

In /var/log/mail.log I get such error message: Jul 25 01:33:11 ubuntu8 postfix/smtpd[10863]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory ...
alex2k8's user avatar
  • 175
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
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
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
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
3 votes
1 answer
3k views

Can I use DenyHosts for a SMTP service

I would like to block some hosts that are brute forcing my SMTP server. I'm currently using DenyHosts for SSHD and was wondering if I can add the SMTP service too. It could be possible based on this ...
Derick Schoonbee's user avatar
2 votes
2 answers
303 views

Postfix rejects mails if policyd is not reachable

I got a postfwd daemon running and it does a great job. smtpd_recipient_restrictions = [...] check_policy_service inet:192.168.10.7:10040 But if this server (192.168.10.7) isn't ...
noqqe's user avatar
  • 173
2 votes
1 answer
891 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
2 votes
2 answers
669 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
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
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
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
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
1 vote
1 answer
3k views

Postfix mail size counting

If I'm right Postfix counts mail size with an attachment sent to multiple receivers as one big e-mail. Eg.: User sends mail with 8 MB attachment to two receivers. Postfix thinks it's 2 x 8 MB = 16 MB ...
meridius's user avatar
  • 113
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
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
1 vote
1 answer
3k views

Postfix/SMTPD Relay Access Denied when sending outside the network

I asked a very similar question some 4 or 5 months ago, but haven't tracked down a suitable answer. I decided to post a new question so that I can ... a) Post updated info b) post my most current ...
David W's user avatar
  • 3,459
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
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
1 answer
233 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
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
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
2 answers
1k views

postfix rejects incoming mail / 450 error / hostname returns different ip

I'm trying to find why postfix rejected the incoming mail the line from mail.log is: NOQUEUE: reject: RCPT from unknown[xxx.xxx.xxx.1]: 450 4.7.1 Client host rejected: cannot find your hostname, [xxx....
Kuba Zygmunt's user avatar
1 vote
1 answer
2k views

smtp authentication on postfix mail server with slackware linux 13.1

I am failing to authenticate to the mysql mail database using saslauthd (cyrus-sasl2.1.23) thru pam-mysql. Below are some of the commands execute as well as the configurations root@xxxx:/# ps aux | ...
user80476's user avatar
1 vote
2 answers
398 views

Lean & mean, basic SMTP server, for use over a single domain, no fwd'ing

Looking for recommendation for a light-weight, SMTP server, with basic capabilities (will be run on port#25, with authentication but clear-channel), and it's use shall be limited to a particular (or a ...
icarus74's user avatar
1 vote
1 answer
728 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
1 answer
814 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
1 vote
1 answer
907 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
1 vote
1 answer
424 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
2 answers
4k views

What is the exact meaning of "SASL authentication failure: incorrect digest response"

I followed Flurdy's how-to for setting up a mail server on ubuntu. I can receive mails and use squirrelmail to read and send emails. However, I can't send emails through my server using my email ...
Sascha's user avatar
  • 121
1 vote
1 answer
230 views

Postfix advanced relaying config/control

How do I make Postfix only accept outbound mail from $mynetworks if the from is *@mydomain(s) ? To be clear (and differentiate from similar questions I found) I want to make postfix such that users ...
sandroid's user avatar
  • 1,724
1 vote
0 answers
90 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
1 vote
0 answers
648 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
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
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
0 votes
1 answer
109 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
493 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
0 votes
1 answer
498 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
319 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
0 votes
2 answers
491 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
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
402 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