Current time: 04-25-2024, 05:55 AM Hello There, Guest! (LoginRegister)


Post Reply 
mail forwarding stopped working .. kinda
Author Message
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #1
mail forwarding stopped working .. kinda
Hi,

I am using a domain on my ispCP server (1.0.3) together with Google Apps Premier, and the bind config file for that domain looks like this:
(I'm calling it "mygooglemail.com" in this example)

Code:
$TTL 12H
$ORIGIN mygooglemail.com.
@               IN              SOA             ns1.mygooglemail.com. postmaster.mygooglemail.com. (
; dmn [mygooglemail.com] timestamp entry BEGIN.
                2010020800     ; Serial
; dmn [mygooglemail.com] timestamp entry END.
                8H              ; Refresh
                30M             ; Retry
                4W              ; Expire
                3H              ; Minimum TTL
)
                IN              NS              ns1.mygooglemail.com.
                IN              NS              ns2.mygooglemail.com.
                IN              MX      10      ASPMX.L.GOOGLE.COM.
                IN              MX      20      ALT1.ASPMX.L.GOOGLE.COM.
                IN              MX      20      ALT2.ASPMX.L.GOOGLE.COM.
                IN              MX      30      ASPMX2.GOOGLEMAIL.COM.
                IN              MX      30      ASPMX3.GOOGLEMAIL.COM.
                IN              MX      30      ASPMX4.GOOGLEMAIL.COM.
                IN              MX      30      ASPMX5.GOOGLEMAIL.COM.

mygooglemail.com.     IN              A               83.169.33.000
www             IN              A               83.169.33.000
mygooglemail.com.     IN              TXT             "v=spf1 include:aspmx.googlemail.com ~all"
localhost       IN              A               127.0.0.1
ns1             IN              A               83.169.33.000
ns2             IN              A               83.169.33.000
; CNAME for VHCS compatibility
ns              IN              CNAME           ns1
; CNAME for mail transfer
mail            IN              CNAME           ghs.google.com.
calendar        IN              CNAME           ghs.google.com.
docs            IN              CNAME           ghs.google.com.
sites           IN              CNAME           ghs.google.com.
; CNAME for web transfer
ftp             IN              CNAME           www
; sub [{SUB_NAME}] entry BEGIN.
; sub [{SUB_NAME}] entry END.

; dns [{MANUAL_DNS_ID}] entry BEGIN.
; dns [{MANUAL_DNS_ID}] entry END.

The wierd thing is that it USED to work just fine before I got some script spamming problems and was deleting all adding mail accounts all over the place, when mail forwarding to this domain stopped working.

When sending an email I get a bounce that says:

Code:
This is the mail system at host server1.mywebhosting.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<test@mygooglemail.com> (expanded from <test@myforwardmail.com>): unknown user:
    "test@mygooglemail.com"

Which basicly means that it looked for a local mail account insted of looking in the DNS config for that domain realising it should forward to google, right?

The mail log file looks like this:

Code:
Apr 24 08:01:10 server1 postfix/smtpd[19647]: connect from snt0-omc4-s7.snt0.hotmail.com[65.55.90.210]
Apr 24 08:01:11 server1 postfix/policyd-weight[26336]: warning: cache_query: $csock couln't be created: connect: No such file or directory, calling spawn_cache()
Apr 24 08:01:11 server1 postfix/policyd-weight[26336]: weighted check:  NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .hotmail. - helo: .snt0-omc4-s7.snt0.hotmail. - helo-domain: .hotmail.)  FROM/MX_MATCHES_HELO(DOMAIN)=-2 IN_PM_RFCI=0.1 IN_ABUSE_RFCI=0.1; <client=65.55.90.210> <helo=snt0-omc4-s7.snt0.hotmail.com> <from=me@hotmail.com> <to=test@myforwardmail.com>; rate: -8.3
Apr 24 08:01:11 server1 postfix/policyd-weight[26336]: warning: cache_query: $csock couln't be created: connect: No such file or directory, calling spawn_cache()
Apr 24 08:01:11 server1 postfix/policyd-weight[26336]: decided action=PREPEND X-policyd-weight:  NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .hotmail. - helo: .snt0-omc4-s7.snt0.hotmail. - helo-domain: .hotmail.)  FROM/MX_MATCHES_HELO(DOMAIN)=-2 IN_PM_RFCI=0.1 IN_ABUSE_RFCI=0.1; rate: -8.3; <client=65.55.90.210> <helo=snt0-omc4-s7.snt0.hotmail.com> <from=me@hotmail.com> <to=test@myforwardmail.com>; delay: 0s
Apr 24 08:01:11 server1 postgrey[25986]: action=pass, reason=triplet found, client_name=snt0-omc4-s7.snt0.hotmail.com, client_address=65.55.90.210, sender=me@hotmail.com, recipient=test@myforwardmail.com
Apr 24 08:01:11 server1 postfix/smtpd[19647]: EA7C82D10852: client=snt0-omc4-s7.snt0.hotmail.com[65.55.90.210]
Apr 24 08:01:12 server1 postfix/cleanup[19653]: EA7C82D10852: message-id=<SNT117-W55E7E8BEEC8915DAD0987DA2060@phx.gbl>
Apr 24 08:01:12 server1 postfix/qmgr[26079]: EA7C82D10852: from=<me@hotmail.com>, size=2029, nrcpt=1 (queue active)
Apr 24 08:01:12 server1 postfix/virtual[19654]: EA7C82D10852: to=<test@mygooglemail.com>, orig_to=<test@myforwardmail.com>, relay=virtual, delay=1.2, delays=1.2/0/0/0, dsn=5.1.1, status=bounced (unknown user: "test@mygooglemail.com")
Apr 24 08:01:12 server1 postfix/cleanup[19653]: 3B7162D10854: message-id=<20100424060112.3B7162D10854@server1.mywebhosting.com>
Apr 24 08:01:12 server1 postfix/bounce[19655]: EA7C82D10852: sender non-delivery notification: 3B7162D10854
Apr 24 08:01:12 server1 postfix/qmgr[26079]: 3B7162D10854: from=<>, size=3855, nrcpt=1 (queue active)
Apr 24 08:01:12 server1 postfix/qmgr[26079]: EA7C82D10852: removed
Apr 24 08:01:12 server1 postfix/smtpd[19647]: disconnect from snt0-omc4-s7.snt0.hotmail.com[65.55.90.210]
Apr 24 08:01:13 server1 postfix/smtp[19656]: 3B7162D10854: to=<me@hotmail.com>, relay=mx4.hotmail.com[65.55.37.104]:25, delay=1.2, delays=0/0/0.5/0.71, dsn=2.0.0, status=sent (250  <20100424060112.3B7162D10854@server1.mywebhosting.com> Queued mail for delivery)
Apr 24 08:01:13 server1 postfix/qmgr[26079]: 3B7162D10854: removed

Grateful for help Smile

Thanks..

/E
hmm .. I solved it Smile

found this line on the forum:
"joximu Wrote:
manually: edit /etc/postfix/ispcp/domains - make a copy to /etc/ispcp/postfix/working and run "postmap domains""

Seems to fix my problem Smile

/E
(This post was last modified: 04-24-2010 04:35 PM by Eminos.)
04-24-2010 04:07 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)