Tag Info

Hot answers tagged

6

Use localhost for mydestination and myorigin mydestination = localhost myorigin = localhost With this setup, when mdadm send email to root, it will transformed to root@localhost. With mydestination = localhost, postfix will consult /etc/aliases to do aliasing. If you aren't comfortable with root@localhost in return-path, then you can use ...


5

The rejection was caused by smtpd_recipient_restrictions. Delete reject_unauth_destination from smtpd_recipient_restrictions should fix the problem. You have already put reject_unauth_destination in smtpd_relay_restrictions, so no need to put it again in smtpd_recipient_restrictions.


4

4 - handle the bounce. Generally the best approach is to cause the bounce to go to some sort of bounce-handling process so that persistently bouncing recipient address can ultimately be pruned out of your database. Which could be a .forward for "alice", or adjusting the envelope sender to be a handler process. Whether or not "alice" cares whether the ...


3

This is the tell-tale part of the log. Leads to masegaloeh's answer. May 3 17:26:04 raspberrysyncserver postfix/smtpd[31303]: >>> START Recipient address RESTRICTIONS <<< May 3 17:26:04 raspberrysyncserver postfix/smtpd[31303]: generic_checks: name=reject_unknown_client_hostname May 3 17:26:04 raspberrysyncserver postfix/smtpd[31303]: ...


3

I found two possible methods, but maybe there is a better way. 1st method: smtpd_sender_restrictions = reject_sender_login_mismatch, permit_sasl_authenticated, permit Now I modified my smtpd_sender_login_maps to return an entry of 'admin' if the domain exists in the domains table. This way a record is returned, even when the emailadress ...


3

The problem here is that you configured your server so that it should relay any outbound email to a server, namely smtp.mandrillapp.com. That server, in turn, is not accepting to relay your mail. I don't know this company, but my guess is that they only relay mails from authenticated customers, and your are not logging-in. You should probably have ...


3

How can I reinject mail scanned with spamassassin back into the queue for final delivery without causing a loop? NO You can't Explanation I understand the reason you use virtual_transport to pipe email into Spam Assassin. You only want to scan the email intended to your virtual_mailbox_domain. Unfortunately it doesn't follow the recommended setup for ...


2

After comment from @masegaloeh I've found a solution. The idea is to have a second postfix SMTP server listening on 10025 with a policy server in order to send mails to the normal server (if whitelisted) or to the quarantine server. The idea was starting as your header_checks solution, in main.cf: header_checks = regexp:/etc/postfix/header_checks In ...


2

Disclaimer: this answer only use some postfix documentation in the internet, so perhaps I missed some facts here. For better and precise documentation, feel free to post the question in postfix mailing-list (Wietse Venema is active person in that list) or look in postfix source code. All above question is focused on postfix backoff algorithm. First, I'll ...


2

Ok, it seems, i have to also add this: smtpd_delay_reject = yes smtpd_client_restrictions = permit_sasl_authenticated, reject as stated here: http://www.postfix.org/postconf.5.html under smtpd_sasl_auth_enable


2

Reverse DNS does not match SMTP Banner The SMTP Banner is the response of your mail server for the ehlo query. Currently your mail server is closing the connection. That is the reason for the mismatch between rDNS and SMTP banner. Reverse DNS itself is set up correctly, though. # telnet mail.simplyislam.biz 25 Trying 178.32.48.104... Connected to ...


1

unfortunately that isn't possible. But you could create a second virtual SMTP server, just not using the same port and local IP. You'd need to either use a different SMTP port instead of 25 or bind the two virtual SMTP servers to different local network cards / IPs.


1

Delivery to the following recipient failed permanently: user@emailaddress.com Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the server for the recipient domain user@emailaddress.com by smtp.secureserver.net. [68.178.213.37]. The error that the other server returned was: 550 5.1.1 Recipient not found. ...


1

Wildcard DNS RRs are not really a very good answer to any known problem, and they are an especially bad idea for MX records as it is often difficult or even impossible to correctly configure any mail server to work properly with them. Just be specific about exactly which domains you wish to use for email and configure the DNS and mail server(s) for them ...


1

First, you need to modify your distribution rules to match the following. Have a look at this post. --mode nth --every 3 --packet 0 --mode nth --every 2 --packet 0 --mode nth --every 1 --packet 0 As stated, the counters are not globals. So, you need to change your rules to match the remaining packets. Second, you need to make sure you are really using a ...


1

One of the ways you could accomplish this without writing a Powershell script is with a monitoring service. Do you have any type of monitoring currently setup? Most monitoring services will notify that the server is unreachable and then also send a "all clear" email when the server is back up. A few of the free & open source tools I have used are Zabbix ...


1

Here the proposed mail-flow-diagram for your case. External mail server | ▲ | | POP3 SMTP | | ▼ | Local mail server First, you need setup working local mail server with postfix and dovecot. The important parameter for postfix is never list your local domain in relay_domains. You can use virtual_mailbox_domains ...


1

Added solution from official productgoole forums. The real domain that has a problem is universcine.com. The TXT record of this domain is @ 600 IN TXT "v=spf1 a mx ptr a:lmc.universcine.com include:_spf1.universcine.com include:lmc-other._spf.universcine.com include:emarsys._spf.universcine.com include:universcine._spf.wiztivi.com include:spf.google.com ...


1

It is not possible to route select e-mails from Office 365 to another SMTP Server, at least not an SAP SMTP server. I ended up forwarding e-mails from one domain to another - using the second domain as an 'SAP e-mail only domain', which would be routed to the SAP e-mail server: sapuser@mycompany.com -> sapuser@sapmycompany.com -> SAP SMTP server This way, ...


1

The masquerade rule is wrong: iptables -t nat -A POSTROUTING -s '192.168.0.0/24' -o vmbr0 -j MASQUERADE It is saying that packets going out the vmbr0 interface and from 192.168.0.0/24 should be masqueraded. But no packets will ever match this, because they aren't going out the vmbr0 interface! Instead they are going out your physical interface. Change ...


1

Where are you defining the Mandrill API key? I think you are missing smtp_sasl_password_maps directive in main.cf. Please see the following: Can I configure Postfix to send through Mandrill?



Only top voted, non community-wiki answers of a minimum length are eligible