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
  #11  
Old 15th December 2007, 19:33
llamy llamy is offline
Member
 
Join Date: Jun 2007
Posts: 80
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Hi,

Still does not work, this is what i got from /var/log/maillog when i tried another time to send an email to info@mydomain.com.

Dec 15 14:05:37 myhost postfix/smtpd[4532]: connect from localhost.localdomain[127.0.0.1]

Dec 15 14:05:37 myhost postfix/smtpd[4532]: 53EA0428043: client=localhost.localdomain[127.0.0.1]

Dec 15 14:05:37 myhost postfix/cleanup[4535]: 53EA0428043: message-id=<20071215180537.53EA0428043@myshost.myispconfig _domain.com>

Dec 15 14:05:37 myhost postfix/smtpd[4532]: disconnect from localhost.localdomain[127.0.0.1]

Dec 15 14:05:37 myhost postfix/qmgr[4284]: 53EA0428043: from=<sample_user@mydomain.com>, size=794, nrcpt=1 (queue active)

Dec 15 14:05:37 myhost dovecot: pop3-login: Login: user=<sample_user>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Dec 15 14:05:37 myhost dovecot: POP3(sample_user): Disconnected: Logged out top=0/0, retr=0/0, del=0/16, size=33196

Dec 15 14:05:37 myhost postfix/local[4537]: 53EA0428043: to=<root@mydomain.com>, orig_to=<info@mydomain.com>, relay=local, delay=0.05, delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)

Dec 15 14:05:37 myhost postfix/qmgr[4284]: 53EA0428043: removed

Dec 15 14:13:39 myhost dovecot: pop3-login: Login: user=<sample_user>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured

Dec 15 14:13:39 myhost dovecot: POP3(sample_user): Disconnected: Logged out top=16/14224, retr=0/0, del=0/16, size=33196


it looks like the mail endup in the root mail box but i do really understand all of it and how to get to the root mailbox as well.

Any comments please!

Thanks.
Reply With Quote
Sponsored Links
  #12  
Old 15th December 2007, 19:34
llamy llamy is offline
Member
 
Join Date: Jun 2007
Posts: 80
Thanks: 3
Thanked 0 Times in 0 Posts
Default

I mean,
t looks like the mail endup in the root mail box but i do not really understand all of it and how to get to the root mailbox as well.

Any comments please!

Thanks.
Reply With Quote
  #13  
Old 16th December 2007, 13:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What's in /etc/postfix/virtusertable and /etc/aliases?
__________________
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
  #14  
Old 17th December 2007, 13:29
llamy llamy is offline
Member
 
Join Date: Jun 2007
Posts: 80
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Hi,

here is /etc/postfix/virtusertable

###################################
#
# ISPConfig virtusertable Configuration File
# Version 1.0
#
###################################
sample_user@www.mydomain.com sample_user
info@www.mydomain.com sample_user
sample_user@mydomain.com sample_user
info@mydomain.com sample_user



here is /etc/aliases , first time i go there by the way.

#
# Aliases in this file will NOT be expanded in the header from
# Mail, but WILL be visible over networks or from /bin/mail.
#
# >>>>>>>>>> The program "newaliases" must be run after
# >> NOTE >> this file is updated for any changes to
# >>>>>>>>>> show through to sendmail.
#

# Basic system aliases -- these MUST be present.
mailer-daemon: postmaster
postmaster: root

# General redirections for pseudo accounts.
bin: root
daemon: root
adm: root
lp: root
sync: root
shutdown: root
halt: root
mail: root
news: root
uucp: root
operator: root
games: root
gopher: root
ftp: root
nobody: root
radiusd: root
nut: root
dbus: root
vcsa: root
canna: root
wnn: root
rpm: root
nscd: root
pcap: root
apache: root
webalizer: root
dovecot: root
fax: root
quagga: root
radvd: root
pvm: root
amanda: root
privoxy: root
ident: root
named: root
xfs: root
gdm: root
mailnull: root
postgres: root
sshd: root
smmsp: root
postfix: root
netdump: root
ldap: root
squid: root
ntp: root
mysql: root
desktop: root
rpcuser: root
rpc: root
nfsnobody: root

ingres: root
system: root
toor: root
manager: root
dumper: root
abuse: root

newsadm: news
newsadmin: news
usenet: news
ftpadm: ftp
ftpadmin: ftp
ftp-adm: ftp
ftp-admin: ftp
www: webmaster
webmaster: root
noc: root
security: root
hostmaster: root
info: postmaster
marketing: postmaster
sales: postmaster
support: postmaster


# trap decode to catch security attacks
decode: root

# Person who should get root's mail
#root: marc


Hope this may help.

Thanks.
Reply With Quote
  #15  
Old 17th December 2007, 13:48
llamy llamy is offline
Member
 
Join Date: Jun 2007
Posts: 80
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Hi,
Guess what, this morning i'm able to receive mails from sample_user@mydomain.com and also from info@mydomain.com when those emails are sent from my ISPConfig server. But if i go on yahoo website and send mails to sample_user@mydomain.com i can receive but if i send to info@mydomain.com from yahoo website, i cannot receive still, i think there is a big progress though.

should i still keep myorigin = mydomain in /etc/postfix/main.cf ?

Thanks.
Reply With Quote
  #16  
Old 18th December 2007, 16:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What's the output of
Code:
grep info /etc/passwd
and
Code:
grep info /etc/aliases
?
__________________
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
  #17  
Old 18th December 2007, 21:14
llamy llamy is offline
Member
 
Join Date: Jun 2007
Posts: 80
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Hi Falko,

Here are the outputs :

[user@myhost ~]$ grep info /etc/passwd
[user@myhost ~]$

[user@myhost ~]$ grep info /etc/aliases
info: postmaster
[user@myhost ~]$

So basically : grep info /etc/passwd returns nothing but grep info /etc/aliases returns > info: postmater


Hope it may help.

Thanks.
Reply With Quote
  #18  
Old 19th December 2007, 18:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

That means that mails for info to to the postmaster. Please comment out the
Code:
info: postmaster
line in /etc/aliases and run
Code:
newaliases
/etc/init.d/postfix restart
__________________
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
  #19  
Old 20th December 2007, 01:33
llamy llamy is offline
Member
 
Join Date: Jun 2007
Posts: 80
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Hi Falko,

I did what you told me:
newaliases
/etc/init.d/postfix restart

But still not working. I even created two users account and from ISPconfig Server everything is ok, but from yahoo.com when i send an email it is still not working.

Thank you Falko, hope to hear from you or other soon. Thanks.
Reply With Quote
  #20  
Old 20th December 2007, 09:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,666
Thanks: 819
Thanked 5,317 Times in 4,170 Posts
 
Default

Please post the errors or messages that you get now in the mail log when you sent a email to this account.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Can send but not receive emails (Ubuntu 7.10) chillifire Installation/Configuration 7 15th December 2007 21:35
Cannot receive emails gorolla Installation/Configuration 10 6th September 2006 02:11
SMTP failed & can't receive new emails torusturtle Installation/Configuration 3 20th August 2006 19:48
Cannot receive emails skeeta Installation/Configuration 18 22nd April 2006 16:02


All times are GMT +2. The time now is 11:06.


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