Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th June 2009, 01:22
bwragg bwragg is offline
Member
 
Join Date: Jul 2006
Posts: 58
Thanks: 7
Thanked 3 Times in 2 Posts
Default problem forwarding to aliases

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
Reply With Quote
Sponsored Links
  #2  
Old 8th June 2009, 06:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,752
Thanks: 821
Thanked 5,330 Times in 4,182 Posts
Default

This should work fine. Please post the exact error messages that you get back and the ones from the mail log.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th September 2009, 05:11
bwragg bwragg is offline
Member
 
Join Date: Jul 2006
Posts: 58
Thanks: 7
Thanked 3 Times in 2 Posts
Default

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):

Quote:
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.co m.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.a u>
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.co m.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.a u>
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
Reply With Quote
  #4  
Old 24th September 2009, 10:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,752
Thanks: 821
Thanked 5,330 Times in 4,182 Posts
Default

Please check the /etc/aliases file if you have an alias there for "usery" that might redirect the email.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 28th September 2009, 02:11
bwragg bwragg is offline
Member
 
Join Date: Jul 2006
Posts: 58
Thanks: 7
Thanked 3 Times in 2 Posts
Default

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,
Reply With Quote
  #6  
Old 28th September 2009, 13:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by bwragg View Post
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_).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
postfix mysql on fedora core5 igongora Installation/Configuration 7 17th April 2007 04:40
Postfix not honoring email aliases for local delivery rneilson Installation/Configuration 24 22nd March 2007 11:12
Email aliases problem rosa hsiao General 12 21st September 2006 16:01
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 01:56


All times are GMT +2. The time now is 15:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.