Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th December 2009, 13:46
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default Postfix behavior for internal emails

Hi guys.
I've realized a configuration of postfix that will put in the queue all the emails to send (deferred queue) and, when I want, the email to send will be relayed to the main mailserver.

Now I've 2 questions:
1) How to queue the emails directly in Hold?
I've setup main.cf with this lines:
Code:
transport_maps = hold:[mail.domain.com]
defer_transports = hold
default_transport = hold
virtual_transport = hold
and master.cf:
Code:
hold      unix  -       -       n       -       -       smtp
2) How to setup postfix to not queue and relay the internal emails?
All the internal emails will have the same domain (domain.com).

Thanks a lot
Michele
Reply With Quote
Sponsored Links
  #2  
Old 8th December 2009, 16:19
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

I guess that for the question n.2, I've to find the way to say to postfix that all the emails where the receiver is @domain.com must me delivered locally (with maildir).

Any idea?
Thanks
Reply With Quote
  #3  
Old 9th December 2009, 11:32
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
 
Default

Ok I've solved the question 2:
In mail_transport database I'll setup:
Code:
domain.com  :
*  hold:[mail.relay.com]
Now the local email are now queued and are delivered locally...

I still have the question number 1...

Suggestions?


Thanks
Michele
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix not responding to telnet CarbonCopy Server Operation 6 8th May 2009 05:39
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 19:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.