|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Neil Wilson (neilw
dcdata.co.za)
Date: Tue Aug 21 2007 - 09:47:32 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi guys,
Is it possible to use the /etc/aliases table while also forwarding email for the same domain
to another server using a transport?
It only needs to be for a few addresses not all of them.
My reason for this is, mailman relies on these aliases to send out mail, but I need to have
all email
/etc/aliases
## mailman mailing list
mailman: "|/usr/local/mailman/mail/mailman post mailman"
mailman-admin: "|/usr/local/mailman/mail/mailman admin mailman"
mailman-bounces: "|/usr/local/mailman/mail/mailman bounces mailman"
mailman-confirm: "|/usr/local/mailman/mail/mailman confirm mailman"
/etc/postfix/main.cf
mydomain = lists.blabla.co.za
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, $mydomain,
unknown_local_recipient_reject_code = 550
mynetworks = 127.0.0.0/8, 10.1.0.1/32, 10.1.0.3/32
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sender_restrictions = reject_unknown_sender_domain, hash:/etc/postfix/access
alias_maps = hash:/etc/aliases
transport_maps = hash:/etc/postfix/transport
relay_transport = smtp
local_recipient_maps =
local_transport = error:local mail delivery is disabled on this machine
/etc/postfix/transport
blabla.co.za smtp:[10.1.0.3]
Below is the error from my logs...
Aug 21 15:09:20 lists postfix/smtpd[22612]: NOQUEUE: reject: RCPT from unknown[10.1.0.5]:
550 <allstaff
lists.blabla.co.za>: Recipient address rejected: local mail delivery is
disabled on this machine; from=<sward
blabla.co.za> to=<allstaff
lists.blabla.co.za>
proto=ESMTP helo=<mail.blabla.co.za>
Any assistance will be greatly appreciated.
Thanks in advance.
Regards.
Neil
--
This email and all contents are subject to the following disclaimer:
http://www.dcdata.co.za/emaildisclaimer.html
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]