Deliver mail to different server than for another domain fails

Bugs in eFa 4
Post Reply
Mr. Happy
Posts: 51
Joined: 03 Jan 2014 17:07

Deliver mail to different server than for another domain fails

Post by Mr. Happy » 06 Jun 2021 14:03

In my transport-file I have 3 domains. 2 domains (A+B) go to an Exchange-server on server A en 1 domain (C) goes to a non-Exchange-server on server B.
The mails to the domains on Exchange get routed fine and are delivered. The mails for domain C get (in my test) relayed to outlook.com (the domain I sent my test-email from).
I make use of the relay_recipients-file and both emailaddressess are in there.

This is what I see in the logging

Code: Select all

Jun  6 15:40:06 efa postfix/smtpd[22519]: NOQUEUE: reject: RCPT from mail-vi1eur05olkn2096.outbound.protection.outlook.com[40.92.90.96]: 550 5.1.1 <email@domainc.com>: Recipient address rejected: undeliverable address: No user at this address; from=<email@hotmail.com> to=<email@domainc.com> proto=ESMTP helo=<EUR05-VI1-obe.outbound.protection.outlook.com>
Jun  6 15:40:06 efa postfix/smtpd[22519]: disconnect from mail-vi1eur05olkn2096.outbound.protection.outlook.com[40.92.90.96] ehlo=2 starttls=1 mail=1 rcpt=0/1 quit=1 commands=5/6
Even disabling the use of relay_recipients (and removing the cache-file) gives me the error

Code: Select all

550 5.1.1 <email@domainc.com>: Recipient address rejected: undeliverable address: No user at this address
As far as I can tell everything is fine. I've used domain C for the last about 6 months ago. I didn't change anything in the config, but update EFA today. Maybe that did something?

After the update I also saw there messages (not sure if they're somehow related):

Code: Select all

Jun  6 15:48:01 efa MailScanner[20697]: New Batch: Scanning 1 messages, 6105 bytes
Jun  6 15:48:01 efa MailScanner[20697]: Virus and Content Scanning: Starting
Jun  6 15:48:02 efa MailScanner[20697]: Spam Checks: Starting
Jun  6 15:48:02 efa MailScanner[20697]: MailWatch: Whitelist refresh time reached
Jun  6 15:48:02 efa MailScanner[20697]: MailWatch: Starting up MailWatch SQL Whitelist
Jun  6 15:48:02 efa MailScanner[20697]: MailWatch: Read 513 whitelist entries
Jun  6 15:48:02 efa MailScanner[20697]: MailWatch: Blacklist refresh time reached
Jun  6 15:48:02 efa MailScanner[20697]: MailWatch: Starting up MailWatch SQL Blacklist
Jun  6 15:48:02 efa MailScanner[20697]: MailWatch: Read 11 blacklist entries
Jun  6 15:48:16 efa MailScanner[20697]: Unable to initialise database connection: Access denied for user 'efa'@'localhost' (using password: NO)
I checked the database and new mails are registered there, so it seems to work fine...

jamerson
Posts: 159
Joined: 19 Aug 2017 18:57
Location: kaaskop

Re: Deliver mail to different server than for another domain fails

Post by jamerson » 18 Jun 2021 09:10

its telling you the email you are sending to doesnt exisit.
are you sure the email adres is correct?
Version eFa 4.0.0 RC1 now available in testing repo. Come join us in advancing eFa!

Mr. Happy
Posts: 51
Joined: 03 Jan 2014 17:07

Re: Deliver mail to different server than for another domain fails

Post by Mr. Happy » 01 Jul 2021 08:42

Missed the notification that I received a reply... :oops:
The address exists. Like I said: the domain C is on an other server than A & B, but the mails don´t get routed to C - they're routed to the domain the mail came from....

Post Reply