HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   E-mail only works w/ web#_user (http://www.howtoforge.com/forums/showthread.php?t=2265)

Geoinline 27th January 2006 09:00

E-mail only works w/ web#_user
 
I can receive e-mail sent to web#_username@domain.com, however I can't receive e-mail sent to username@domain.com. This isn't a problem on the other sites I host. Any suggestions would be appreciated.

falko 27th January 2006 10:36

What's in the mail log when you send an email to username@domain.com?
What's in /etc/postfix/virtusertable?

Geoinline 28th January 2006 05:50

Log and virtusertable
 
Virtual usertable for the address in question.
Code:

admin@www.domain.com    web13_admin
web13_admin@www.domain.com    web13_admin
admin@domain.com    web13_admin
web13_admin@domain.com    web13_admin


Here is the log after sending and e-mail from user@gmail.com to admin@domain.com which is setup to forward back to user@gmail.com
Code:

Jan 27 22:38:50 localhost postfix/smtpd[22654]: connect from uproxy.gmail.com[66.249.92.199]
Jan 27 22:38:50 localhost postfix/smtpd[22654]: lost connection after CONNECT from uproxy.gmail.com[66.249.92.199]
Jan 27 22:38:50 localhost postfix/smtpd[22654]: disconnect from uproxy.gmail.com[66.249.92.199]
Jan 27 22:38:50 localhost postfix/smtpd[22654]: warning: 66.249.92.201: address not listed for hostname uproxy.gmail.com
Jan 27 22:38:50 localhost postfix/smtpd[22654]: connect from unknown[66.249.92.201]
Jan 27 22:38:50 localhost postfix/smtpd[22654]: D6A3516EC058: client=unknown[66.249.92.201]
Jan 27 22:38:51 localhost postfix/cleanup[22658]: D6A3516EC058: message-id=<7e3125920601271938sac1c3fdy9b7d53fbc66a0c3e@mail.gmail.com>
Jan 27 22:38:51 localhost postfix/qmgr[18787]: D6A3516EC058: from=<user@gmail.com>, size=1602, nrcpt=1 (queue active)
Jan 27 22:38:51 localhost postfix/cleanup[22658]: 161E116EC05D: message-id=<7e3125920601271938sac1c3fdy9b7d53fbc66a0c3e@mail.gmail.com>
Jan 27 22:38:51 localhost postfix/local[22659]: D6A3516EC058: to=<web13_admin@domain2.com>, orig_to=<admin@domain.com>, relay=local, delay=1, status=sent (forwarded as 161E116EC05D)
Jan 27 22:38:51 localhost postfix/qmgr[18787]: 161E116EC05D: from=<user@gmail.com>, size=1757, nrcpt=1 (queue active)
Jan 27 22:38:51 localhost postfix/qmgr[18787]: D6A3516EC058: removed
Jan 27 22:39:01 localhost postfix/smtp[22660]: 161E116EC05D: to=<user@gmail.com>, orig_to=<admin@domain.com>, relay=gmail-smtp-in.l.google.com[64.233.185.27], delay=10, status=sent (250 2.0.0 OK 1138419538 45si3789896wri)

This last line has an error.. it says to=<user@gmail.com> but it should be user@gmail.com.. Which doesn't make any sense because in the forward to section of ISPConfig it's correct as user@gmail.com... the log continues
Code:

Jan 27 22:39:01 localhost postfix/qmgr[18787]: 161E116EC05D: removed
Jan 27 22:39:21 localhost postfix/smtpd[22654]: disconnect from unknown[66.249.92.201]
Jan 27 22:40:02 localhost postfix/pickup[18786]: 0041416EC05D: uid=110 from=<smmsp>
Jan 27 22:40:02 localhost postfix/cleanup[22658]: 0041416EC05D: message-id=<20060128034001.0041416EC05D@mail.domain2.com>
Jan 27 22:40:02 localhost postfix/qmgr[18787]: 0041416EC05D: from=<smmsp@domain2.com>, size=654, nrcpt=1 (queue active)
Jan 27 22:40:02 localhost postfix/local[22659]: 0041416EC05D: to=<admin@domain2.com>, orig_to=<root>, relay=local, delay=1, status=sent (delivered to maildir)
Jan 27 22:40:02 localhost postfix/qmgr[18787]: 0041416EC05D: removed


falko 28th January 2006 07:49

What's in /etc/aliases?

Geoinline 28th January 2006 23:30

vim /etc/aliases
 
Code:

# Added by installer for initial user
root:  admin


falko 29th January 2006 01:37

Do the mails for admin@hpiproductscorp.com arrive in another mailbox on your system, maybe one with a CatchAll account?

Geoinline 29th January 2006 09:46

No Catch all
 
None of the users have catch all. However some of the mail goes to web11 instead of web13.
web11 = a deleleted domain.com
web13 = domain.com

It would seem that when I deleted it when it was web11 it didn't delete some thing that directs mail.

falko 29th January 2006 10:37

Please post your full /etc/postfix/virtusertable.

till 29th January 2006 13:13

Quote:

Originally Posted by Geoinline
None of the users have catch all. However some of the mail goes to web11 instead of web13.
web11 = a deleleted hpiproductscorp.com
web13 = hpiproductscorp.com

It would seem that when I deleted it when it was web11 it didn't delete some thing that directs mail.

Have you modified anything manually in the ISPConfig database?

Geoinline 29th January 2006 22:28

Complete virtusertable
 
Here is the results of vim /etc/postfix/virtusertable

Code:

###################################
#
# ISPConfig virtusertable Configuration File
#        Version 1.0
#
###################################
removed
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####

I did in fact make some manual modifications to this file. When I made ameramex.us it was first subdomain.domain.com. I made it a sub domain because I wanted to test it out before I went a head and purchased the domain. But once I changed the domain from ameramex.avalanwebhosting.com to ameramex.us the values in virtusertable were still showing subdomain.domain.com so I changed them to domain.us maualy.


All times are GMT +2. The time now is 02:56.

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