so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens
I am using the Postfix SMTP server for sending emails. However I just did a default installation and subsequently someone is sending spam using my SMTP server. I would like some help on securing my Postfix server and to block these mischievous emails being sent from my server.
my postfix to send and recive external emails, but many recive in trash folder.Other programer say me that is need some configurations in postfix with and dovecot to work, but i dont know what!This is my first time configuring a linux server at this week.
my main.conf sample_directory = /usr/share/doc/postfix-2.3.3/samples readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
I've got an uber simple test mail script in php on my awesome new dev machine running Ubuntu:
Unfortunately, something is preventing mail delivery. I can't tell from this error log whether it's the remote machine rejecting me or whether it's my machine rejecting the self-signed cert on the remote machine:
I'm wondering what I could change in my postfix configuration to remedy this problem.
I tried setting smtp_tls_security_level = may = may but this did not change anything.
I have searched through piles of postfix and sendmail documentation but I'm not sure of the terminology to describe what I want to do so I'm never sure what solutions are workable. Null client, relay hosts. What I have already is a RHEL postfix server which sends and receives email. What I want to do is add a second postfix server to the network. The second server should accept only ssl smtp mail and forward it on to the main postfix server. Users shouldn't use it for normal internal sending/receiving. It's only to allow me to support ssl smtp from people working out of the office without messing about with the main postfix server. I thought a Null Client sounded likely but I don't think it will accept mail. Is it a relay host I'm trying to configure? Any pointers on configuring something to just accept secure smtp and forward?
I'm trying to configure Postfix with a mail server that I programmed in C. The main.cf is set in this way :
Code: relayhost = [myMailServer.localhost] smtp_sasl_auth_enable = no smtp_use_tls = no disable_dns_lookups=yes smtp_never_send_ehlo = yes code....
I don't know why it doesn't receive response after HELO. In fact if I debug my mail server with gdb, I can see it sends a 250 response code. Moreover, I've tested my server both with traditional mail clients, as Thunderbird, and through telnet session and it works very well.
I'm hoping someone here can help, as I've been beating my head on the wall for a week now with little advancement. I've found a number of tutorials on setting this up, however none of them have gotten me 100% of the way there. Here's my situation: home-based Fedora server (Core 8), running sendmail 8.14.2-1. Connecting to hosting company's smtp server over port 587, to bypass Verizon's blocking of port 25.
My /etc/mail/sendmail.mc file looks like this (comment lines removed):Quote:
I'm trying to set up my postfix server to relay mail (via a php cms) using Gmail's smtp on my account, but for some reason, Gmail returns an error code that StartTLS must be sent first, my postfix main.cnf file can be found at pastebin, because of this forum's text length I cannot paste my postfix main.cnf file as can be seen I have everything set and configured for Gmail, but postfix (for some unseen reason) can not send StartTLS. [URL].
I'm trying to set up a basic smtp server on my local computer that I can send basic, unencrypted email through on port 25. I installed postfix, and I chose the following options:
Internet Site, System Mail Name: localhost Root and postmaster mail recipient: I left this blank For other domains to accept mail, I entered : NONE, localhost No force synchronous mail updates Local networks: 127.0.0.0/8
I followed this How To (https://help.ubuntu.com/community/Postfix) in order to add smtp authentication to my Postfix installation used as spam filter for my exhange server, and it'seem all ok; the only thing that I don't understand is where I list all the users (with passwords) that I authorize to send mail through my server...
This is a transcript I get emailed at least once every day, usually about 3 to 10 a day recently.
Transcript of session follows. SMTP server: errors from unknown[ip address] <boring stuff snipped> In: RCPT TO: <server@my domain> Out: 550 5.1.1 <server@my domain>: Recipient address rejected: User unknown in local recipient table
Session aborted, reason: lost connection Now I cannot seem to find anything via Google, as when I put "server@" anywhere in the string, I just get web hosting or other kroomst. The emails usually come from legit places, usually hotels. Does this mean they are sending bad emails, i.e. they have a Trojan/worm, or is this a live hack attempt?. I believe the later, as I might get upto 3 domains from the one ip address, which is always, NOT associated with the listed domain. Not causing me any issues, except I have been getting a lot recently.
I'm using postfix to send some mail from my cloud server via a web page on my website that uses PHPmailer to do SMTP authentication. My cloud server has a dedicated IP for all inbound and outbound data. The problem I am having is that it sends roughly 75 - 100 messages successfully before it returns the following error for the remaining few hundred recipients in my list:
SMTP Error: The following recipients failed: firstname.lastname@example.org Mailer Error [URL] SMTP Error: The following recipients failed: email@example.com SMTP server error: 5.5.0 Sender already specified
I'm running Postfix primarily as a local email server. There is no email coming in from other machines, and there are no other machines using it to send mail. But I'd like it to be able to send mail. I use Evolution for my normal email stuff, and it's configured to send mail to my ISP's smtp server, and that's working fine. But I occasionally send mail from the command line, using the "mail" or "mutt" utilities. (Mutt because the standard mail doesn't support attachments.) These don't use Evolution's configuration, they depend upon whatever is listening to port 25 - and that's Postfix. So all I should need to do is to give Postfix the smtp server, user name, and password. My problem is that Postfix has voluminous documentation online, and I haven't been able to find this simple configuration in it.
I've got a server running 9.10, and I'm having a few issues with SMTP. It's got Postfix and Dovecot installed, and eventually I'll add content filtering, but I need to get past this issue first.
I know there's a lot of posts out there for Postfix issues, but I haven'tbeen able to find one specific to my issue.
IMAP and POP3 work fine through SSL, and the server can send mail without any problems. That's all fine and dandy, but I need to utilize an e-mail client (like evolution or outlook). Everytime I set up a user in Evolution, the smtp connection times out, or is refused. I know it's not a firewall issue. Port 25 is open, as well as 465. So I should be able to connect through SSL. I want to be able to connect through SMTP using the same credentials as IMAP.
everytime I get things rolling, this issue pops up. I don't know if it's something I'm setting up wrong in the client, or if it's a configuration error on my part in postfix.
I'm also having a bit of an issue with my aliases. I've basically got a lot of addresses going to root, then root going to the main user, but it's not actually delivering the mail to the main user. It sends it straight to root.
I have just built an internal postfix server for sending mail only, it's not accessible outside our network. I will be sending from our domain, Rewriting the from field to abc.com is turned on in the postfix config. A friend is telling me this will not work as they will do reverse lookups on our domain. What does this mean? Obviously the domain the email is sent from is a valid domain. If they do a lookup from the IP the mail came from it would be global crossing, our internet provider? These outbound emails are critical client reports, I want to make sure they are not seen as spam.
I'm working on configuring a mail server on Ubuntu 8.04 using Postfix 2.5.1 and Courier 0.59.0. I don't want to have to open up specific networks for SMTP relaying, so I want my server to require authenticated SMTP sessions. I'm just confused on how to do this. Here's my main.cf file from Postfix:
It seems like getting this enabled is way more complicated than I expected, assuming I'm not on the wrong path.
I installed webmin + postfix + dovecot + sasl2-bin to get a webserver running. I have fixed all the problems, but there is still one. I am totally new to sasl, so I am sorry if I made a stupid mistake.
Thunderbird gives the following error when trying to send mail: Sending of message failed. The message could not be sent because the connection to the SMTP server mail.virovene.org was lost in the middle of the transaction. Try again later or contact your network administrator. mail.err Apr 28 23:33:18 virovene postfix/smtpd: fatal: no SASL authentication mechanisms
But I fully have my server and everything up, MySQL, PHP5, Apache2, Postfix, Courier, SQMail, can't remember what else atm.
I installed mailx and used the mail command to send an email to my external email address, worked just fine. sent it to another email, worked as well.
But the problem is, I do 'telnet localhost 25' to test it like they say, it connects. I run 'ehlo localhost' Nothing happens.
I've tried setting it up with Thunderbird on my home pc and it connects to the IMAP & POP servers just fine, but it cannot establish a connection with SMTP, I've tried changing the SMTP port to other ones, still no luck.
I have postfix installed on my computer to let scripts send email. I want to use my isp as the smtp server. In /etc/postfix/main.cf I have told postfix to use gmail as my smtp server using "relayhost = outgoing.verizon.net". However, when I send an email, it gets returned. The full email is included below (my server's address has been replaced with ***.com).
I believe that I need to authenticate to [URL]... from postfix, but I am not sure how to add these directives to the config file.
I just finish install & setup postfix & spamassasin. I can send & received email from my local area network. i already install webmail client & I can send received. When using my pda from outside my network I can received but I just can send email to my domain only. For other domain it's error relay access denied. Here my postfix configuration.