I just tried to release a mail to an external mailaddress.
The logging said it could not be delivered, because the domain doesn't exist (correct 'cause the sending emailaddress is my internal domain).
Where do I change it to my external domainname? (Or is that a definite no-no?)
Emailaddress used to release mail
- shawniverson
- Posts: 3644
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Emailaddress used to release mail
You could add an entry into /etc/hosts to get around this, I believe.
Re: Emailaddress used to release mail
I could, but that would not solve the issue...
The external domain can't do a nslookup of my internal domain...
The external domain can't do a nslookup of my internal domain...
Re: Emailaddress used to release mail
If you release an message the default 'from' is used so i'm guessing here that your from adres in the mail is wrong?
I never tried it but you could try to edit the source email, first you need the ID of the message you can see the ID in MailWatch it is in the format of xxxxxxxxxx.xxxxx
Then use the first part of the ID and search for the local file:
Edit the file it has found so the correct 'FROM' is used and try to re-release the message.
Ofcourse a better aproach would be to use the correct sending domain for all your mails
I never tried it but you could try to edit the source email, first you need the ID of the message you can see the ID in MailWatch it is in the format of xxxxxxxxxx.xxxxx
Then use the first part of the ID and search for the local file:
Code: Select all
find /var/spool/MailScanner/quarantine/ -name *E24D1120FBA* -print
Ofcourse a better aproach would be to use the correct sending domain for all your mails
Version eFa 4.x now available!
Re: Emailaddress used to release mail
Sending mail to external smtp works fine, except when I try to release from quarantine to an external smtp server.
Then it fails (cause it using postmaster@<internaldomain.lan>.
Then it fails (cause it using postmaster@<internaldomain.lan>.
Re: Emailaddress used to release mail
Ah, misunderstood that.
login with SSH and in the menu choose "IP settings"
Then change the domain name to your external domain.
login with SSH and in the menu choose "IP settings"
Then change the domain name to your external domain.
Version eFa 4.x now available!