Topic: Internal Mail relay
System: CentOS 5.8 64-bit
iRedmail 0.7.4 (LDAP)
iRedadmin Pro 1.6.4 LDAP
Could anybody please help me with the following:
I need to be able to send admin mails from several internal systems WITHOUT loggin in. Exemple:
I have a network 10.50.50.0-255
I have hosts with various OS such as Windows, Linux etc. Scripts written in Perl or windows powershell should send some administrative messages to an administrator mailbox. This should be done without beeing logged in. How can I set this up? Currently I get error messages as follows:
Mar 27 07:02:03 sedna postfix/smtpd: connect from unknown[10.50.50.10]
Mar 27 07:02:05 sedna postfix/smtpd: warning: unknown[10.50.50.10]: SASL login authentication failed: UGFzc3dvcmQ6
Mar 27 07:02:05 sedna postfix/smtpd: NOQUEUE: reject: RCPT from unknown[10.50.50.10]: 553 5.7.1 <email@example.com>: Sender address rejected: not logged in; from=<firstname.lastname@example.org> to=<email@example.com> proto=ESMTP helo=<GALAXY>
Mar 27 07:02:05 sedna postfix/smtpd: lost connection after RCPT from unknown[10.50.50.10]
Mar 27 07:02:05 sedna postfix/smtpd: disconnect from unknown[10.50.50.10]
(Names and hosts replaced with nonsense names)
In the above exemple firstname.lastname@example.org should be able send an email using iRedMail server to email@example.com WITHOUT being logged in. Using POWERSHELL this is a simple script as follows:
[string] $From = "firstname.lastname@example.org",
[string] $To = "email@example.com",
[string] $Title = "title",
[string] $Body = "body"
$SmtpClient = New-Object System.Net.Mail.SmtpClient("myhost.xyz.com", 25);
Relaying MUST ONLY WORK for INTERNAL mails, e.g. all mails sent from hosts with IP 10.50.50.*
How can I set this up in iRedMail ??
- Urgent issue? Pay iRedMail developer to solve it remotely at $39.