|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
send files to email
Hello,
At work, we ve firewall : openbsd 4.3 with PF. By default, MTA is Sendmail. I want for example use that : mail wesleym@wanadoo.fr < /etc/pf.conf Actually, it doesnt work. How can i send mail to external domains ? (using root account) thank's |
|
|||
when im loocking to my maillog file :
Aug 6 15:40:03 bsdgate sendmail[462]: m76Be2dN000462: from=wesley, size=2823, class=0, nrcpts=1, msgid=<200808061140.m76Be2d N000462@bsdgate.firewall.lan>, relay=root@localhost Aug 6 15:40:03 bsdgate sendmail[462]: m76Be2dN000462: to=wesleym@aise-informatique.com, ctladdr=wesley (1000/1000), delay=00 :00:01, xdelay=00:00:00, mailer=relay, pri=32823, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] can you help me please |
|
|||
Giving FreeBSD advice is not helpful DutchDaemon..
1) Sendmail is enabled by default on OpenBSD. 2) OpenBSD doesn't use System V style rc.d scripts, it uses BSD style rc.conf instead. Again, OpenBSD != FreeBSD.. please take that into consideration before you post, such instructions only serve to confuse new users. In this case, I believe the OP may have incorrectly configured PF.. please post your pf.conf file here in [code][/code] blocks. |
|
|||
It looks like you don't really understand sendmail ..
That's OK .. I don't either.. I would suggest installing the Postfix package.. It tells you what to do after installation.. If you only want to "send out" then you won't have to configure anything.. just install it.. Caveat: Depending on your type of connection your ISP may block port 25 which means that you would have to configure a relayhost. Example: In Oklahoma we used to have a Cox residential account that blocks incoming and outgoing smtp (port 25) I needed to send system messages from my OpenBSD firewall to my work address. Code:
# vi /etc/postfix/main.cf relayhost = [smtp.central.cox.net] #postfix reload hth rk
__________________
All posts sent on ReCycled Electrons... Last edited by roundkat; 7th August 2008 at 02:49 AM. |
|
|||
thank's Jggimi, it works ! i ve only modify rc.conf.
|
|
||||
I'm not sure what you did to make things work for you, but I'm glad you got things working.
NOTE: The rc.conf(5) man page describes best practice: Quote:
|
|
|||
Hi milo,
what do you do? Can you please post the changes do you make? Thanks |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Email and SASL | JMJ_coder | General software and network | 3 | 8th February 2009 05:09 AM |
To Administrators: I am not getting any email notifications | php111 | Feedback and Suggestions | 4 | 28th October 2008 01:17 PM |
Mutt not sending email | cssgalactic | FreeBSD General | 4 | 3rd July 2008 09:54 PM |
Send email to all local users | cajunman4life | FreeBSD General | 8 | 15th June 2008 10:52 AM |
Using mail(1) and send-pr(1) from dial-up and private address machines. | robbak | Guides | 0 | 1st May 2008 07:02 AM |