General :: SMTP AUTH, Sendmail Client To Postfix Server?

Dec 2, 2010

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:

divert(-1)dnl
define(`SMART_HOST', `smtp2.datarealm.com')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 PLAIN')dnl
FEATURE(`authinfo',`hash -o /etc/mail/auth/client-info.db')dnl
define(`RELAY_MAILER', `esmtp')dnl

[Code]....

View 14 Replies


ADVERTISEMENT

Server :: Sendmail SMTP AUTH Errors?

Aug 3, 2011

I am a bit of a linux newbie, but have been gradually teaching myself how to set up Sendmail 8.13.8 on a CentOS system to handle our MX mail for various domains we own on our local server. Configuration has gone well so far, except I cannot seem to get Outlook to authenticate with the SMTP server and I must readily admit to some large gaps in my knowledge. For testing purposes, I have tried to authenticate using Telnet with the following results:

Code:
220 my.domain.com ESMTP Sendmail 8.13.8/8.13.8; Wed, 3 Aug 2011 14:27:00 GMT
ehlo my.domain.com
250-my.domain.com Hello mytelnethost.btcentralplus.com [109.xxx.xxx.xx], pleased to meet you
250-ENHANCEDSTATUSCODES

[Code]...

View 7 Replies View Related

Server :: Sendmail To Verify Sender Enveloppe Even Though SMTP AUTH?

Aug 1, 2010

I got one last stop until I've fully configured my Sendmail server. I want the server to verify which address the sender is using when sending mail. Even though authenticated via SMTP AUTH or mailing from an IP listed as RELAY in access.db, the user should not be able to use whichever address he likes.

Ideally, I would like Sendmail to use a file that looks something like this: Username sername@Server.org

where, if logged in with Username, the only accepted sender address is Username@Server.org. As of now, Sendmail just verifies that the sender domain exists and then relays which I don't like. This also applies to a lot of other servers as well... for example in the cases where ISPs have blocked outgoing port 25 and let all their users use their SMTP server. I assume, if they don't use SMTP AUTH which is not the case where I am, that they have their entire IP range listed as RELAY and therefore, using my ISPs SMTP when in their net, I can send mail as whomever I like as long as the sender domain exists.

I've had a look at filters but haven't found any suitable and I assume that this might be realised through a Ruleset or something. What do you think? Have I missed something making this a really stupid suggestion or am I on to something? It would make my day

View 1 Replies View Related

Ubuntu Servers :: Postfix / SASL Authentication For SMTP - KMail Cryptically Leaves With A Generic Auth Fail Notice

Aug 2, 2010

I have been faithfully following the postfix/sasl/etc install docs from [URL] and seem to have hit a minor snag with SASL authentication for SMTP. KMail cryptically leaves me with a generic auth fail notice and tailing the mail logs gives me

[Code]...

View 2 Replies View Related

General :: How To Set Up Sendmail To Use Exchange Server With Auth NTLM As Smart Relay?

Mar 7, 2011

I have a CentOS 5 box that is a web server. When it generates emails, all emails should go out through our Exchange mail server.I believe our Exchange server requires NTLM authentication:

View 1 Replies View Related

Ubuntu Servers :: Postfix Smtp Client Configuration For Port 465?

Jan 2, 2010

configuring my postfix server to send mail over smtps port 465. My ISP (as is the case with many ISPs), is blocking outbound SMTP, so I need to configure postfix to relay my mail out through my ISPs SMTP servers.

I was able to get it to work with gmail, which uses port 587, by using SASL: [URL] but that configuration is less than ideal as gmail drops the "reply to" address so when people receive my email, it looks like it's from gmail instead of from my server.

If I use my ISP SMTP servers as a relay the "reply to" address is not stripped, but the relay uses ssl over port 465 instead of TLS. According to the SASL readme:

Quote:

Postfix does not deliver mail via TCP port 465 (the obsolete "wrappermode" protocol). See TLS_README for a solution that uses the "stunnel" command.

I've looked at the TLS_README and can't figure out what I need to do. how to configure this?

View 7 Replies View Related

CentOS 5 :: Postfix Mail Server Will Not Start Tried To Change Postfix Smtp Port?

Oct 4, 2010

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

View 7 Replies View Related

Server :: Sending Mail Through Thunderbird Smtp Auth Error

Jul 6, 2011

i had configured mail server in linux. i had configured sendmail in linux client . i have error while sending mail through thunderbird smtp auth error how can i resolv the issue .....

View 1 Replies View Related

Server :: Slackware Based SMTP Server Running Sendmail Is Having These Errors ?

Apr 7, 2011

Im not able to find good response on this from google, urgent help required.

While im looking at my smtp server log at /var/log/maillog, im having these two errors for which im unable to find the reason.

1)Could not open inline file /etc/MailScanner/reports/en/inline.sig.txt, No such file or directory

2)did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

View 1 Replies View Related

Red Hat :: Use Sendmail As Smtp Server Instead Of Isp Smtp Server?

Apr 6, 2011

is that my isp's smtp service is very poorso i want to configure my own smtp servr for my internal clients only for sending emails not receivingi have static ip on my router with 25 port forward i have configure sendmail on linux its working fine on local network mean its sending email on local domainnow i want to send emails on other external domains with my public ipMean user of mydomain.com should be able to send emails on all internet domains like yahoo.com, hotmail.com etc

View 8 Replies View Related

Server :: Sendmail Not Forwarding Email To Domain's SMTP?

Apr 9, 2010

I have a server "test1" in domain [URL]. I installed sendmail on it. I have another mail server "mailsrv" installed in [URL] which is my primary mail server and contains all accounts and mailboxes. Now when I send email to [URL] from [URL] it sends successfully. But when I try to mail to user1@abc.com it tries to search user1 in [URL] but I want it to forward this mail to mailsrv.abc.com over SMTP port. Delivery will then be taken care by [URL]

My log shows following

Code:
Apr 9 18:37:06 test1 sendmail[7512]: o39Db6Hs007512: to=user1@abc.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30047, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o39Db6Il007513 Message accepted for delivery) It should not go to relay=[127.0.0.1], it should go to relay=[10.10.10.1]

View 4 Replies View Related

Slackware :: Configure Sendmail To Use Gmail As SMTP Server?

Apr 19, 2010

It seems my sendmail (running in slackware 13.0) cannot send out emails correctly. I guess I need to tell it what is the smtp server to use. And, I heard, gmail's smtp server is available to use for this purpose. How to configure my sendmail this way?

View 14 Replies View Related

Server :: Sendmail Relay Messages To Ext. SMTP Server?

Jan 31, 2010

I've got a server set up with Debian. The problem is that my ISP doesn't allow usage of port 25 (as I understand a lot of ISP's don't).I have PHP scripts hat use the mail() function to send e-mails through the Sendmail application.So, my question is: How can I relay messages sent to sendmail to an external SMTP server (like Google Mail, for example)? Would this be easier to do in the PHP configuration, or on the Sendmail side of things?I've used PEAR extensions in PHP to achieve this before, but scripts downloaded from the Internet generally just use the basic mail() function, and it would be a real pain to modify them all.

View 2 Replies View Related

Server :: RHEL - Sendmail Delay In Connecting To SMTP For Some Addresses Only

Jun 4, 2010

Sendmail on the RHEL server is set up to forward email to company internal mail server (via SMART_HOST). This has worked fine for years.

From the server, doing a sendmail dave@company.com, the message is sent immediately. No problems - and no change here.

From the server, doing a sendmail roberto@compania.com (compania is the part of the company in Mexico) causes a 2m40s delay before sendmail does anything.

No packets are sent until after 2m40s wait. Message is always sent after the delay. It is not clear what the server is waiting for.

For *each* user in the @compania domain specified in sendmail command, an additional 2:40 is imposed before email is sent. Email is always sent after the n*2:40 sec delay.

Sending email to some_name@AnUnusedDomainNameThatDoesntExist.com is processed immediately - with a bounce email received in a couple of seconds.

Q: How do I determine where this 2m 40s delay is introduced?

View 3 Replies View Related

Server :: Sended Mail Go To Trash Folder Of Reciver Using Postfix In Smtp Server?

Nov 26, 2010

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

[code]...

View 3 Replies View Related

Ubuntu :: Postfix To Trust Only One SMTP Server?

Jun 9, 2011

I have postfix relaying email to the internet for my LAN I need to configure postfix to trust only one SMTP server to relay his emails to the internet

View 4 Replies View Related

Server :: Postfix As SMTP Relay To Exchange Help

Jul 27, 2009

I have a linux box on my DMZ with postfix on it. I have exchange on our internal LAN on 10.152.0.104.

View 6 Replies View Related

Server :: Postfix - Sending SMTP Mail ?

Oct 27, 2010

I have the following config with Postfix:

Quote:

But it keeps coming up with:

Quote:

Is there any reason from these configs as to why this should be occuring?

This was the guided step by step tutorial I followed: [url]

View 2 Replies View Related

Server :: Postfix Rejecting Self-signed Cert On Remote Smtp Server?

Jun 24, 2011

I've got an uber simple test mail script in php on my awesome new dev machine running Ubuntu:

PHP Code:

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:

Code:

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.

View 10 Replies View Related

General :: Postfix Giving "SMTP Server Error: 5.5.0 Sender Already Specified"

Nov 27, 2009

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: example@example.com Mailer Error [URL] SMTP Error: The following recipients failed: example@example.com SMTP server error: 5.5.0 Sender already specified

View 1 Replies View Related

Networking :: CentOS Mail Setup - Sendmail Via External SMTP Server

Jul 30, 2011

I am setting up a CentOS box as a NAT firewall that needs to also send mail. It needs to send this mail using an outside provider's SMTP. The provider requires SMTP over SSL. None of the machines inside the NAT will ever send mail except via the provider's SMTP nor will they ever receive mail except to local clients via the provider's IMAP servers.

So for the example the machine is TESTMACHINE. There is one internet facing ethernet port connected to a DSL modem via pppoe.

The SMTP it needs to send mail via is mail.host.net which requires SMTP over SSL (port 465) and username/password authentication.

The sendmail documentation is quite confusing on how to get this simple setup operating, so an example showing the appropriate changes to sendmail.mc and other require config files.

View 1 Replies View Related

Server :: Sendmail SMTP Send Doesn't Work With OS X 10.6 Mail.app Clients

Aug 3, 2010

I've been having this problem since 10.6 released, but have until now been successful with the "just use Thunderbird" response. My sendmail server hasn't been changed, but as clients upgrade from OSX 10.5 to 10.6 suddenly mail.app will no longer connects to send SMTP messages through the server. (IMAP connections to the same server using the same user/pass combinations work perfectly) When I look at the logs, things basically stop right after the STARTTLS command.

Google indicates alot of people are having similar problems, but I'm not seeing any solutions. Do any of you administrate sendmail servers where some of your clients are using Apple's Mail.app on Snow Leopard, and if so what settings are you using? At this point, I'm happy to make changes to the server to accommodate Apple's issue, I have too many Mac users connecting to my server. I just can't figure out what to change. I've enabled virtually every possible login authentication combination, and none of them work.

View 1 Replies View Related

Red Hat / Fedora :: Adding Second Postfix Server To Support SSL SMTP

Sep 20, 2010

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?

View 1 Replies View Related

Ubuntu :: Using The Postfix SMTP Server For Sending Emails?

Dec 13, 2010

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.

View 2 Replies View Related

Server :: Multiple Postfix Smtp For A Single Domain?

Mar 15, 2010

I am looking at setting up a multiple postfix SMTP servers for a single domain. Below is my requirement, I would appreciate if someone out there could guide me to achieve this using postfix..

1. Want to setup 2 postfix SMTP Server with 1 POP3 Server.

2. Server1 will host POP3 & SMTP services for domain "metallica.one".(IP: 1.1.1.1, MX: mx1.metallica.one)

3. Server2 will host only SMTP services for domain "metallica.one" (IP: 1.1.1.2, MX: mx2.metallica.one)

4. Server1 & Server2 will be used as load balancing for sending mails. (either manual settings in email client, or auto-loadbalancing is still preferred).

5. Mail received for domain metallica.one on Server2 should be pushed/forwarded/relayed to Server1 where POP3 services are running.

6. Outgoing mails for other domains from Server2 should be sent directly to the other-domain-recipients without relaying to Server1.

View 2 Replies View Related

Server :: Configuring Postfix With External SMTP Server?

Apr 10, 2010

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.

View 6 Replies View Related

Software :: Configure Postfix To Connect To Remote Smtp Server

Oct 23, 2010

Try as I might I cant get postfix to send emails through an external email server (I can succesfully get client software to do it no trouble) After following the howto at:

[code]....

I get 5.0.0 errors re:

Code:

May 6 16:06:32 SERVER1 postfix/error[20357]: 2392F21438: to=<SOME_ADDRESS@hotmail.com>, relay=none, delay=0.17, delays=0.1/0.01/0/0.06, dsn=5.0.0, status=bounced (smtp.live.com)

Here's my main.cf

Code:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no

[code]...

I get basically the same error no matter what smtpserver/username/password combination I use leading me to believe its my setup and not my username/password

View 1 Replies View Related

Server :: Postfix Not Relay Mail Via Gmail Account SMTP

Feb 11, 2011

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].

View 4 Replies View Related

Software :: Configure Postfix To Connect To Remote Smtp Server?

May 5, 2010

Try as I might I cant get postfix to send emails through an external email server (I can succesfully get client software to do it no trouble) After following the howto at: [URL] I get 5.0.0 errors re:

Code:
May 6 16:06:32 SERVER1 postfix/error[20357]: 2392F21438: to=<SOME_ADDRESS@hotmail.com>, relay=none, delay=0.17, delays=0.1/0.01/0/0.06, dsn=5.0.0, status=bounced (smtp.live.com)
Here's my main.cf
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases

[Code]....

View 5 Replies View Related

General :: Setting Up SMTP Authentication In Sendmail

Dec 22, 2010

I need to send authenticated mails from a RHEL machine to a relay that only accepts authentication mails from domain users. I've never done this so I'm a bit lost. I read some sendmail docs and I uncommented these optins in sendmail.mc file

define(`confAUTH_OPTIONS', `A p')dnl
...
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl

and then regenerated the /etc/mail/sendmail.cf file and restarted senmaild, and started saslauth service. Still I can't send an e-mail.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved