[H-GEN] Postfix problem

Sarah Hollings sarah at humanfactors.uq.edu.au
Sun Apr 6 22:48:47 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

Harry Phillips wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
> 
> I have an internal mail server configured using Fetchmail, Courier-IMAP 
> and Postfix on a Mandrake server at work. To reduce the amount of 
> internet traffic and speed up internal mail I have configured the file 
> /etc/postfix/virtual with the entries
> 
> user1 at 4ward.com.au user1 at localhost
> user2 at 4ward.com.au user2 at localhost

This seems a little strange - a sendmail style virtual domain for 
localhost (assuming you have localhost in mydestination in main.cf), but 
I don't know anything about the rest of your setup, and I'm far from a 
mail expert - tho' I have a postfix setup at my workplace.

> 
> I also have configured it to use my ISP's SMTP server as I have had 
> messages rejected because it was delivered directly from a DHCP pool IP 
> address.
> 
> Now I use the same setup at home. My problem is that mail doesn't stay 
> internal. I have tested whether the mail goes external by shutting down 
> fetchmail, at work it gets delivered, at home it goes to my domain host 
> account (which I check using IMAP to their server).
> 
> I have run the command 'postmap /etc/postfix/virtual' and added the line 
> 'virtual_maps = hash:/etc/postfix/virtual' to the main.cf file.
> 
> Does anyone know what I could check on my config here at home or do I 
> have to wait till Monday?
> 

Have a look at /etc/postfix/transport

You may need a line like
.localhost	local:
    ...or...
.localhost	smtp:[127.0.0.1]

Rgds,
-- 
Sarah Hollings                     IT Manager
sarah at humanfactors.uq.edu.au       The ARC Key Centre
Ph +61 7 33656080                  for Human Factors and
Mb +61 416 045401                  Applied Cognitive Psychology


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list