Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Feb 23, 2011 9:16 am 
Offline
Senior Newbie

Joined: Mon Oct 11, 2010 2:55 pm
Posts: 6
Website: http://www.mikemackay.co.uk
WLM: ultrafusion_mike@hotmail.com
Hi,

I've got Postfix/Dovecot servers all setup and working with MySQL for virtual domains and users, however, I'm stuck when it comes to setting up a catchall mailbox. I specifically need it setting up as a mailbox and not a forwarder either, if that makes a difference.

Has anybody managed to get this working when using MySQL? If so, would you please be able to share what I need to do.

Thanks,

Mike.

I'm aware that "catchall" addresses are likely to increase the amount of spam that comes through but I don't have a choice in the matter; I need to do it on behalf of someone.


Last edited by mikemackay on Wed Feb 23, 2011 12:08 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Wed Feb 23, 2011 9:23 am 
Offline
Senior Newbie

Joined: Sat Aug 09, 2008 3:04 pm
Posts: 11
Did you try using the 'forwardings' table, with '@mydomain.tld' as the source and your destination address as the destination, as was suggested in the IRC channel?

I have just tested this with my Postfix MySQL installation and it works fine.

EDIT: Just saw the part of your post that specifically states you don't want to use forwarding, so I'm a little confused as to what you want.

You want to catch all incoming mail for a domain, and have this mail land in a particular inbox, right?


Top
   
 Post subject:
PostPosted: Wed Feb 23, 2011 10:03 am 
Offline
Senior Newbie

Joined: Mon Oct 11, 2010 2:55 pm
Posts: 6
Website: http://www.mikemackay.co.uk
WLM: ultrafusion_mike@hotmail.com
Hi,

Yeah sorry what I meant was I don't want the catchall messages to be forwarded to another external domain/account. I wanted the ability to log in via POP/IMAP to view the catchall messages.

I lost the IRC chat window yesterday so didn't catch all of the replies - I know I should have re-asked, my bad.

I got it sorted in the end - you need to setup a "Forwarder" that catches any unrouted mail. For my case I then created a mailbox user for those messages on that domain:

@domain.tld > catchall@domain.tld

You cannot simply create a mailbox user with:

@domain.tld

It seems to only work if you create a redirect for the catchall messages then forward them to a mailbox on that domain - or an external email address.

Thanks for the reply Daniel, it is appreciated.


Top
   
 Post subject:
PostPosted: Wed Feb 23, 2011 10:31 am 
Offline
Senior Newbie

Joined: Sat Aug 09, 2008 3:04 pm
Posts: 11
My apologies if that wasn't made clear, but yeah, @domain.tld is the source, you don't need to create a mail user for this - it is simply a value in the source column of the forwardings table.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group