[ aca andrijevic @ 05.09.2012. 10:19 ] @
Pozdrav svima, ne radim administracije servera ali trenutno imam problem kod jednog na kojem je
instaliran CentOS 5.6+postfix+dovecot.Naime problem je sto za korisnika info koji ima mail
[email protected] svi mailovi izgledami da stizu ustvari root korisniku.Svim ostalim korisnicima
mailovi stizu u home/user/Maildir. Evo loga iz maillog za [email protected]

Code:

Sep  5 11:09:23 localhost postfix/smtpd[18512]: connect from mail-qa0-f47.google.com[209.85.216.47]
Sep  5 11:09:24 localhost postfix/smtpd[18512]: 200B4386598: client=mail-qa0-f47.google.com[209.85.216.47]
Sep  5 11:09:24 localhost postfix/cleanup[18516]: 200B4386598: message-id=<CADEW_CX+W8UDeO-0Fc5aRHQV_R0rjjGJBO=OKSwjVL0MR1=mXw@mail.gmail.com>
Sep  5 11:09:24 localhost postfix/qmgr[17241]: 200B4386598: from=<[email protected]>, size=1657, nrcpt=1 (queue active)
Sep  5 11:09:24 localhost postfix/local[18517]: 200B4386598: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.64, delays=0.53/0/0/0.11, dsn=2.0.0, status=sent (delivered to maildir)
Sep  5 11:09:24 localhost postfix/qmgr[17241]: 200B4386598: removed


A evo za ostale korisnike, npr. proba

Code:

Sep  5 11:09:34 localhost postfix/smtpd[18520]: connect from mail-qa0-f54.google.com[209.85.216.54]
Sep  5 11:09:35 localhost postfix/smtpd[18520]: 41D91386598: client=mail-qa0-f54.google.com[209.85.216.54]
Sep  5 11:09:35 localhost postfix/cleanup[18516]: 41D91386598: message-id=<CADEW_CVTt3pkAy=YFPRAwkg_M5qQehLmzAsOFOSffMLd1kGNrQ@mail.gmail.com>
Sep  5 11:09:35 localhost postfix/qmgr[17241]: 41D91386598: from=<[email protected]>, size=1658, nrcpt=1 (queue active)
Sep  5 11:09:35 localhost postfix/local[18517]: 41D91386598: to=<[email protected]>, relay=local, delay=0.42, delays=0.36/0/0/0.06, dsn=2.0.0, status=sent (delivered to maildir)
Sep  5 11:09:35 localhost postfix/qmgr[17241]: 41D91386598: removed


Pretpostavljam da je problem ovo:
Code:

to=<[email protected]>, orig_to=<[email protected]>


Ali ne mogu da nadjem nigde zasto se radi to prebacivanje.Hvala unapred na svakoj pomoci.
[ Tyler Durden @ 05.09.2012. 10:36 ] @
Pogledaj u /etc/aliases da li imaš ovakvu redirekciju podešenu za domen.com. A moguće je tako nešto odraditi i kroz postfix conf fajlove.
[ aca andrijevic @ 05.09.2012. 10:49 ] @
Sadrzaj aliases


Code:

#
#  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: [email protected]



Ovo zadnje mi je koliko vidim iskomentarisano.
[ aca andrijevic @ 05.09.2012. 11:05 ] @
Iskomentarisao

Code:

info:        postmaster


restartovao postfix i radi, hvala za hint.Pozdrav.