Questions tagged [smtpd]
The smtpd tag has no usage guidance.
59
questions
0
votes
0
answers
30
views
How to block qmail-smtpd AUTH failed attacks using fail2ban
I need to block a qmail-smtpd AUTH failed, brute force attack in one of my CentOS 7 servers.
Here is an example:
@4000000062a8757b0681a064 qmail-smtpd[1868]: AUTH failed [62.197.136.xx] spam@xxxxx.com
...
0
votes
0
answers
314
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
0
answers
104
views
STMP connection error with roundcube
recently I was trying to install roundcube on my server and everything works fine until smtp test. When I try to connect i always get this error:
SMTP send: NOT OK(Connection failed: Failed to ...
0
votes
1
answer
108
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.: linuxuser@subdomain.domain.com
Those incoming mailers should trigger a ...
1
vote
1
answer
338
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
0
answers
82
views
My Postfix server can't send emails to cpanels (Where Port 25 not supported)
I'm getting this error
to=<email@email-address>, relay=serverip:25, delay=16, delays=0.38/0.01/15/0, dsn=4.4.2, status=deferred (conversation with serverip timed out while receiving the initial ...
0
votes
0
answers
538
views
Receive email from a custom smtp server with python
I've set an smtp server with smtpd python module with a ddns and an MX record.
Now I want to receive email from account like google, yahoo etc, the email it is sent but it is never received, it seems ...
0
votes
1
answer
196
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
4k
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
208
views
OpenBSD 6.5 /etc/mail/aliases correct format?
What is the correct entry format for an alias?
Right now I have
root: xxxx@somewebsite.com
Running newaliases -f /etc/mail/aliases yields a syntax error. Are there examples in the manual page ...
2
votes
1
answer
986
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
297
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
859
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
250
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
434
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
163
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
290
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
438
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
8k
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
94
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
5k
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
963
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-...
3
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
690
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
187
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
571
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 ...
3
votes
1
answer
17k
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 ...
30
votes
1
answer
30k
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
4k
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
563
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
383
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....
4
votes
1
answer
16k
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
2k
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 ...
3
votes
1
answer
35k
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
164
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
127
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
73
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
721
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
14k
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
1k
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
174
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
3k
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 ...
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 ...
8
votes
4
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 ...
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....