bwragg
8th June 2009, 02:22
Hi,
I've hit a problem with forwarding email to aliases and just wanted to check if this can or can't be done. We have a user setup on domain1 with a forward setup to redirect mail to a user on domain2. The thing is the user on domain 2is an alias. e.g:
user1@domain1.com -> alias@domain2.com-> realuser@domain2.com
Is this possible to do some how? I (as the postmaster) keep getting it bouncing back to me.
Thanks,
bwragg
This should work fine. Please post the exact error messages that you get back and the ones from the mail log.
bwragg
24th September 2009, 06:11
further to this problem I have a client with the following forward setup:
userx@domain1.com -> usery@domain2.com
If you email userx@domain1.com the mail gets delivered but when it gets forwarded to usery@domain2.com.au it bounces to me as the administrator and doesn't get delivered to usery@domain2.com.au.
I've checked the logs and they show this (I've changed the names to follow the example above):
Sep 24 12:59:28 bob postfix/smtpd[16740]: 8F25515B411C: client=mail09.syd.optusnet.com.au[211.29.132.190]
Sep 24 12:59:28 bob postfix/cleanup[16742]: 8F25515B411C: message-id=<002c01ca3cc3$07659eb0$0502a8c0@windoze>
Sep 24 12:59:28 bob postfix/qmgr[20967]: 8F25515B411C: from=<me@mydomain.com.au>, size=4509, nrcpt=1 (queue active)
Sep 24 12:59:28 bob sendmail[16747]: n8O2xSpe016747: from=userx, size=135, class=0, nrcpts=1, msgid=<200909240259.n8O2xSpe016747@bob.mydomain.com.au>, relay=userx@localhost
Sep 24 12:59:28 bob postfix/smtpd[16748]: connect from localhost.localdomain[127.0.0.1]
Sep 24 12:59:28 bob postfix/smtpd[16748]: setting up TLS connection from localhost.localdomain[127.0.0.1]
Sep 24 12:59:28 bob postfix/smtpd[16740]: disconnect from mail09.syd.optusnet.com.au[211.29.132.190]
Sep 24 12:59:28 bob postfix/smtpd[16748]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Sep 24 12:59:28 bob sendmail[16747]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Sep 24 12:59:28 bob postfix/smtpd[16748]: E563315B4121: client=localhost.localdomain[127.0.0.1], sasl_sender=userx@bob.mydomain.com.au
Sep 24 12:59:28 bob postfix/cleanup[16742]: E563315B4121: message-id=<200909240259.n8O2xSpe016747@bob.mydomain.com.au>
Sep 24 12:59:29 bob postfix/qmgr[20967]: E563315B4121: from=<userx@bob.mydomain.com.au>, size=810, nrcpt=1 (queue active)
Sep 24 12:59:29 bob sendmail[16747]: n8O2xSpe016747: to=admispconfig@localhost.localdomain, ctladdr=userx (10387/10100), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30135, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as E563315B4121)
Sep 24 12:59:29 bob postfix/local[15658]: E563315B4121: to=<admispconfig@localhost.localdomain>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
Sep 24 12:59:29 bob postfix/qmgr[20967]: E563315B4121: removed
Sep 24 12:59:29 bob postfix/smtpd[16748]: disconnect from localhost.localdomain[127.0.0.1]
Sep 24 12:59:29 bob postfix/local[15521]: 8F25515B411C: to=<userx@bob.mydomain.com.au>, orig_to=<user2@domain1.com.au>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
Sep 24 12:59:29 bob sendmail[16761]: n8O2xTKR016761: from=mydomain.com.au.me, size=149, class=0, nrcpts=1, msgid=<200909240259.n8O2xTKR016761@bob.mydomain.com.au>, relay=mydomain.com.au.me@localhost
Sep 24 12:59:29 bob postfix/smtpd[16740]: connect from localhost.localdomain[127.0.0.1]
Sep 24 12:59:29 bob postfix/smtpd[16740]: setting up TLS connection from localhost.localdomain[127.0.0.1]
Sep 24 12:59:29 bob postfix/smtpd[16740]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Sep 24 12:59:29 bob sendmail[16761]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Sep 24 12:59:29 bob postfix/smtpd[16740]: 607A215B4121: client=localhost.localdomain[127.0.0.1], sasl_sender=mydomain.com.au.me@bob.mydomain.com.au
Sep 24 12:59:29 bob postfix/cleanup[16742]: 607A215B4121: message-id=<200909240259.n8O2xTKR016761@bob.mydomain.com.au>
Sep 24 12:59:29 bob postfix/qmgr[20967]: 607A215B4121: from=<mydomain.com.au.me@bob.mydomain.com.au>, size=847, nrcpt=1 (queue active)
Sep 24 12:59:29 bob sendmail[16761]: n8O2xTKR016761: to=admispconfig@localhost.localdomain, ctladdr=mydomain.com.au.me (10001/10001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30149, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 607A215B4121)
Sep 24 12:59:29 bob postfix/local[15658]: 607A215B4121: to=<admispconfig@localhost.localdomain>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
Sep 24 12:59:29 bob postfix/qmgr[20967]: 607A215B4121: removed
Sep 24 12:59:29 bob postfix/smtpd[16740]: disconnect from localhost.localdomain[127.0.0.1]
Sep 24 12:59:31 bob pop3-login: Login: jarred [::ffff:110.175.196.71]
Sep 24 12:59:32 bob postfix/local[15521]: 8F25515B411C: to=<mydomain.com.au.me@bob.mydomain.com.au>, orig_to=<user2@domain1.com.au>, relay=local, delay=4, status=sent (delivered to command: /usr/bin/procmail -f-)
Sep 24 12:59:32 bob postfix/qmgr[20967]: 8F25515B411C: removed
till
24th September 2009, 11:49
Please check the /etc/aliases file if you have an alias there for "usery" that might redirect the email.
bwragg
28th September 2009, 03:11
Thanks till, I just checked the file and I can see usery's real name is webmaster@.
This is listed in the file as:
webmaster: root
and then later on in the file root come to me:
root: myemail@mydomain.com
Does this alias file effect all domains that are held on my machine? E.g if the I host 10 domain and they all have a webmaster@theirdomain.com setup they will all still come to me?
Thanks,
falko
28th September 2009, 14:54
Does this alias file effect all domains that are held on my machine? E.g if the I host 10 domain and they all have a webmaster@theirdomain.com setup they will all still come to me?
Yes, if you've disabled ISPConfig's username prefixes (like web1_).
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.