Current time: 12-24-2024, 02:29 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] Gmail emails problem
Author Message
sakal Offline
Junior Member
*

Posts: 42
Joined: Mar 2010
Reputation: 0
Post: #1
[SOLVED] Gmail emails problem
Hello , i got last ISPcp OMEGA and i am looking for help with emails.

I got server instaled on : mydomain.com
BUT - i dont want for emails service use my server , i want use gmail aps.

Simple on my server is runing ispCP and website for my domain , BUT emails is running on gmail servers.

All works fine when i log in gmail i can send and receive emails with no problem.
Also when i try open my site from browser i can see my site from my private server. {so dns is configured well}

First problem will come when i try send email NOT from gmail server ,
BUT from my own server.
It is basic script, he try send email about restart of my server after restart. And it is not working Sad

I got some errors in log`s .


Mar 24 13:36:56 mydomain.com postfix/pickup[17281]: B775A20680B5: uid=0 from=<root>
Mar 24 13:36:56 mydomain.com postfix/cleanup[17297]: B775A20680B5: message-id=<20100324133656.B775A20680B5@in.mydomain.com>
Mar 24 13:36:56 mydomain.com postfix/qmgr[17282]: B775A20680B5: from=<root@in.mydomain.com>, size=353, nrcpt=1 (queue active)
Mar 24 13:36:56 mydomain.com postfix/virtual[17299]: B775A20680B5: to=<lukasp@mydomain.com>, relay=virtual, delay=0.42, delays=0.39/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "lukasp@mydomain.com")
Mar 24 13:36:56 mydomain.com postfix/cleanup[17297]: C177B20680B6: message-id=<20100324133656.C177B20680B6@in.mydomain.com>
Mar 24 13:36:56 mydomain.com postfix/bounce[17300]: B775A20680B5: sender non-delivery notification: C177B20680B6
Mar 24 13:36:56 mydomain.com postfix/qmgr[17282]: C177B20680B6: from=<>, size=2011, nrcpt=1 (queue active)
Mar 24 13:36:56 mydomain.com postfix/qmgr[17282]: B775A20680B5: removed
Mar 24 13:36:56 mydomain.com postfix/cleanup[17297]: C5F2820680B4: message-id=<20100324133656.C177B20680B6@in.mydomain.com>
Mar 24 13:36:56 mydomain.com postfix/local[17301]: C177B20680B6: to=<root@in.mydomain.com>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (forwarded as C5F2820680B4)
Mar 24 13:36:56 mydomain.com postfix/qmgr[17282]: C5F2820680B4: from=<>, size=2136, nrcpt=1 (queue active)
Mar 24 13:36:56 mydomain.com postfix/qmgr[17282]: C177B20680B6: removed
Mar 24 13:36:56 mydomain.com postfix/virtual[17299]: C5F2820680B4: to=<lukasp@mydomain.com>, orig_to=<root@in.mydomain.com>, relay=virtual, delay=0.01, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "lukasp@mydomain.com")
Mar 24 13:36:56 mydomain.com postfix/qmgr[17282]: C5F2820680B4: removed


Is here somebody cleaver enough for this ????
Thanks for all HELP
(This post was last modified: 03-30-2010 03:31 AM by BeNe.)
03-25-2010 12:12 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: Gmail emails problem
Please post in the CORRECT Forum. I Move this Thread
03-25-2010 02:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sakal Offline
Junior Member
*

Posts: 42
Joined: Mar 2010
Reputation: 0
Post: #3
RE: Gmail emails problem
Nobody here understand postfix ? Sad
03-26-2010 04:22 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: Gmail emails problem
Code:
Mar 24 13:36:56 mydomain.com postfix/virtual[17299]: B775A20680B5: to=<lukasp@mydomain.com>, relay=virtual, delay=0.42, delays=0.39/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "lukasp@mydomain.com")
You try to send a mail from your Server where the Domain "mydomain.com" is registerd. So the Server search on your local Server the Mailbox for "lukasp@mydomain.com" which not exist.
Did you set a MX record to gmail ?

Greez BeNe
03-26-2010 04:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #5
RE: Gmail emails problem
This has been answered *maaaaany* times. In short: remove the default email addresses created by ispcp (if any), set the domain's mail account limit to -1, and regenerate the configurations using the update script:
Code:
cp /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf
cd /var/www/ispcp/engine/setup
perl ispcp-update
rm /etc/ispcp/ispcp.old.conf

Done.
(This post was last modified: 03-26-2010 05:42 PM by kilburn.)
03-26-2010 05:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sakal Offline
Junior Member
*

Posts: 42
Joined: Mar 2010
Reputation: 0
Post: #6
RE: Gmail emails problem
If i try send email from anywhere all working fine. so MX record is fine.
I thing just my server [local] do not understand he have running domain but emails is in another server.

if i try send email from : test@domain2.com >to> lukasp@domain.com = ALL FINE
if i try send email REPLY from : lukasp@domain.com >to> test@domain2.com = ALL FINE

BUT : if i try send email from server where is isCP to lukasp@domain.com i get this error. = as you sayz server try deliver email not to google mails servers , he is sending email to local account {but there is no local account , there is account just on googleAPPs servers.}

@BeNe Thanks for helping




(03-26-2010 04:58 PM)BeNe Wrote:  
Code:
Mar 24 13:36:56 mydomain.com postfix/virtual[17299]: B775A20680B5: to=<lukasp@mydomain.com>, relay=virtual, delay=0.42, delays=0.39/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "lukasp@mydomain.com")
You try to send a mail from your Server where the Domain "mydomain.com" is registerd. So the Server search on your local Server the Mailbox for "lukasp@mydomain.com" which not exist.
Did you set a MX record to gmail ?

Greez BeNe
03-27-2010 01:06 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #7
RE: Gmail emails problem
So you need to add an MX Record for your Domain in your local Bind Config to deliver all Mails to GMail-Server and not to localhost.

ispCP comes with this DNS-Tool but it is still *experimental*
So you can add the MX Record for this domain directly in ispCP if you want.
Be sure that your resolv.conf is used the internal DNS.

Greez BeNe
03-27-2010 01:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #8
RE: Gmail emails problem
I've already posted the solution to his problem. Stop losing your time with him until he realizes it BeNe. Thx Wink
03-27-2010 01:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #9
RE: Gmail emails problem
If my instructions didn't work, try manually removing the domain from the files /etc/postfix/ispcp/domains _and_ /etc/ispcp/postfix/working/domains . Thereafter, restart postfix (/etc/init.d/postfix restart) and see if it works...
03-29-2010 08:29 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sakal Offline
Junior Member
*

Posts: 42
Joined: Mar 2010
Reputation: 0
Post: #10
RE: Gmail emails problem
I did edit this files and remove my any mention about mydomain.com :

/var/www/ispcp/engine/setup# nano /etc/ispcp/ispcp.conf
/var/www/ispcp/engine/setup# nano /etc/ispcp/ispcp.conf
/var/www/ispcp/engine/setup# nano /etc/ispcp/ispcp.old.conf
/var/www/ispcp/engine/setup# nano /etc/ispcp/ispcp.conf.old
/var/www/ispcp/engine/setup# nano /etc/ispcp/postfix/working/aliases
/var/www/ispcp/engine/setup# nano /etc/ispcp/postfix/working/mailboxes
/var/www/ispcp/engine/setup# nano /etc/postfix/ispcp/aliases
/var/www/ispcp/engine/setup# nano /etc/postfix/ispcp/mailboxes

also i restart postfix and still got error Sad

Mar 29 15:15:22 mydomain.com postfix/virtual[31274]: 9D52220680E8: to=<lukasp@mydomain.com>, relay=virtual, delay=0.05, delays=0.03/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "lukasp@mydomain.com")
When i delete domain from ISPcp PANEL from my seller account , mails start working.
Sad looking forward for some manual. pleaseeeeee save me
or give me link if it is already somewhere.

Thx
(This post was last modified: 03-29-2010 11:31 PM by sakal.)
03-29-2010 11:21 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)