Questions tagged [smtpd]
The smtpd tag has no usage guidance.
62
questions
0
votes
2
answers
78
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 ...
0
votes
1
answer
502
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
...
2
votes
1
answer
354
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 ...
1
vote
1
answer
459
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/...
1
vote
0
answers
66
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 ...
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.
...
1
vote
1
answer
500
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 ...
0
votes
0
answers
1k
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 ...
0
votes
1
answer
229
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 ...
1
vote
1
answer
727
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 ...
0
votes
1
answer
408
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 ...
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@...
0
votes
1
answer
285
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 ...
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 ...
1
vote
1
answer
389
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 ...
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 ...
0
votes
2
answers
435
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 ...
3
votes
1
answer
2k
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 ...
0
votes
0
answers
484
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
...
0
votes
0
answers
234
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 ...
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.
0
votes
1
answer
363
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....
1
vote
0
answers
581
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, ...
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 ...
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:/...
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 ...
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-...
4
votes
1
answer
2k
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 ...
2
votes
1
answer
756
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=...
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 ...
1
vote
1
answer
225
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, ...
2
votes
2
answers
628
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 ...
4
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 ...
31
votes
1
answer
34k
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 ...
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]: ...
-2
votes
1
answer
623
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 ...
-1
votes
1
answer
549
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....
5
votes
1
answer
19k
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 ...
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 ...
4
votes
1
answer
39k
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 ...
1
vote
1
answer
4k
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 /...
0
votes
1
answer
201
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 = ...
0
votes
2
answers
133
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 ...
2
votes
3
answers
85
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 ...
0
votes
1
answer
741
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 ...
2
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
...
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 ...
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 $...
3
votes
1
answer
179
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:
-...
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 ...