niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Qmail
Problems with migrating mailservices
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
Author Message
Jeremy Kitchen
*nix forums Guru Wannabe


Joined: 14 Jan 2005
Posts: 212

PostPosted: Thu Jun 15, 2006 2:10 am    Post subject: Re: qmail+gmail spam filtering Reply with quote

On Wednesday 14 June 2006 18:46, you wrote:
Quote:
Hello almighty wise ones....

Just a thought....I read today that gmail can act as spam filtering.
Wondering is there anybody with detailed intructions on how to achive this
with qmail. Anybody has proven this to be tru....? If this works..then
qmail will have double filter rite provided you configured spamassassin
with it..

i'd imagine you just point your MX at gmail and forward it from there.

qmail doesn't even need to know about gmail.

-Jeremy

--
Jeremy Kitchen ++ kitchen@scriptkitchen.com

http://www.pirate-party.us/ -- defend your rights
Back to top
Suhaime Raeze
*nix forums beginner


Joined: 27 Apr 2006
Posts: 9

PostPosted: Thu Jun 15, 2006 1:46 am    Post subject: qmail+gmail spam filtering Reply with quote

Hello almighty wise ones....

Just a thought....I read today that gmail can act as spam filtering.
Wondering is there anybody with detailed intructions on how to achive this
with qmail. Anybody has proven this to be tru....? If this works..then
qmail will have double filter rite provided you configured spamassassin
with it..
Back to top
Richard Feldmann
*nix forums addict


Joined: 06 Jun 2005
Posts: 62

PostPosted: Wed Jun 14, 2006 4:48 pm    Post subject: Re: Problems with migrating mailservices Reply with quote

Vladimir Dvorak spake thusly on Wed, Jun 14, 2006 at 06:16:01PM +0200:
Quote:
I delete relevant line from users/assign but nothing happened. I found
file 'cdb' in users/ directory, which consists the domain too. Should I
recompile/rebuild users/assign file ? And how ?

--- end quoted text ---


man qmail-newu

Regards,
Richard

--
Did this email or post help you? If so, please rate
me at affero: http://rate.affero.net/RhunDraco
Back to top
Vladimir Dvorak
*nix forums beginner


Joined: 22 Feb 2006
Posts: 9

PostPosted: Wed Jun 14, 2006 4:16 pm    Post subject: Re: Problems with migrating mailservices Reply with quote

Cristiano Deana wrote:
Quote:
2006/6/14, Vladimir Dvorak <dvorakv@vdsoft.org>:

It means - rsync maildirs from hosting server to new mail server, then
change MX records and then delete domain from rcpthosts ( there are web
applications which use qmail on localhost as default mailserver). But
the serious problem occures.

The web applications still try to deliver emails to the local boxes;
qmail? doesn`t respect DNS configuration.

delete domain from:

/var/qmail/control/locals
/var/qmail/control/virtualdomains

/var/qmail/users/assign

Thank you Cristiano for reply, it seems to be about solved. Smile


I delete relevant line from users/assign but nothing happened. I found
file 'cdb' in users/ directory, which consists the domain too. Should I
recompile/rebuild users/assign file ? And how ?

Thank you!

Vladimir
Back to top
Cristiano Deana
*nix forums beginner


Joined: 22 Mar 2005
Posts: 24

PostPosted: Wed Jun 14, 2006 4:01 pm    Post subject: Re: Problems with migrating mailservices Reply with quote

2006/6/14, Vladimir Dvorak <dvorakv@vdsoft.org>:

Quote:
It means - rsync maildirs from hosting server to new mail server, then
change MX records and then delete domain from rcpthosts ( there are web
applications which use qmail on localhost as default mailserver). But
the serious problem occures.

The web applications still try to deliver emails to the local boxes;
qmail? doesn`t respect DNS configuration.

delete domain from:

/var/qmail/control/locals
/var/qmail/control/virtualdomains

/var/qmail/users/assign

--
Cris, member of G.U.F.I
Italian FreeBSD User Group
http://www.gufi.org/
Back to top
Vladimir Dvorak
*nix forums beginner


Joined: 22 Feb 2006
Posts: 9

PostPosted: Wed Jun 14, 2006 3:26 pm    Post subject: Problems with migrating mailservices Reply with quote

Hello list,

I have serious troubles with migrating mailservices to another mailserver.

My problem in detail:

I have hosting server ( web and email ). Nowdays I need to migrate
mailservices to another (physicaly) machine. I choose do it step by step
- several domains per week.
It means - rsync maildirs from hosting server to new mail server, then
change MX records and then delete domain from rcpthosts ( there are web
applications which use qmail on localhost as default mailserver). But
the serious problem occures.

The web applications still try to deliver emails to the local boxes;
qmail? doesn`t respect DNS configuration.

Example:
1) user fulfill order in web application and preses Submit
2) application (usually in PHP ) sends this request as email to
customer`s box

And the problem is in second step. :-)

When I try it directly from the server like:

echo TEST | mail user@domain.com

It works well, but not PHP application. Sad ( When I 'grep domain.com'
/opt/qmail/control/* , nothing is found - its ok ).
There are messages in logs:
@4000000044900fb939e0854c delivery 6295: deferral:
Unable_to_switch_to_/opt/vpopm
ail/domains/domain.com:_file_does_not_exist._(#4.3.0)/

This email should go to another new server ( DNS is set ok, the
'domain.com' is deleted from rcpthosts ).


Could anyone be so kind and helps me with this ?

Thank you!

Vladimir
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
The time now is Sat Jan 10, 2009 1:07 am | All times are GMT
navigation Forum index » Apps » Qmail
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Need help migrating postfix from one PC to another res5it Postfix 1 Fri Aug 17, 2007 5:21 am
No new posts Winbind problems for ADS authentication nlinley networking 1 Tue Sep 19, 2006 9:22 am
No new posts problems using oddmuse with mod_perl2 inside apache2.2 pe... Fergus McMenemie Perl 0 Fri Jul 21, 2006 9:48 am
No new posts Problems with make-kpkg and skas patch Todd A. Jacobs Debian 0 Fri Jul 21, 2006 12:30 am
No new posts Problems with relay control Félix Martos Trenado Postfix 3 Thu Jul 20, 2006 3:33 pm

Credit Cards | Credit Card Advice | Credit Card | Loans | Bankruptcy
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3691s ][ Queries: 20 (0.1644s) ][ GZIP on - Debug on ]