Server :: Configuring Sendmail To Handle Addresses But Not The Whole Domain?

Mar 22, 2011

From my main Postfix SMTP heads, I am sending just a couple select emails (primarily support emails) off to a server that receives them and pipes them into the support software. So far this totally works perfectly and I am pretty happy with the configuration. However, in order for sendmail on the support server to receive those emails I have to place them in the virtusertable of course, but I also have to activate their domain in the local-host-names file. That then causes sendmail to consider itself as the destination server for that whole domain.Is there a way to make sendmail receive email for select addresses without making it think it's the server for the whole domain? This server is only receiving email from two specific smtp servers, so I wonder if I could just permit relaying? Wonder if that would just cause a giant loop though.

View 1 Replies


ADVERTISEMENT

Server :: Sendmail Adds MX Record To Addresses

Nov 1, 2010

Im working with virtuals machines to configure Sendmail on Linux.

I work with two domains (ar and org), the configuration is similar in both, so i will write just one.

In orgs mail server:

The emails stopped coming and the server adds to the e-mail addresses the MX record. For example, if i send an email to u1@org in log appears u1@org.mail.org.

View 14 Replies View Related

Server :: Make Sendmail Silently Discard 'Catchall' Addresses

Aug 4, 2011

Using sendmail, I am trying to setup a catchall address to silently discard spam mail sent to undefined users. I don't want to bounce a reply for "no user" as this often goes back to munged or innocent addresses.

I have a number of domains, so my virtuser table currently looks rather like this:

Code:

The last line is the "catchall" which is intended to ensure that any undefined users from either my_domain.com or my_domain.co.uk is forwarded to the non-existent "catchall" user account. Note that all mail sent to my_domain.com is passed across to my_domain.co.uk at the very start so all the following rules should apply to messages received at both domains. (Both of these domains appear in the

Being non-existent, I setup the following rules in the access data table:

Code:

This way, if I send an email to 'user1@my_domain.com' it is received and delivered to user1@my_domain.co.uk, but if I send an email to 'rubbish@my_domain.com' it *should* be received and silently discarded.

Unfortunately what actually happens is the server responds with:

Now, (just for testing), I made "catchall" an alias for the "postmaster" account and the mail was then received and delivered into the postmaster mailbox. So I know the virtuser rule is working. The account "catchall", however, is not being silently dropped as desired in either configuration.

View 7 Replies View Related

Server :: Sendmail To Split Single Envelope Into Multiple To - Addresses

Aug 4, 2010

Our system uses email to send fairly time-sensitive status messages between programs running on various servers on a WAN. Each email message is sent to two addresses (different servers). The problem occurs when one of the destination mail servers is off the network. I think because it's trying to send one email to two addresses, sendmail attempts delivery to the first address, then to the second address (i.e., serially). When this happens, it hangs for two connect timeout (CONNECT_TO) periods trying to connect to the offline destination, then after the timeout, it then delivers to the other destination. I'm trying to figure out how to work around that connection delay so it doesn't delay delivery to the other destination.

I'm working with the network guys to enable the right ICMP messages that signal when a network is unavailable, but I would also like to try having sendmail split the emails into two envelopes, then use parallel, independent connections for delivery.

After days of reading through the docs (O'Rielly Sendmail book + sendmail docs) I think one way to do this is to use multiple mail queues, but I can't decipher exactly how to do that from the docs.

There might be other, more elegant ways to do the same thing, but again, trying to decipher the docs has my head swimming. (This is my first experience with sendmail.)

View 1 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

Software :: Configuring Tls For A Sendmail Server?

Jun 23, 2010

I want to configure tls for our sendmail 8.14.x server so that it will attempt to connect to a remote server using tls, and then fall back to an insecure connection. The sendmail.mc file has the following line:

Code:

dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl

Does this configuration already have the server attempt to connect using tls first, and then fall back to an insecure connection? If not, what would the syntax be in order to accomplish this? Also, what is the best way to check to see how the connection is being made?

View 2 Replies View Related

Server :: Configuring Sendmail For A Private Network?

Jul 6, 2009

My goal is to have users(Unix Users like root on host1) use evolution /sendmail to send and receive emails between users( Unix users either from host1 or any other host on n a private network. The network is a private network with a few servers without any connection to Internet and no DNS. They resolve one another by /etc/hosts. with smtp configured am able to send and receive emails on one machine(host1) from unix user abc on host1 to user xyz on host1 and vice versa. the commad i used to test is host1@abc #echo "this is a test mail" |mailx zyx@host1 But when i tried sending from user abc on host1 to user xyz on host2 its giving error for DNS unable to resolve hostname.

the commad i used to test is host1@abc# echo "this is a test mail" |mailx zyx@host2 create a simple sendmail config so that i can send mails between multiple hosts using unix usernames within one network. I can use one of the server as mail server and rest as clients. I dont want to configure any other softwares for pop or imap access. I want to keep it simple and use evolution on the clients to send emails between one another on the private network without internet.

View 1 Replies View Related

Server :: Sendmail - How To Do Domain Masquerading

Apr 24, 2011

I have a Centos 5.5 Server, Servername is CentOS1. It has a Forum and a HelpDesk. The Help Desk software SENDS and acknowledgement to the user and emails to all the people on the support desk. Users can reply to emails only by accessing the helpdesk NOT by mail. Thus the server is configured to only SEND mail and not to receive any mail at all.

Mail Server is Sendmail.
Hosts file reads : -
# Do not remove the following line, or various programs that require network functionality will fail.
127.0.0.1CentOS1.tech.xxxxx.com CentOS1 localhost.localdomain localhost
::1localhost6.localdomain6 localhost6

There is NO MX Record because this server receives NO mail, it's send only. Unfortunately, the mail it sends has a From Header which is @CentOS1.tech.xxxxx.com. I want it to send from @xxxxx.com. I've read all the howtos on Masquerading and I've tried many, many things, but with the same results. It will NOT change the From. I had it working perfectly a long time ago with a SuSE server, but I can't for the life of me remember what I did. I know I also battled a bit.

The last few lines of sendmail.mc read : -
LOCAL_DOMAIN('localhost.localdomain')dnl
dnl #
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from mydomain.com
dnl #
dnl MASQUERADE_AS('xxxxx.com')dnl
dnl FEATURE(masquerade_envelope)dnl
dnl FEATURE(masquerade_entire_domain)dnl
dnl MASQUERADE_DOMAIN(localhost)dnl
dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl
dnl MASQUERADE_DOMAIN(CentOS1.tech.xxxxx.com)dnl
dnl MASQUERADE_DOMAIN(CentOS1)dnl
dnl MASQUERADE_DOMAIN(tech.xxxxx.com)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
dnl MAILER(cyrusv2)dnl

I've tried each one of the MAQUERADE_DOMAIN in turn, none of them work and yes, I have remade it.

View 15 Replies View Related

Security :: Block A Domain Name In Sendmail Server

Jul 9, 2010

I want to block a domain name in sendmail server. I added the domain name and "REJECT"in /etc/mail/access file. What has to be done for the changes to take effect? when i run make command in /etc/mail dir i get following error : make: Nothing to be done for `all'.

View 1 Replies View Related

Server :: How To Apply Restriction On Sendmail Domain

May 21, 2010

I am using sendmail. I want to apply sendmail restriction so that nobody cannot send any mail to other domain.my domain name is msp.net
E.g. 1. rahul.com 2.kumar.com
I want to send mails only above two domain only.if any user want to send mail to other domain. It should be not reach. What should I change in sendmail.mc or in my firewall?

View 2 Replies View Related

Server :: Sendmail Outgoing To Internet Domain

Feb 26, 2010

I have sendmail installed in my home machine and also dns is configured and also I have configured mx for mail server. My dns is unregistered and my question is that can I send mail to external account like yahoo or gmail to check whether my is working or not.

View 1 Replies View Related

Server :: Setup Sendmail To Work With Domain

Apr 28, 2010

I'm Trying to setup Sendmail to work with my domain in my server which is :

Code: Linux Centos 5.4 My server can send mail locally to users in my Linux Box and it can receive mails from yahoo and other mail providers in the web, but when i try to send mails to yahoo or others it send me some mail delivery message which is :

[Code]...

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

Server :: Using Sendmail For MediaWIKI In 2008 Domain With Exchange

Apr 4, 2011

We have a Windows 2K8 domain with Exchange 2010. I have setup a Ubuntu Server to be used as an internal wiki. Installed AMP on it and have MediaWiki running. Now I would like to setup SendmailToWiki extension. The only problem is that I do not know how do I make sendmail to work inside the LAN her with the Exchange server? This is the extension: [URL]

The e-mail address that is used in the extension is dynamic(changes for every user, since each user sets its own pinkode). And the script sets the domain part off the email to the last part off the IP of the ubuntuserver. For example: wikipost+2.12345@62.85. I cant send an email to half of an IP, can I? What I need to configure or not?

View 2 Replies View Related

Server :: What Configurations For DNS And Sendmail To Send Mails From One Domain To Other

Mar 18, 2011

What configurations will be required in DNS and sendmail server to send mails from one domain abc.com to other domain xyz.com.

View 1 Replies View Related

CentOS 5 Server :: Sendmail Don't Deliver To Locl Domain

Jul 23, 2009

I used Zimbra since a week ago to my centos 5 server, but now I'm using google apps. Today I tried to uninstall Zimbra and restore sendmail, but when I try to send a mail to local domain, it responds with an unknown user message and don't deliver the message to google mail.What I forgot in reconfiguration?

View 13 Replies View Related

CentOS 5 Server :: Configuring Email Aliases Per Domain?

May 13, 2009

I've got a server with several different virtual hosts on them, e.g. host1.com, host2.com, host3.com.

Is there a way I can set up an email alias just for an individual domain?

e.g. I want to set up help@host2.com, but not to have help@host1.com or help@host3.com.

I can't see how to do this in the /etc/aliases file...

View 2 Replies View Related

General :: Configuring SSL To Recognize Two Different IP Addresses

Oct 6, 2009

I have a webserver setup for myself with two domains. Both need ssl. I am running fedora 10 Apache/mod_ssl. I am trying to configure ssl.conf to recognize two different IP addresses, one for each domain.

Each has their own Vhost containers (NamedVirtualHHost)
<VirtualHost 192.xxx xxx x01 :443>
blabla
blabla
</VirtualHost>


<VirtualHost 192.xxx xxx x02 :443>
blabla
blabla
</VirtualHost>

I call https... first site works ok. I call https....second site it calls the first ssl cert (bad cert). Apache does not separate the two. My question, how do I get apache to deliver https..domain_one and domain_two correctly?

View 3 Replies View Related

Networking :: Handle Parts Of Public Domain Behind A Router?

Jun 3, 2010

I have a registered domain (let say domain.com ) with a web server (www.domain.com) hosted somewhere online.

I handle the mail part in my private network, by giving the MX my WAN IP (111.222.333.444 )and NAT routing mail stuff to the mail server (10.7.167.3) It works fine.

I will have to handle sub-domains (foo.domain.com & bar.domain.com) and also another domain (anotherdomain.com) in my network. In that case NAT routing isn't going to work ...

What do I need to set this up ? I guess I need a DNS server in my network but I'm not sure if there won't be a conflict somewhere with the Registrar's DNS and mine. Or do I have to take the whole DNS of my domain on this new server and make it half public/half private in some way ?

View 6 Replies View Related

Ubuntu Servers :: Tracking Domain Names And Addresses?

Aug 5, 2010

I'm using Ubuntu 10.4 box with Apache2 web server. I have a site with several Domain Names. How do I set up tracking?

View 1 Replies View Related

Fedora Networking :: Configuring IPv6 (network) Tunnelling - Getting Only Internal Addresses From DHCP

Aug 25, 2011

I am trying to configure my IPv6 network. My computers are behind a Fedora gateway IPv6-configured, which is working great. But for computers inside my network, it seems I am getting only internal addresses from DHCP. Here is my ifconfig for an internal computer:

Quote: em1 Link encap:Ethernet HWaddr F4:6D:04:34:92:2B inet addr:192.168.0.184 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::f66d:4ff:fe34:922b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:744250 errors:0 dropped:0 overruns:0 frame:0 TX packets:548987 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:841392242 (802.4 MiB) TX ytes:60384500 (57.5 MiB) Interrupt:18 Memory:f7100000-f7120000

he-ipv6 Link encap:IPv6-in-IPv4 inet6 addr: 2001:470:1c:611::3/64 Scope:Global inet6 addr: fe80::cea7:b778/128 Scope:Link UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:61 dropped:0 overruns:0 carrier:61 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[Code]....

View 2 Replies View Related

Networking :: SQUID - Exclude IP Addresses Instaed Of Domain Names?

Aug 16, 2010

Howto exclude IP address from caching in /etc/squid/squid.conf of squid 2?

For a domain, I can use:
Code:
acl excl dstdomain domain.net
always_direct allow excl
no_cache deny excl

but howto exclude IP addresses instaed of domain names?

View 2 Replies View Related

Fedora :: Configuring Sendmail MSA On Submission Port?

Feb 12, 2010

Does anyone know the black art of configuring sendmail for proper authentication and SSL on submission port (587) ?

View 5 Replies View Related

General :: Configuring Auto Responder In Squirrelmail / Sendmail

Feb 17, 2010

How to configure auto responder / out of office reply in sendmail / squirrelmail. I tried to get plugin local_autoresponder_forward from squirrelmail.org , but it is given in the readme file that it only works when sendmail having enabled this feature. I am using virtualmin for sendmail and I have this feature enable by default in virtualmin and usermin but my users use squirrelmail for mail access?

View 8 Replies View Related

Software :: Sendmail Domain Could Not Be Qualified

Jan 11, 2011

We recently had an issue with our sendmail where the mail that was being sent to certain corporate users was being bounced as the domain name couldn't be qualified. After much sole searching we provided the server with the fully qualified domain name and all was well. When a user sends a mail to an internal user in our organisation it bounces with a user unknown. It would appear that it is looking for the user on this server now rather than on the exchange server where they reside. We have a smart relay address in the config file to ensure the external mail went out correctly.

As an example we have the entry in the host file as:
1.1.5.72 serverx2 foofighters.com serverx2.ad.foofighters.com

The Smart Relay as:
# "Smart" relay host (may be null)
DSxchange1.ad.foofighters.com

On exchange we have aliases as userx@foo.com where the users email address is ser.x@foofighters.com. Now when the mail is sent to userx@foo.com the server sends ok. If you send to user.x@foofighters.com we get a user unknown.

View 3 Replies View Related

Red Hat :: Sendmail 8.13 - Can't Send Mail To Own Domain

Jan 13, 2010

i have running sendmail 8.13 on my red hat enterprise linux 5.1, but i have a problem. I can send a mail from my line command terminal to hotmail, gmail, yahoo and any of these, but i can't send mail to my own domain ([URL]), when i wrote a mail i get a reply from MAILER-DAEMON@localhost.localdomain that says that the message had pemanent fatal errors and shows as user unknown the mail was suposed to recive the message.

For example, if i send one mail from user1@mydomain.com to user2@mydomain.com the user2 does not recive any mail, but that doens not happens if user1 sends a mail to any hotmail address or gmail or any other. Besides i also can't recive on my server any mail to user1@mydomain.com or user2@mydomain.com (for example), so please tell me what do i do to get the mail.

View 2 Replies View Related

Software :: Configuring Sendmail To Relay Messages To An Email Gateway?

Jun 15, 2011

We have a sendmail server located in a DMZ that has normally been able to send SMTP traffic to whatever destination is listed in the address of any given e-mail message. A recent change in network configuration has introduced an e-mail gateway that all servers need to send smtp traffic to in order for the messages to go out to the Internet.

View 1 Replies View Related

General :: CentOS 5.4 - Sendmail And Host Domain

Jul 7, 2010

I'm running CentOS 5.4 with sendmail. My computer hostname is bob.domain.com. Whenever I would nc -v 127.0.0.1 25 into sendmail I would get bob.domain.com on the banner. Whenever I send out email the emails would be user@bob.domain.com. I wanted the email to show up as user@domain.com. So in the etc/mail/sendmail.cf file I changed the line

Code:
Dj$w.hostname.com
to this

Code:
Djhostname.com
Now when I enter sendmail I see domain.com in the banner so I know the change took place. However, when I send email using

Code:
mail -s "test" xxx@xxx.com
then email still goes out as user@bob.domain.com. What other changes do I need to make?

View 5 Replies View Related

Ubuntu :: Networking / Setup A Domain And Directory Server Similar In Function To Windows Server W/ AD And Join Other Machines To The Domain

Aug 21, 2009

I've got a home server running Ubuntu Server 9.04 and several machines running Ubuntu Desktop (9.04 and 8.04) and Windows (XP, Vista and 7). Now what I want to do is to create a domain and directory server similar in function to Windows Server w/ AD and join my other machines to the domain, but am not sure where to start. I already have file shares with Samba but now I want to setup a domain.

View 3 Replies View Related

Server :: Sendmail M4 Configuration Base Directory /usr/share/sendmail-cf Was Not Found

Nov 1, 2010

I am using webmin for my daily tasks. I have fedora 13, whenever I click on ''Sendmail M4 Configuration'' or Outgoing Addresses (generics)'' I get the following error message

Quote:

The Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found on your system, or is not the correct directory. Maybe it has not been installed (common for packaged installs of Sendmail), or the module config is incorrect. I read documentation at sendmail.org, it seems that structure of directories for send mail has been changed in version sendmail-8.1.4 shipped with FC13. In webmin config module we have

Quote:

Sendmail M4 base directory = /usr/share/sendmail-cf

which is not there. I did a locate / sendmail-cf on the command line, it finds nothing

View 17 Replies View Related







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