Setting a “smarthost” in Postfix September 7, 2005
Posted by Carthik in administration, ubuntu.trackback
Since Postfix is the default Mailer used in Ubuntu, and since you may need to set a smarthost to possibly send outgoing mail through the SMTP server on a webserver, or your ISP, here’s how to do that:
Edit /etc/postfix/main.cf, and add or edit this line:
relayhost = your.server.com
Followed by restarting the postfix service:
$sudo /etc/init.d/postfix restart
This might be handy particularly for those who use a combination of Mutt + procmail + fetchmail to read their mail – old style.
Very handy – just what I was looking for.
[…] You can choose to submit stats via http, or via email. Both are automated processes, and I’d choose http for the convenience. If, however, you do choose email, note that you might have to take a small additional step to enable postfix to send the email properly. You can follow the instructions to setup a “smarthost” in postfix to ensure that your email gets sent and received without problems. I have my popcon set up to use the http protocol to send information. Since it is anonymous, it is not a threat to your privacy. So go ahead, and give ‘em some feedback. […]
[…] Tiek piedāvāta iespēja vai nu sūtīt informāciju izvēloties HTTP protokolu vai arī sūtīt pa epastu. Lai varētu sūtīt informāciju pa epastu, nepieciešams uzskaņot postfix (apraksts). […]
Just found this post, good info.
But how do you set postfix up to be a smarthost when the external SMTP server requires authentication and TLS? i.e in my case I’m using Google’s external SMTP server. Thanks.
Ultimate network adtepar settings to be done is same as discussed in this article, however steps will be different to reach network adtepar properties as listed below:1). Open Network Connectionsa0(Start >> Control Panel)2). Right click on the Network Connection, then click Properties3). Click Configure button4). Now disable large send offload option.Please note that TCP/IP large send offload is available only on the Network Adapters which support this feature.
Great Post,
I could not send any emails to my ISP accounts. My ISP ‘refused to talk, 554’. I edited the main.cf file as you suggested and all is working fine. I can now send and recieve mail in and out of my network with postfix. Thanks.
Marston: There’s some format for this. Something like:
user:pass@smtp.yourmailserver.com
That’s not right, but it’s something like that.
[…] the DET smtp server. I put than in at etc/postfix;/main.cf Here is the very basic what to do… “Setting a Smarthost in Postfix” BTW – using the sudo /etc/init.d/postfix […]
This doesn’t work. I have an older smarthost configuration working with sendmail. I’m attempting to upgrade to a newer Ubuntu system using Postfix. This “trick” doesn’t work for a couple of reason. For one, Postfix complains that myhostname and relayhost cannot be the same. So I changed relayhost to be exactly the text in this post “your.server.com”. Of course that didn’t work.
I think there is some confusion over what a relay is, and what a smarthost is. This may be why Postfix does not seem to be able to do smarthost’ing.
Thoughts? Please respond. I very much want to get this working and if I’m wrong I really want to know.
http: www dot michael-prokop.at/postfix/ This worked for me
the provided information is in fact _not_ very helpful. the above configuration will only work with an open relay. in other words: the premium invitation to all the spammers in the wide, wide world.
please, with the above slogan “Not quite everything about Ubuntu, but close”, just try to avoid articles like this one an try to act a little more _sensible_
This is a a useful bit of info. I was having problems sending emails to my ISP accounts too but once I edited the “.cf” file it now works great. Thanks for the tip.
Yes I had the same problem too, thanks for the advice.
But how do you set postfix up to be a smarthost when the external SMTP server requires authentication and TLS?
#default_transport = error
#relay_transport = error
if you have the above lines in the main.cf
make sure you comment them if you want to send email.
Didn’t work for my ISP using either the fqdn (mail.ispname.net) as it complained about an mx record lookup issue. So I replaced it with just “ispname.net” (so it could find the mx record itself) and I was back to the previous errors I had.
*** Finally, when I replaced the domain name with the IP ADDRESS of the ISP’s mail server it finally accepted my mails.
It had previously complained of “poor reputation of the MTA” or words to that effect.
[…] Setting a “smarthost” in Postfix « Ubuntu Blog (tags: ubuntu mail) […]
Thanks! It worked fine for me with JeOS ubuntu 8.04 and internal SMTP relay.
Instead of relying on this post to configure your postfix Email server, you could better by reading documentation on http://www.postfix.org
[…] your own mail server, then setting it up to use your ISP as a smarthost is the easy way to go (very easy with Ubuntu), of course I didn’t take that […]
Hi, Does this work on the latest version Ubuntu?
thenk you man, bknz : pet izmir
But how do you set postfix up to be a smarthost when the external SMTP server requires authentication and TLS? i.e in my case I’m using Google’s external SMTP server. Thanks.
İYİ
süper payşım teşekkürler
antalya ev ilaçlama
iyi
teşekur ederım
Hey there, You have done a great job. I will certainly digg it and individually suggest to my friends. I am sure they will be benefited from this web site.
[…] up a smarthost in postfix (presuming you are still using postfix on ubuntu) https://embraceubuntu.com/2005/09/07/…st-in-postfix/ which would usually be a relay provided by your ISP, ask them about it, or search around. Then once […]
Thanks! It worked fine for me with JeOS ubuntu 8.04 and internal SMTP relay.
Thanks for that! I hate it, when im trying something for hours with no result…
Yes that is true. Can remeber, that i tried that some month ago and quitted it then.
Very helpful article. Thanks you took the time to write it down!
Great Job, this is a really good article.
Nice Site, i will sure come back to visit ur blog again!
Guys, how about writing some good new articles?
They are busy!
This helps a lot, i wish you would write some more tutorials!
This was very helpfull, THANKS!
Nice article. Your posts are very good for beginners!
Really good work. It runs perfect!
Nice work man! That helps a lot!!!
Good work, was very helpfull!
Though it’s a very good pice of work, it didn’t help me..
That doesnt work for me *cry* 😦
For me neither. Damn it! 😦
I dont understand, why so much of you having problems with this.
maybe try solving the problems on your own
Thank you very much for this helpfull script!
Thank you for this nice blogposting!
A very nice blog I really like to read
Thanks for this blog dude!
Feuchte Youporn Pornos warten hier auf deinen Besuch, schau sie dir gleich an!
Ich ruf gerne mal auf geilen Telefon Hotlines an, wenn ich es hart besorgt brauche.
Thanks for this blog dude!
A very nice blog
safdsadfsdf
sssssadfa super geile seite
coole sexvideos von youporn gibts hier
Nackte Webcamschlampen erwarten dich hier auf unserer scharfen Sexcam Telefonsex Hotline. Da gehts echt ab!
A very nice blog
Super seite viel erfolg…
A very nice blog
Tabulose Sexcam und Sexchat Girls erwarten dich bereits splitternackt in unserem scharfen Livechat. Dort kannst du dir sicher sein, dass du gleich sofort losficken kannst und keine wertvolle Zeit vergeudet wird. Also wenn du mal wieder Bock auf ein paar dreckige Sexcam und Sexchat Girls hast, dann komm gleich vorbei im Fickchat!
Telefonsex mit richtig gielen tabulosen Schlampen bekommst du nur hier auf unserer einzigartigen Sextube. Dort warten wirklich einzigartige scharfe Weiber nur darauf mit dir intim zu werden. Komm also gleich mal vorbei und probier es mal aus. Du wirst sehen, dass Telefonsex nicht gleich Telefonsex ist…
Die geilsten Sex Porno Filme warten bereits auf deinen harten Schwanz. Wenn du mal wieder Lust hast auf richtig scharfe Weiber, die dir wirklich alles zeigen wollen, dann solltest du gleich mal bei uns vorbeikommen und einen Bilck auf die kostenlosen Sex Porno Filme werfen.
Wie einfach es ist eine tolle Seite zu finden die noch dazu richtig viel Spaß macht. Einfach mal vorbeikommen und die geilen Mobilen Handy Pornos ansehen!
Geile Seite für scharfe Milf Abenteuer 😉
Tolle Seite für Mobile Pornos
schön diskret fremdgehen zu können
Toll! aber besser sind unterwegs geile Pornos!
ja!
Die Gratis Porno Tube mobil bringt dir geile Videos direkt aufs Handy!
Wollt ich nurmal gesagt haben.
Mit unseren einzigartigen Telefonsex Analsex Hausfrauen kannst du wirklich scharfe Fickgespräche führen, die ich zu intensiven Höhepunkten bringen.
A very nice blog
Mal wieder Bock auf ein paar geile Pornos? Dann komm doch einfach mal hier bei uns zum Wichsen vorbei!
Wer will eine alte Oma ficken?
Ich habe auch alte Omas anzubieten!
Günstiger gehts kaum 😉
Einfach mal geile und echte Sexcam Schlampen erleben ? Das kann man hier!
Tausende geile Youporn Fickfilme kannst du dir direkt ohne Kosten auf unserer scharfen und tabulosen Pornotube anschauen. Dort warten bereits zahlreiche scharfe Luder darauf von dir angeschaut zu werden. Warum kommst du also nicht gleich mal zum Wichsen bei uns vorbei?
Geile willige Frauen, die es dir besorgen wollen!
Die neue Gaytube bringt dir täglich die besten Gaysex Pornos. Schau dir geniale Gayvideos gratis an!
Wenn du dir scharfe Filme von XNXX anschauen willst, dann kannst du auch unser Videoportal zählen. Da kommen tagtäglich neue Filme ins XNXX Archiv!
Willst du dich mit heißen Handy Girls aus Hannover vergnügen dann bist du hier genau richtig!
Wie wäre es wenn du einfach Spaß haben kannst? Hier geht das!
plastik kabin hoparlör
Jede Menge Telefonsex Girls aus Frankfurt wollen deine Bekanntschaft machen und dafür sorgen, dass du endlich mal wieder ein paar tabulose Stunden zu zweit verbringen kannst. Lass dir dieses geniale Abenteuer nicht durch die Lappen gehen!
Private Amateur Pornos de Extraklasse erwarten dich auf unserer scharfen Sextube, wo jede Menge heisse Filme auf dich warten.
Schau dir hier auf der kostenlosen Fick Tube ein paar echt heisse Bumsfilme an, die dir garantiert gefallen werden
Wow. Das ist einfach der Wahnsinn was diese Frauen mir so beigebracht haben. Ich kann es echt jedem empfehlen!
Hey wenn ihr mal Lust habt etwas bizarres und aufregendes zu erleben, dann seid ihr genau richtig!
Von Hinten machts einfach am meisten Spaß! 🙂
Lerne unsere heissen Telefonerotik Huren kennen.
Magst du Frauen am Telefon? Hier kannst du ihnen etwas geiles abverlangen und sie werden es gerne machen. Einfach mal vorbeischauen und Spaß haben!
Diese geilen Thais mögen es in ihren Arsch gebumst zu weren.
Schau dir mal diese Videoauswahl an!
It’s not my first time to pay a visit thiis website, i am browsig this site dailly and get
fastidious data from here every day.
Hey! This is kind of off topic but I need some help from an established blog.
Is it hard to set up your own blog? I’m not very techincal but I can figure things out pretty quick.
I’m thinking about making my own but I’m not sure where to start.
Do you have any ideas or suggestions? Appreciate it
Lass dich von einem heissen Girl verwoehnen.
Erlebe ein paar heisse Handy Girls live auf unserer Erotikline. Dort geht echt die Post ab.
Tabulose Frauen live kennenlernen geht ganz einfach und schnell in unserem einzigartigen Erotikchat.
Erlebe unsere tabulose Lesben Erotik direkt am Telefon oder Handy. Diese Girls lassen dich bei ihrem Liebesspiel lauschen.
Unsere Live Erotik Hotline bietet dir einfach alles, was du für echte Erlebnisse brauchst.
Erlebe geile Fotzen beim Pinkeln, direkt auf der Erotikline
Wolltest du schon immer mal per Telefon eine geile Sau kennenlernen? Dann komm gleich zu uns und leg los damit.
Viele reife Frauen moechten sich gerne mit dir auf die moderne Art und Weise vergnuegen.
Jede Menge attraktive Frauen koennen es kaum noch erwarten es mit dir zu treiben.
Harte Domina Erziehung am Telefon!
Bizarr Erotik am Telefon ist dank unserer Hilfe sofort möglich.
Hast du Lust an einem Telefonat mit einer strengen Herrin? Dann solltest du jetzt gleich mal zum Telefon greifen!
Für ein intimes Gespräch vom Handy kannst du dich gleich auf unserer Erotikhotline einwählen, da gibt es viel für dich zum erleben.
Lerne gut und günstig heisse Damen kennen, die dich nach deinen Vorstellungen verwöhnen werden!
wenn du eine heisse Stiefeldomina kennenlernen willst, dann ruf sie doch einfach mal an!
Teste mal unsere heisse Line, auf der du keine Nebenkosten befürchten musst.
Ruf an und Fick Sie, die scharfe Studentin, die nicht mehr die Finger von ihrer Muschi lassen kann
Stehst du auf Frauen, die dir auf den Schwanz pissen? Dann solltest du diese direkt mal anrufen.
Grannys live beim Dirty Call erleben und heisse Abenteuer mit den alten Weibern erleben – Das geht jederzeit bei uns!
Auf unserem Singlebörsen Vergleich erfährst du viel über die verschiedenen Online Portale zur Partnersuche.
Unsere geile Ficknummer sorgt dafür, dass du viele versaute Weiber kennenlernen kannst.
Geile Weiber wollen sich von dir ordentlich in den Arsch bumsen lassen und freuen sich bereits auf deinen Anruf, damit ihr es direkt miteinander treiben könnt.
Lerne einfach und schnell reife Frauen nach deinem Geschmack kennen.
Private Telefonsexkontakte kennenlernen und für die eigene Geilheit nutzen. Ich bin Dein versautes Luder, welches sich Dir widmet und Dir Deine geheimen Fantasien erfüllt. Die Privaten Sexkontakte am Telefon besorgen es Dir in einsamen Stunden. Verbale Telefonerotik nutzen und sich mit mir vergnügen. Handysex oder private Telefonerotik kannst Du sofort nutzen.
Mit den netten Damen von unserer Line kannst du schnell und einfach verlockende Kontakte knüpfen, an die du dich noch lange erinnern wirst. Probiere es gleich mal aus!
Wenn du Lust hast auf attraktive Frauen, die rund um die Uhr zur Verfügung stehen, dann solltest du dich mal ein wenig mit unserem einzigartigen Angebot beschäftigen.
Toller Artikel. Das habe ich schon seit einer ganzen Weile gesucht!
Echt klasse Seite. Habe ich mir direkt mal abgespeichert!
Tolle Seite. Ein Muss für alle Hausfrauen
Schaut euch doch mal meine private Homepage an! =)
Vielen Dank für die Informationen, die Sie zur Verfügung gestellt haben