| |
| |
| |
|
Comments:
<0> hey guys I have a relay host that accepts messages to domain.com <0> once it rrecieves the msg I use procmail to keep a copy in hte Maildir of the user's home and foward a copy to an exchange server where then users can view the messagea <0> procmail seems to do the job pretty well on all incoming msgs but It won't do anything on the emails being relayed <0> so uses uses exchange to send email out , the email is forwarded to the relayhost and the relayhost is actully the one that send the email out to the net <1> I've just installed centos and have problem with sendmail. My hostname is domain.com, but there already is a mail server for domain.com running on another machine, so I don't want even local delivery of mail, I want all mail to be handled by the real mail server for domain.com <0> stop sendmail on the new box <1> cytrak: well in that case what will happen if a cron job sends a mail to root@domain.com? <0> well you do have an MX record for the domain.com right ?\ <0> test it <2> cytrak: use a milter. <0> stop sendmail so that neither 0.0.0.0:25 doesn't show and then use mailx or sendmail to send a message <2> naknomik: remove the domain name from local-host-names. <0> that too <0> twkm: are you talking about my question ? use a milter
<1> well, yes, I have an MX record for domain.com pointing to mail.domain.com (which is running postfix). <1> twkm: what is local-host-names? <0> its a file in your /etc/mail <0> directory <0> twkm: any milter ideas ? is it possible to have more then one milter ? I already have one for spam***in-milter and I also had mimedefang I think <2> you can have as many milters as you like. <3> where does my mail go to? <2> where you address it, modulo errors. <3> well, I mean, what dir does it go to? <2> interesting question. <2> unfortunately i don't have an answer, as it depends on many things. <3> do you know what the default is on ubuntu? <2> nothing. <2> err, i know nothing about it. <3> /var/mail or /var/spool/mail? <2> they sound possible. <3> it says that /var/spool/mail is a symlink to ../mail <3> how do I access that dir? <2> access? <4> ok... if I were to mail ryan@24.226.20.171, and the box with the server was behind a linksys router, what port would I open on the router for the mail to get threw from my gmail account to my mailbox on localhost/here <2> that is not a valid email address. <2> what does gmail have to do with it? <2> but, anyway, i think you mean port 25. <4> ah, kk, gmail has nothing to do with it <4> I'm just messing around, trying to set up a mailserver threw trial and error... I do have O'Reilly's sendmail book... just kinda big.... <4> so... if I did open port 25, and sendmail was properly configured, I still wouldnt be able to mail ryan@24.226.20.171 ? <5> u should use domain name <5> or MX name <4> I know... but would it work? <5> i mean zone with MX <5> name@ip won't work <2> name@[ip] would work. <4> hmmm.... I'm still waiting for my domain/subdomain from eu.org to be run threw... <2> but, a domain name is easy to get, for free, especially if you are only testing, e.g., from dyndns.org. <4> ok... twkm, _Pavlik_, make up your mind <4> kk <4> so would ip work or not work? <2> ryanakca: look harder at what i wrote. the [ and ] are not symbolic, they are literal and required. <4> kk <4> twkm: dyndns, static dns, what do I put as mail exchanger? <2> nothing. <4> kk <4> ty <6> I barely understand anyof this.... I want the 'mail' command to connect to my local sendmail SMTP server when I type mail bmenasha@localdesktop.com so I added localdesktop.com to /etc/mail/local-host-names but when I run the mail command it still appears to be connecting to my domain's mta. <6> here is the outout of mail with the -v argument. <6> > echo this is a mail to me! | mail -v menasha@localdesktop.com <6> Warning: .cf file is out of date: sendmail 8.11.6 supports version 9, .cf file is version 7 <6> bmenasha@localdesktop.com... Connecting to mta.mycompany.com. via nullclient... <6> 220 mta.mycompany.com ESMTP Sendmail 8.12.8/8.12.10; Sun, 5 Mar 2006 12:04:29 -0500 <6> >>> EHLO mycompany.com <6> 250-mta.mycompany.com Hello ita4fw1.mycompany.com [66.666.66.66], pleased to meet you <2> you have a nullclient configuration, which specifies always using mta.mycompany.com as the mta. <6> twkm, this is specified in my /etc/sendmail.cf ? can I modify this somehow? <6> twkm, or is there another program besides 'mail' on my machine that I sould be using to send mail to my local smtp server? <6> twkm, my goal is to test out some mail processing code I wrote, and I would like to use my own mta for this.
<6> I tried telneting to localhost 25 and sending the email via a telnet session, it still routed to mta.mycompany.com :( <2> you would need to change your sendmail.cf, which most people do via an mc file, e.g., sendmail.mc, all of which is usually in /etc/mail/. <7> Zerberus:hi <7> I have a strange problem with send mail Mar 5 18:52:00 backups sm-mta[20997]: k25I6hZf020871: to=<mlindley@itissupport. com>, delay=00:45:17, xdelay=00:00:00, mailer=relay, pri=211840, relay=mail1.iti ssupport.com., dsn=4.0.0, stat=Deferred: Name server: mail1.itissupport.com.: ho st name lookup failure <7> I can ping the hostname from the sendmail server which is seems strange :( ? <7> I am a bit confused by the Name server: mail1.itissupport.com.: host name lookup failure as the dns server is not mail1.itissupport.com ? <7> Can anyone tell me why sendmail is adding a dot to the end of the relay mailserver address ? <7> relay=mail1.itissupport.com. <8> hello <8> how to find out which m4 is needed to use to create sendmail.cf? <9> just the m4 your OS ships with <8> i only want to test it: <8> how to get make sendmail: open relay <9> you don't want that <8> i really only want to test it. <7> Zerberus:hi <9> porkpie1: hi <8> tomorrow if that runs, i will try to make it secure <8> or is it easier to run it with an authorisation? <9> no, you want to run it secure all the time <9> what is your problem now? <8> okok <7> Zerberus:do you see my post ....I can't workout why sendmail is adding a . to the end of the relay servers address relay=mail1.itissupport.com., dsn=4.0.0, stat=Deferred: Name server: mail1.itissupport.com.: host name lookup failure <8> so can you tell me please how to get it running with a simple auth procedure? <9> porkpie1: that is normal, nothing to worry about <9> rabby: sure <9> http://www.sendmail.org/~ca/email/auth.html#AUTH <7> Zerberus:OK ...strange it can't lookup the address ...I can ping the address from sendmail server <8> is this the right thing if my users are only the ones that have an linux user account on the system? <7> Zerberus:are there any tests I can run to find out what the issues is :( ? <8> because pop3 goes at mine with the linux users' auth and not with any other <9> rabby: yes <9> porkpie1: echo '/map host fcomfrench.com.' | sendmail -bt -d8.8 <9> exchange "fcomfrench.com." with your mail1.itissupport.com. <8> after doing all that is written in that docu, can i access the smtp server from outside <9> echo '/mx itissupport.com' | /usr/lib/sendmail -bt -d8.8 <9> rabby: yes <8> from a clients ip that does not need to correspond to any domain/isp/network? <9> rabby: smtp auth works like pop/imap auth <7> http://pastebin.com/585645 <7> Zerberus:It looks ok ...I think ? <9> did DNS from your sendmail host ever work? <9> or just problem with specific hosts? <9> porkpie1: define(`confBIND_OPTS',`WorkAroundBrokenAAAA')dnl and see if that helps <7> Zerberus:in the .mc <9> yes <7> hmm! same problem <7> Zerberus:the server was working OK yesterday ....I had to rebuild as the hard drive died ....I carried out the same process you told me to do ....but this time it's not working ?? <7> Zerberus:?? confusing <9> no, too less information <7> Zerberus:what else can I give you information wise ?? <9> porkpie1: you sendmail.mc? <9> your <7> OK .....I will pastebin <7> http://pastebin.com/585706 <7> ah that was the cf sorry <9> :) <7> http://pastebin.com/585710 <7> that one should be OK <7> Zerberus:any ideas ? :) <9> porkpie1: nothing suspicious in there <7> hmm! strange <7> maybe I will upgrade sendmail <10> how can i decide between postfix, exim, sendmail and qmail? <9> rend: use what you know best
Return to
#sendmail or Go to some related
logs:
#kde #css Subroutine redefined at perl #gaim #linux #debian #lisp debian chkrootkit tut #kernel disable return key AND java
|
|