Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just installed this pre-built virtual machine which is built on Ubuntu Server 10.04 and works greatly but I can't send email from command line. I'm 100% sure it's a configuration problem of the postfix server but I don't know where to put hands. I have total ssh access and also webmin...

Any hints?

Thanks a lot!

share|improve this question
What kind of proxy server? Does it have SMTP support? Can you change its configuration, or at least ask its admin to make changes for you? – Sergey Vlasov Dec 14 '10 at 21:13
I can change the configuration without problems... We have 2 proxy server so I can use the "easiest" to tweak. One is squid (debian) and the other is an astaro security gateway which also act as proxy. – Pitto Dec 15 '10 at 8:55
up vote 0 down vote accepted

Squid is a HTTP/HTTPS proxy, it doesn't have anything to do with SMTP or other mail protocols. Do the people running the network have a mail relay or smarthost you can use to relay the mail out through? Then all you'll have to do is add a line like relayhost = to Postfix's which will tell Postfix to relay mail through that host. However, this will be a mail relay, not a proxy.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.